0s autopkgtest [04:14:47]: starting date and time: 2026-02-05 04:14:47+0000 0s autopkgtest [04:14:47]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [04:14:47]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.imjp0pro/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-ppc64el-39.secgroup --name adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 31s Creating nova instance adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134 from image adt/ubuntu-resolute-ppc64el-server-20260205.img (UUID f866c950-0b62-4023-bac6-0f13279e15ed)... 42s nova [E] nova boot failed (attempt #0): 42s nova [E] DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 42s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 42s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 42s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 42s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 42s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 42s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 42s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 42s DEBUG (session:517) REQ: curl -g -i -X GET https://keystone.ps7.canonical.com:5000/v3 -H "Accept: application/json" -H "User-Agent: nova keystoneauth1/4.0.0 python-requests/2.22.0 CPython/3.8.10" 42s DEBUG (connectionpool:939) Starting new HTTPS connection (1): keystone.ps7.canonical.com:5000 42s DEBUG (connectionpool:429) https://keystone.ps7.canonical.com:5000 "GET /v3 HTTP/1.1" 200 267 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 267 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:22 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) Vary: X-Auth-Token x-openstack-request-id: req-e49c082a-cf71-4b0d-9814-0e8f282677f3 42s DEBUG (session:580) RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "https://keystone.ps7.canonical.com:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}} 42s DEBUG (session:946) GET call to https://keystone.ps7.canonical.com:5000/v3 used request id req-e49c082a-cf71-4b0d-9814-0e8f282677f3 42s DEBUG (base:182) Making authentication request to https://keystone.ps7.canonical.com:5000/v3/auth/tokens 42s DEBUG (connectionpool:429) https://keystone.ps7.canonical.com:5000 "POST /v3/auth/tokens HTTP/1.1" 201 12966 42s DEBUG (base:187) {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "20f4f30c2cfd4bfe806cd0db10c0e446", "name": "prod-autopkgtest-workers-ppc64el", "password_expires_at": null}, "audit_ids": ["S_FvvGh2R1S8LFNUA9D1xg"], "expires_at": "2026-02-06T04:15:22.000000Z", "issued_at": "2026-02-05T04:15:22.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "9bf77f46fd6c4d3da81ee79a717acf43", "name": "prod-autopkgtest-workers-ppc64el_project"}, "is_domain": false, "roles": [{"id": "c4de4cd4a6e842c48c193225243b4507", "name": "reader"}, {"id": "9531825e299647e9b8713fcf36566f08", "name": "member"}, {"id": "a31fb543f37543d3b12c7fcb6e29636f", "name": "load-balancer_member"}], "is_admin_project": false, "catalog": [{"endpoints": [{"id": "09e03191c89d4421aebaa8dcff0e22e3", "interface": "admin", "region_id": "prodstack7", "url": "https://heat-admin.ps7.canonical.com:8004/v1/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "0b44af32db1b408da5b67a834350711b", "interface": "internal", "region_id": "prodstack7", "url": "https://heat-internal.ps7.canonical.com:8004/v1/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "325f3c044aa54591be49e39f7260483d", "interface": "public", "region_id": "prodstack7", "url": "https://heat.ps7.canonical.com:8004/v1/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}], "id": "07902f28d63c4792bef57723f11a597e", "type": "orchestration", "name": "heat"}, {"endpoints": [{"id": "296a5126b56949f8abc8663ba48d7c69", "interface": "admin", "region_id": "prodstack7", "url": "https://nova-admin.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}, {"id": "4ed46fd286814be9ad5f53c713db2b21", "interface": "public", "region_id": "prodstack7", "url": "https://nova.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}, {"id": "f920fb8274c74c72b50e57ac95f88f51", "interface": "internal", "region_id": "prodstack7", "url": "https://nova-internal.ps7.canonical.com:8774/v2.1", "region": "prodstack7"}], "id": "0f4ee03d0c134dceb7ed6b2fa51eb189", "type": "compute", "name": "nova"}, {"endpoints": [{"id": "074ea936d15d47e8ba1b8f1347fdaeec", "interface": "admin", "region_id": "prodstack7", "url": "https://neutron-admin.ps7.canonical.com:9696", "region": "prodstack7"}, {"id": "4d5667208af943eab425bb1952f67d2f", "interface": "public", "region_id": "prodstack7", "url": "https://neutron.ps7.canonical.com:9696", "region": "prodstack7"}, {"id": "ae71a7dd75fc495fa3dd207ac977346d", "interface": "internal", "region_id": "prodstack7", "url": "https://neutron-internal.ps7.canonical.com:9696", "region": "prodstack7"}], "id": "1fde991012bf4a91a97b5b02cd662e5d", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "5f3171f69df346c9a40ff13f8a9f3feb", "interface": "public", "region_id": "prodstack7", "url": "https://heat.ps7.canonical.com:8000/v1", "region": "prodstack7"}, {"id": "951c2c04417d456eb29a4cbd2675f1bc", "interface": "internal", "region_id": "prodstack7", "url": "https://heat-internal.ps7.canonical.com:8000/v1", "region": "prodstack7"}, {"id": "e4062e144ad243cbb53c8ce87aefee44", "interface": "admin", "region_id": "prodstack7", "url": "https://heat-admin.ps7.canonical.com:8000/v1", "region": "prodstack7"}], "id": "2c59c0123c304ef3824d75e9779ac5a3", "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"id": "4a95fbf112804721b96a3578858faf45", "interface": "internal", "region_id": "prodstack7", "url": "https://octavia-internal.ps7.canonical.com:9876", "region": "prodstack7"}, {"id": "56bed7c3efd54a57bae11cc93844edc5", "interface": "public", "region_id": "prodstack7", "url": "https://octavia.ps7.canonical.com:9876", "region": "prodstack7"}, {"id": "e9c2ec6bc0e94e1e8ca6b15aa24b9294", "interface": "admin", "region_id": "prodstack7", "url": "https://octavia-admin.ps7.canonical.com:9876", "region": "prodstack7"}], "id": "4e42217a7f46428b87e7458a8a73942c", "type": "load-balancer", "name": "octavia"}, {"endpoints": [{"id": "29929a56ac7944d8867150f9d9a51ffe", "interface": "public", "region_id": "prodstack7", "url": "https://gnocchi.ps7.canonical.com:8041", "region": "prodstack7"}, {"id": "d1146fdec43e4c339f3c0766fda1923d", "interface": "internal", "region_id": "prodstack7", "url": "https://gnocchi-internal.ps7.canonical.com:8041", "region": "prodstack7"}, {"id": "ff5d256a28064e13b52758d6206687eb", "interface": "admin", "region_id": "prodstack7", "url": "https://gnocchi-admin.ps7.canonical.com:8041", "region": "prodstack7"}], "id": "50872dac84974216b104c7eef043dfe6", "type": "metric", "name": "gnocchi"}, {"endpoints": [{"id": "3901a2889b584fe5baf1325da2d5571c", "interface": "internal", "region_id": "prodstack7", "url": "https://aodh-internal.ps7.canonical.com:8042", "region": "prodstack7"}, {"id": "94f9e723537a4d0ab35ab53fe1af6f01", "interface": "public", "region_id": "prodstack7", "url": "https://aodh.ps7.canonical.com:8042", "region": "prodstack7"}, {"id": "f3fc8781a98149c680bd7f34c6893410", "interface": "admin", "region_id": "prodstack7", "url": "https://aodh-admin.ps7.canonical.com:8042", "region": "prodstack7"}], "id": "6f7af5495c2447c9bf258f72605a99b1", "type": "alarming", "name": "aodh"}, {"endpoints": [{"id": "0592d4bf15d54ba8aac00dfc34292295", "interface": "admin", "region_id": "prodstack7", "url": "https://keystone-admin.ps7.canonical.com:35357/v3", "region": "prodstack7"}, {"id": "1f5df236ded54026af4f5e947a599b2f", "interface": "internal", "region_id": "prodstack7", "url": "https://keystone-internal.ps7.canonical.com:5000/v3", "region": "prodstack7"}, {"id": "cd17fef7e3d246b3974b2ffe55b7889c", "interface": "public", "region_id": "prodstack7", "url": "https://keystone.ps7.canonical.com:5000/v3", "region": "prodstack7"}], "id": "7ad024307b634ea989f1e03d73d7737b", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "001dac935b6c44b1ad62c90175538578", "interface": "admin", "region_id": "prodstack7", "url": "https://cinder-admin.ps7.canonical.com:8776/v3/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "90abac2983a34488bb6ada4e5004bb99", "interface": "public", "region_id": "prodstack7", "url": "https://cinder.ps7.canonical.com:8776/v3/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "e49add7152684a8e9e1e3ea9502b5dc6", "interface": "internal", "region_id": "prodstack7", "url": "https://cinder-internal.ps7.canonical.com:8776/v3/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}], "id": "7bea8b97c0304a62afd8325515928cc0", "type": "volumev3", "name": "cinderv3"}, {"endpoints": [{"id": "2450babeee5e4fe49947cbe7bcc0f3c3", "interface": "public", "region_id": "prodstack7", "url": "https://designate.ps7.canonical.com:9001", "region": "prodstack7"}, {"id": "c2e77ece29cd4dc7bf518bb51c619cce", "interface": "internal", "region_id": "prodstack7", "url": "https://designate-internal.ps7.canonical.com:9001", "region": "prodstack7"}, {"id": "fc292615aa2d43ff943da365870944ce", "interface": "admin", "region_id": "prodstack7", "url": "https://designate-admin.ps7.canonical.com:9001", "region": "prodstack7"}], "id": "8d13654c658644c4a375ce8428638f3d", "type": "dns", "name": "designate"}, {"endpoints": [{"id": "604f1f7088c54ec4a558d1747b0e7396", "interface": "public", "region_id": "prodstack7", "url": "https://barbican.ps7.canonical.com:9311", "region": "prodstack7"}, {"id": "81268c6bd3524a4d85af3d6faa426863", "interface": "admin", "region_id": "prodstack7", "url": "https://barbican-admin.ps7.canonical.com:9312", "region": "prodstack7"}, {"id": "becc73f676f34e66ab1daf0fbcb42366", "interface": "internal", "region_id": "prodstack7", "url": "https://barbican-internal.ps7.canonical.com:9311", "region": "prodstack7"}], "id": "8df4ed7c02d44fe28ec72b1e19e3f66f", "type": "key-manager", "name": "barbican"}, {"endpoints": [{"id": "38557e1243014f1abaa578a61bb0a387", "interface": "public", "region_id": "prodstack7", "url": "https://manila.ps7.canonical.com:8786/v1/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "b12d5a4329f94a1fa6dbd2cd38ebcd52", "interface": "internal", "region_id": "prodstack7", "url": "https://manila-internal.ps7.canonical.com:8786/v1/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "bc081c0d5d954446b7ee77886f5d68a3", "interface": "admin", "region_id": "prodstack7", "url": "https://manila-admin.ps7.canonical.com:8786/v1/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}], "id": "8e7967c2620d49448787e035e8f21af0", "type": "share", "name": "manila"}, {"endpoints": [{"id": "03802d072c514ae484a2d26be0c906af", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/", "region": "prodstack7"}, {"id": "c07a315e261f430d94542a872596d654", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/", "region": "prodstack7"}, {"id": "d62fcd20c1e34d64930fbec97503a40a", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/", "region": "prodstack7"}], "id": "9569f1b0b4714254a3d116760dc3968d", "type": "s3", "name": "s3"}, {"endpoints": [{"id": "0e64627804e741e5948b4d35e1914624", "interface": "internal", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "12d47bbd1cc64dbf8d4e442b821c64f2", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/swift/simplestreams/data", "region": "prodstack7"}, {"id": "35aba6c3a1fc4041b30963e8b6c7b929", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/swift/v1/AUTH_588a6b5285ea4ed38ae122d264c01490/simplestreams/data", "region": "prodstack7"}, {"id": "35bc5168fcc2414a9d89313cdef8bca9", "interface": "admin", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "5f7980b3f8e746e6bbd66c9cef81714e", "interface": "public", "region_id": "RegionOne", "url": "http://10.150.13.75", "region": "RegionOne"}, {"id": "739ab5131dff4cdbb3151f6de36b36f6", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/swift/v1/AUTH_588a6b5285ea4ed38ae122d264c01490/simplestreams/data", "region": "prodstack7"}], "id": "b28a039721b147af8e77d77242d4297f", "type": "product-streams", "name": "image-stream"}, {"endpoints": [{"id": "9321fba4588641dbb1c9f89508f1bf23", "interface": "internal", "region_id": "prodstack7", "url": "https://placement-internal.ps7.canonical.com:8778", "region": "prodstack7"}, {"id": "9a75eebf33e7409d9b69dc7e650f756c", "interface": "admin", "region_id": "prodstack7", "url": "https://placement-admin.ps7.canonical.com:8778", "region": "prodstack7"}, {"id": "c03942ddacb94fe39c1529aa74bd31c1", "interface": "public", "region_id": "prodstack7", "url": "https://placement.ps7.canonical.com:8778", "region": "prodstack7"}], "id": "bc5c019477934e89bab2a097e8df84b6", "type": "placement", "name": "placement"}, {"endpoints": [{"id": "b8152f5e649d4603ac092897639d38c9", "interface": "admin", "region_id": "prodstack7", "url": "https://radosgw-admin.ps7.canonical.com:443/swift", "region": "prodstack7"}, {"id": "baa313d85b904c308b7a5c98505fc32c", "interface": "internal", "region_id": "prodstack7", "url": "https://radosgw-internal.ps7.canonical.com:443/swift/v1/AUTH_9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "c17c3db416224561b5e045562bbe76bf", "interface": "public", "region_id": "prodstack7", "url": "https://radosgw.ps7.canonical.com:443/swift/v1/AUTH_9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}], "id": "c6dd2bcf96bf44c2a99e39d1302563f1", "type": "object-store", "name": "swift"}, {"endpoints": [{"id": "526da263451648898c9187c65f441a1c", "interface": "public", "region_id": "prodstack7", "url": "https://glance.ps7.canonical.com:9292", "region": "prodstack7"}, {"id": "61b55755ca9e4e2ab04a144f92cb6e97", "interface": "admin", "region_id": "prodstack7", "url": "https://glance-admin.ps7.canonical.com:9292", "region": "prodstack7"}, {"id": "9080969b2cde4926b647f63b9591233c", "interface": "internal", "region_id": "prodstack7", "url": "https://glance-internal.ps7.canonical.com:9292", "region": "prodstack7"}], "id": "dd3a22e287464998be0514a67dafb7e4", "type": "image", "name": "glance"}, {"endpoints": [{"id": "2f4dcba2a4ce46b2a2e3cf103fd929f4", "interface": "admin", "region_id": "prodstack7", "url": "https://manila-admin.ps7.canonical.com:8786/v2/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "789faa303fb54473b9449fa2f52866b3", "interface": "internal", "region_id": "prodstack7", "url": "https://manila-internal.ps7.canonical.com:8786/v2/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}, {"id": "fa7fa08da5e147df8dbc9528f3d7135b", "interface": "public", "region_id": "prodstack7", "url": "https://manila.ps7.canonical.com:8786/v2/9bf77f46fd6c4d3da81ee79a717acf43", "region": "prodstack7"}], "id": "f6880aea736446b8a4232e0cf3528a12", "type": "sharev2", "name": "manilav2"}]}} 42s REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" 42s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1 -H "Accept: application/json" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" 42s DEBUG (connectionpool:939) Starting new HTTPS connection (1): nova.ps7.canonical.com:8774 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1 HTTP/1.1" 302 0 42s RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 05 Feb 2026 04:15:22 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps7.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-53eea1e6-6d17-4efd-a986-ef92d01e830c x-openstack-request-id: req-53eea1e6-6d17-4efd-a986-ef92d01e830c 42s DEBUG (session:548) RESP: [302] Connection: Keep-Alive Content-Length: 0 Content-Type: text/plain; charset=utf8 Date: Thu, 05 Feb 2026 04:15:22 GMT Keep-Alive: timeout=75, max=1000 Location: https://nova.ps7.canonical.com:8774/v2.1/ Server: Apache/2.4.52 (Ubuntu) x-compute-request-id: req-53eea1e6-6d17-4efd-a986-ef92d01e830c x-openstack-request-id: req-53eea1e6-6d17-4efd-a986-ef92d01e830c 42s RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 42s DEBUG (session:580) RESP BODY: Omitted, Content-Type is set to text/plain; charset=utf8. Only application/json responses have their bodies logged. 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/ HTTP/1.1" 200 397 42s RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:22 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-f9cd0255-e026-4273-8876-b9fd0606ad2f x-openstack-request-id: req-f9cd0255-e026-4273-8876-b9fd0606ad2f 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 397 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:22 GMT Keep-Alive: timeout=75, max=999 OpenStack-API-Version: compute 2.1 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.1 x-compute-request-id: req-f9cd0255-e026-4273-8876-b9fd0606ad2f x-openstack-request-id: req-f9cd0255-e026-4273-8876-b9fd0606ad2f 42s RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 42s DEBUG (session:580) RESP BODY: {"version": {"id": "v2.1", "status": "CURRENT", "version": "2.96", "min_version": "2.1", "updated": "2013-07-23T11:33:21Z", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/"}, {"rel": "describedby", "type": "text/html", "href": "http://docs.openstack.org/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}]}} 42s GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/ used request id req-f9cd0255-e026-4273-8876-b9fd0606ad2f 42s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/ used request id req-f9cd0255-e026-4273-8876-b9fd0606ad2f 42s DEBUG (extension:189) found extension EntryPoint.parse('v1password = swiftclient.authv1:PasswordLoader') 42s DEBUG (extension:189) found extension EntryPoint.parse('noauth = cinderclient.contrib.noauth:CinderNoAuthLoader') 42s DEBUG (extension:189) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken') 42s DEBUG (extension:189) found extension EntryPoint.parse('none = keystoneauth1.loading._plugins.noauth:NoAuth') 42s DEBUG (extension:189) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password') 42s DEBUG (extension:189) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token') 42s DEBUG (extension:189) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password') 42s DEBUG (extension:189) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3adfspassword = keystoneauth1.extras._saml2._loading:ADFSPassword') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3applicationcredential = keystoneauth1.loading._plugins.identity.v3:ApplicationCredential') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3multifactor = keystoneauth1.loading._plugins.identity.v3:MultiFactor') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth') 42s DEBUG (extension:189) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP') 42s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps7.canonical.com:9292/v2/images/f866c950-0b62-4023-bac6-0f13279e15ed -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" 42s DEBUG (connectionpool:939) Starting new HTTPS connection (1): glance.ps7.canonical.com:9292 42s DEBUG (connectionpool:429) https://glance.ps7.canonical.com:9292 "GET /v2/images/f866c950-0b62-4023-bac6-0f13279e15ed HTTP/1.1" 200 2267 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2267 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:23 GMT Keep-Alive: timeout=75, max=1000 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-07fbb79d-9bd8-416e-8b60-0f56384b8b5c 42s DEBUG (session:580) RESP BODY: {"architecture": "ppc64le", "base_image_ref": "1817ca74-e109-4221-8791-3fc9207e3533", "boot_roles": "reader,member,load-balancer_member", "content_id": "auto.sync", "hw_cdrom_bus": "scsi", "hw_disk_bus": "virtio", "hw_machine_type": "pseries", "hw_video_model": "vga", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "img_config_drive": "mandatory", "instance_uuid": "d73e4312-286f-4e92-8493-35c5aa0dfb61", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "26.04", "owner_id": "9bf77f46fd6c4d3da81ee79a717acf43", "owner_project_name": "prod-autopkgtest-workers-ppc64el_project", "owner_user_name": "prod-autopkgtest-workers-ppc64el", "product_name": "com.ubuntu.cloud.daily:server:26.04:ppc64el", "simplestreams_metadata": "{\"aliases\": \"26.04,r,resolute,devel\", \"arch\": \"ppc64el\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-resolute-daily-ppc64el-server-20260127\", \"release\": \"resolute\", \"release_codename\": \"Resolute Raccoon\", \"release_title\": \"2", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "20f4f30c2cfd4bfe806cd0db10c0e446", "version_name": "20260127", "name": "adt/ubuntu-resolute-ppc64el-server-20260205.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 2868772864, "virtual_size": 21474836480, "status": "active", "checksum": "ac14479a7c3c14ee8165b757f78af482", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "9bf77f46fd6c4d3da81ee79a717acf43", "os_hidden": false, "os_hash_algo": "sha256", "os_hash_value": "bdc150ee270634f05c5edcb7d583e879273d40b52821b4d1ffcf772fe3f5e6eb", "id": "f866c950-0b62-4023-bac6-0f13279e15ed", "created_at": "2026-02-05T01:14:46Z", "updated_at": "2026-02-05T01:16:04Z", "locations": [{"url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/f866c950-0b62-4023-bac6-0f13279e15ed/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/f866c950-0b62-4023-bac6-0f13279e15ed/snap", "tags": [], "self": "/v2/images/f866c950-0b62-4023-bac6-0f13279e15ed", "file": "/v2/images/f866c950-0b62-4023-bac6-0f13279e15ed/file", "schema": "/v2/schemas/image", "stores": "ceph"} 42s DEBUG (session:936) GET call to image for https://glance.ps7.canonical.com:9292/v2/images/f866c950-0b62-4023-bac6-0f13279e15ed used request id req-07fbb79d-9bd8-416e-8b60-0f56384b8b5c 42s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors/autopkgtest-cpu2-ram4-disk20-ppc64el -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors/autopkgtest-cpu2-ram4-disk20-ppc64el HTTP/1.1" 404 109 42s DEBUG (session:548) RESP: [404] Connection: Keep-Alive Content-Length: 109 Content-Type: application/json; charset=UTF-8 Date: Thu, 05 Feb 2026 04:15:23 GMT Keep-Alive: timeout=75, max=998 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-9306edb6-2357-4e34-a676-61eaa43d0721 x-openstack-request-id: req-9306edb6-2357-4e34-a676-61eaa43d0721 42s DEBUG (session:580) RESP BODY: {"itemNotFound": {"code": 404, "message": "Flavor autopkgtest-cpu2-ram4-disk20-ppc64el could not be found."}} 42s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors/autopkgtest-cpu2-ram4-disk20-ppc64el used request id req-9306edb6-2357-4e34-a676-61eaa43d0721 42s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors?is_public=None -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors?is_public=None HTTP/1.1" 200 2423 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2423 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:23 GMT Keep-Alive: timeout=75, max=997 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-f5d8622e-db68-4723-86d9-34a5e5b1caf2 x-openstack-request-id: req-f5d8622e-db68-4723-86d9-34a5e5b1caf2 42s DEBUG (session:580) RESP BODY: {"flavors": [{"id": "53d845ba-20b6-47b0-8d36-14129b383b2c", "name": "shared.large.ppc64el", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/53d845ba-20b6-47b0-8d36-14129b383b2c"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/53d845ba-20b6-47b0-8d36-14129b383b2c"}], "description": null}, {"id": "6d15d6b4-4956-4aab-940e-fc2f21abb355", "name": "shared.xlarge.ppc64el", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/6d15d6b4-4956-4aab-940e-fc2f21abb355"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/6d15d6b4-4956-4aab-940e-fc2f21abb355"}], "description": null}, {"id": "84d9214c-6238-49ad-bcd4-68651b0fff84", "name": "shared.medium.ppc64el", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/84d9214c-6238-49ad-bcd4-68651b0fff84"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/84d9214c-6238-49ad-bcd4-68651b0fff84"}], "description": null}, {"id": "af3a4807-1a67-45b0-a4ec-851f7f915480", "name": "autopkgtest-cpu4-ram16-disk100-ppc64el", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/af3a4807-1a67-45b0-a4ec-851f7f915480"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/af3a4807-1a67-45b0-a4ec-851f7f915480"}], "description": null}, {"id": "cdd26b7a-512f-4e40-a56b-a8628e74c273", "name": "autopkgtest-cpu2-ram4-disk20-ppc64el", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/cdd26b7a-512f-4e40-a56b-a8628e74c273"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/cdd26b7a-512f-4e40-a56b-a8628e74c273"}], "description": null}, {"id": "d2b33018-ef27-42d3-9878-e3b4816cec50", "name": "shared.xsmall.ppc64el", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/d2b33018-ef27-42d3-9878-e3b4816cec50"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/d2b33018-ef27-42d3-9878-e3b4816cec50"}], "description": null}, {"id": "e9e0185b-b47d-42ce-bd30-0892a3bf026a", "name": "shared.small.ppc64el", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/e9e0185b-b47d-42ce-bd30-0892a3bf026a"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/e9e0185b-b47d-42ce-bd30-0892a3bf026a"}], "description": null}]} 42s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors?is_public=None used request id req-f5d8622e-db68-4723-86d9-34a5e5b1caf2 42s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/flavors/cdd26b7a-512f-4e40-a56b-a8628e74c273 -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/flavors/cdd26b7a-512f-4e40-a56b-a8628e74c273 HTTP/1.1" 200 706 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 706 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:23 GMT Keep-Alive: timeout=75, max=996 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-005a4172-653c-43c0-857e-7f9fe2dacce3 x-openstack-request-id: req-005a4172-653c-43c0-857e-7f9fe2dacce3 42s DEBUG (session:580) RESP BODY: {"flavor": {"id": "cdd26b7a-512f-4e40-a56b-a8628e74c273", "name": "autopkgtest-cpu2-ram4-disk20-ppc64el", "ram": 4096, "disk": 20, "swap": 0, "OS-FLV-EXT-DATA:ephemeral": 0, "OS-FLV-DISABLED:disabled": false, "vcpus": 2, "os-flavor-access:is_public": false, "rxtx_factor": 1.0, "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/flavors/cdd26b7a-512f-4e40-a56b-a8628e74c273"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/flavors/cdd26b7a-512f-4e40-a56b-a8628e74c273"}], "description": null, "extra_specs": {"aggregate_instance_extra_specs:commit": "ppc64el", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}} 42s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/flavors/cdd26b7a-512f-4e40-a56b-a8628e74c273 used request id req-005a4172-653c-43c0-857e-7f9fe2dacce3 42s DEBUG (session:517) REQ: curl -g -i -X POST https://nova.ps7.canonical.com:8774/v2.1/servers -H "Accept: application/json" -H "Content-Type: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" -d '{"server": {"name": "adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134", "imageRef": "f866c950-0b62-4023-bac6-0f13279e15ed", "flavorRef": "cdd26b7a-512f-4e40-a56b-a8628e74c273", "user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-2", "min_count": 1, "max_count": 1, "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-ppc64el-39.secgroup"}], "networks": [{"uuid": "c4c76c34-f8c1-479e-a79a-8c9382a6ed25"}]}}' 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "POST /v2.1/servers HTTP/1.1" 202 478 42s DEBUG (session:548) RESP: [202] Connection: Keep-Alive Content-Length: 478 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:23 GMT Keep-Alive: timeout=75, max=995 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 location: https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c x-compute-request-id: req-3683ed05-8c8b-4dae-abb1-510d852a3f91 x-openstack-request-id: req-3683ed05-8c8b-4dae-abb1-510d852a3f91 42s DEBUG (session:580) RESP BODY: {"server": {"id": "13fce115-5ef7-4e8e-9f26-2f18e25c267c", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c"}], "OS-DCF:diskConfig": "MANUAL", "security_groups": [{"name": "autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-ppc64el-39.secgroup"}], "adminPass": "6rQ9eVngn59d"}} 42s DEBUG (session:936) POST call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers used request id req-3683ed05-8c8b-4dae-abb1-510d852a3f91 42s DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c HTTP/1.1" 200 2714 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2714 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:23 GMT Keep-Alive: timeout=75, max=994 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-a7a0b0e2-552d-4679-8f7e-268638c36940 x-openstack-request-id: req-a7a0b0e2-552d-4679-8f7e-268638c36940 42s DEBUG (session:580) RESP BODY: {"server": {"id": "13fce115-5ef7-4e8e-9f26-2f18e25c267c", "name": "adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134", "status": "BUILD", "tenant_id": "9bf77f46fd6c4d3da81ee79a717acf43", "user_id": "20f4f30c2cfd4bfe806cd0db10c0e446", "metadata": {}, "hostId": "", "image": {"id": "f866c950-0b62-4023-bac6-0f13279e15ed", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/f866c950-0b62-4023-bac6-0f13279e15ed"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-ppc64el", "extra_specs": {"aggregate_instance_extra_specs:commit": "ppc64el", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-02-05T04:15:24Z", "updated": "2026-02-05T04:15:23Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-2", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-8uwot4ei", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-ppc64el-glib2-0-20260205-041446-juju-7f2275-prod-p", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 42s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c used request id req-a7a0b0e2-552d-4679-8f7e-268638c36940 42s DEBUG (session:517) REQ: curl -g -i -X GET https://glance.ps7.canonical.com:9292/v2/images/f866c950-0b62-4023-bac6-0f13279e15ed -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" 42s DEBUG (connectionpool:429) https://glance.ps7.canonical.com:9292 "GET /v2/images/f866c950-0b62-4023-bac6-0f13279e15ed HTTP/1.1" 200 2267 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2267 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:24 GMT Keep-Alive: timeout=75, max=999 Server: Apache/2.4.52 (Ubuntu) X-Openstack-Request-Id: req-2bbde19b-59e4-4d8b-9804-abdf2c07394a 42s DEBUG (session:580) RESP BODY: {"architecture": "ppc64le", "base_image_ref": "1817ca74-e109-4221-8791-3fc9207e3533", "boot_roles": "reader,member,load-balancer_member", "content_id": "auto.sync", "hw_cdrom_bus": "scsi", "hw_disk_bus": "virtio", "hw_machine_type": "pseries", "hw_video_model": "vga", "hw_vif_model": "virtio", "image_location": "snapshot", "image_state": "available", "image_type": "snapshot", "img_config_drive": "mandatory", "instance_uuid": "d73e4312-286f-4e92-8493-35c5aa0dfb61", "item_name": "disk1.img", "os_distro": "ubuntu", "os_version": "26.04", "owner_id": "9bf77f46fd6c4d3da81ee79a717acf43", "owner_project_name": "prod-autopkgtest-workers-ppc64el_project", "owner_user_name": "prod-autopkgtest-workers-ppc64el", "product_name": "com.ubuntu.cloud.daily:server:26.04:ppc64el", "simplestreams_metadata": "{\"aliases\": \"26.04,r,resolute,devel\", \"arch\": \"ppc64el\", \"ftype\": \"disk1.img\", \"label\": \"daily\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-resolute-daily-ppc64el-server-20260127\", \"release\": \"resolute\", \"release_codename\": \"Resolute Raccoon\", \"release_title\": \"2", "source_content_id": "com.ubuntu.cloud:daily:download", "user_id": "20f4f30c2cfd4bfe806cd0db10c0e446", "version_name": "20260127", "name": "adt/ubuntu-resolute-ppc64el-server-20260205.img", "disk_format": "qcow2", "container_format": "bare", "visibility": "private", "size": 2868772864, "virtual_size": 21474836480, "status": "active", "checksum": "ac14479a7c3c14ee8165b757f78af482", "protected": false, "min_ram": 0, "min_disk": 20, "owner": "9bf77f46fd6c4d3da81ee79a717acf43", "os_hidden": false, "os_hash_algo": "sha256", "os_hash_value": "bdc150ee270634f05c5edcb7d583e879273d40b52821b4d1ffcf772fe3f5e6eb", "id": "f866c950-0b62-4023-bac6-0f13279e15ed", "created_at": "2026-02-05T01:14:46Z", "updated_at": "2026-02-05T01:16:04Z", "locations": [{"url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/f866c950-0b62-4023-bac6-0f13279e15ed/snap", "metadata": {"store": "ceph"}}], "direct_url": "rbd://d8b83d88-b70a-11ef-be0b-2390f458e7bc/glance/f866c950-0b62-4023-bac6-0f13279e15ed/snap", "tags": [], "self": "/v2/images/f866c950-0b62-4023-bac6-0f13279e15ed", "file": "/v2/images/f866c950-0b62-4023-bac6-0f13279e15ed/file", "schema": "/v2/schemas/image", "stores": "ceph"} 42s DEBUG (session:936) GET call to image for https://glance.ps7.canonical.com:9292/v2/images/f866c950-0b62-4023-bac6-0f13279e15ed used request id req-2bbde19b-59e4-4d8b-9804-abdf2c07394a 42s +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ 42s | Property | Value | 42s +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ 42s | OS-DCF:diskConfig | MANUAL | 42s | OS-EXT-AZ:availability_zone | | 42s | OS-EXT-SRV-ATTR:host | - | 42s | OS-EXT-SRV-ATTR:hostname | adt-resolute-ppc64el-glib2-0-20260205-041446-juju-7f2275-prod-p | 42s | OS-EXT-SRV-ATTR:hypervisor_hostname | - | 42s | OS-EXT-SRV-ATTR:instance_name | | 42s | OS-EXT-SRV-ATTR:kernel_id | | 42s | OS-EXT-SRV-ATTR:launch_index | 0 | 42s | OS-EXT-SRV-ATTR:ramdisk_id | | 42s | OS-EXT-SRV-ATTR:reservation_id | r-8uwot4ei | 42s | OS-EXT-SRV-ATTR:root_device_name | - | 42s | OS-EXT-STS:power_state | 0 | 42s | OS-EXT-STS:task_state | scheduling | 42s | OS-EXT-STS:vm_state | building | 42s | OS-SRV-USG:launched_at | - | 42s | OS-SRV-USG:terminated_at | - | 42s | accessIPv4 | | 42s | accessIPv6 | | 42s | adminPass | 6rQ9eVngn59d | 42s | config_drive | | 42s | created | 2026-02-05T04:15:24Z | 42s | description | - | 42s | flavor:disk | 20 | 42s | flavor:ephemeral | 0 | 42s | flavor:extra_specs | {"aggregate_instance_extra_specs:commit": "ppc64el", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"} | 42s | flavor:original_name | autopkgtest-cpu2-ram4-disk20-ppc64el | 42s | flavor:ram | 4096 | 42s | flavor:swap | 0 | 42s | flavor:vcpus | 2 | 42s | hostId | | 42s | id | 13fce115-5ef7-4e8e-9f26-2f18e25c267c | 42s | image | adt/ubuntu-resolute-ppc64el-server-20260205.img (f866c950-0b62-4023-bac6-0f13279e15ed) | 42s | key_name | testbed-juju-7f2275-prod-proposed-migration-environment-2 | 42s | locked | False | 42s | locked_reason | - | 42s | metadata | {} | 42s | name | adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134 | 42s | os-extended-volumes:volumes_attached | [] | 42s | progress | 0 | 42s | security_groups | autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-ppc64el-39.secgroup | 42s | server_groups | [] | 42s | status | BUILD | 42s | tags | [] | 42s | tenant_id | 9bf77f46fd6c4d3da81ee79a717acf43 | 42s | trusted_image_certificates | - | 42s | updated | 2026-02-05T04:15:23Z | 42s | user_id | 20f4f30c2cfd4bfe806cd0db10c0e446 | 42s +--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+DEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c HTTP/1.1" 200 2714 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 2714 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:24 GMT Keep-Alive: timeout=75, max=993 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-62ff44f1-6724-4350-9e43-44761602586a x-openstack-request-id: req-62ff44f1-6724-4350-9e43-44761602586a 42s DEBUG (session:580) RESP BODY: {"server": {"id": "13fce115-5ef7-4e8e-9f26-2f18e25c267c", "name": "adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134", "status": "BUILD", "tenant_id": "9bf77f46fd6c4d3da81ee79a717acf43", "user_id": "20f4f30c2cfd4bfe806cd0db10c0e446", "metadata": {}, "hostId": "", "image": {"id": "f866c950-0b62-4023-bac6-0f13279e15ed", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/f866c950-0b62-4023-bac6-0f13279e15ed"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-ppc64el", "extra_specs": {"aggregate_instance_extra_specs:commit": "ppc64el", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-02-05T04:15:24Z", "updated": "2026-02-05T04:15:24Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c"}], "OS-DCF:diskConfig": "MANUAL", "progress": 0, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-2", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-8uwot4ei", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-ppc64el-glib2-0-20260205-041446-juju-7f2275-prod-p", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": "scheduling", "OS-EXT-STS:vm_state": "building", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 42s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c used request id req-62ff44f1-6724-4350-9e43-44761602586a 42s 42s 42s Server building... 0% completeDEBUG (session:517) REQ: curl -g -i -X GET https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c -H "Accept: application/json" -H "OpenStack-API-Version: compute 2.87" -H "User-Agent: python-novaclient" -H "X-Auth-Token: {SHA256}06824f170a665feb232c657d684a9c5d70bccf56ff0fb8f4d77517e984998ffc" -H "X-OpenStack-Nova-API-Version: 2.87" 42s DEBUG (connectionpool:429) https://nova.ps7.canonical.com:8774 "GET /v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c HTTP/1.1" 200 3022 42s DEBUG (session:548) RESP: [200] Connection: Keep-Alive Content-Length: 3022 Content-Type: application/json Date: Thu, 05 Feb 2026 04:15:29 GMT Keep-Alive: timeout=75, max=992 OpenStack-API-Version: compute 2.87 Server: Apache/2.4.52 (Ubuntu) Vary: OpenStack-API-Version,X-OpenStack-Nova-API-Version X-OpenStack-Nova-API-Version: 2.87 x-compute-request-id: req-04b7a8ba-97c8-4d5a-a9f0-fcef60803628 x-openstack-request-id: req-04b7a8ba-97c8-4d5a-a9f0-fcef60803628 42s DEBUG (session:580) RESP BODY: {"server": {"id": "13fce115-5ef7-4e8e-9f26-2f18e25c267c", "name": "adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134", "status": "ERROR", "tenant_id": "9bf77f46fd6c4d3da81ee79a717acf43", "user_id": "20f4f30c2cfd4bfe806cd0db10c0e446", "metadata": {}, "hostId": "", "image": {"id": "f866c950-0b62-4023-bac6-0f13279e15ed", "links": [{"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/images/f866c950-0b62-4023-bac6-0f13279e15ed"}]}, "flavor": {"vcpus": 2, "ram": 4096, "disk": 20, "ephemeral": 0, "swap": 0, "original_name": "autopkgtest-cpu2-ram4-disk20-ppc64el", "extra_specs": {"aggregate_instance_extra_specs:commit": "ppc64el", "hw:cpu_policy": "shared", "hw:mem_page_size": "large", "hw:pci_numa_affinity_policy": "preferred"}}, "created": "2026-02-05T04:15:23Z", "updated": "2026-02-05T04:15:26Z", "addresses": {}, "accessIPv4": "", "accessIPv6": "", "links": [{"rel": "self", "href": "https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c"}, {"rel": "bookmark", "href": "https://nova.ps7.canonical.com:8774/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c"}], "OS-DCF:diskConfig": "MANUAL", "fault": {"code": 500, "created": "2026-02-05T04:15:26Z", "message": "Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance 13fce115-5ef7-4e8e-9f26-2f18e25c267c. Last exception: Insufficient compute resources: Requested instance NUMA topology cannot fit the given host NUMA topology."}, "OS-EXT-AZ:availability_zone": "", "config_drive": "", "key_name": "testbed-juju-7f2275-prod-proposed-migration-environment-2", "OS-SRV-USG:launched_at": null, "OS-SRV-USG:terminated_at": null, "OS-EXT-SRV-ATTR:host": null, "OS-EXT-SRV-ATTR:instance_name": "instance-004079ad", "OS-EXT-SRV-ATTR:hypervisor_hostname": null, "OS-EXT-SRV-ATTR:reservation_id": "r-8uwot4ei", "OS-EXT-SRV-ATTR:launch_index": 0, "OS-EXT-SRV-ATTR:hostname": "adt-resolute-ppc64el-glib2-0-20260205-041446-juju-7f2275-prod-p", "OS-EXT-SRV-ATTR:kernel_id": "", "OS-EXT-SRV-ATTR:ramdisk_id": "", "OS-EXT-SRV-ATTR:root_device_name": null, "OS-EXT-SRV-ATTR:user_data": "I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogYXV0b3BrZ3Rlc3QKZnFkbjogYXV0b3BrZ3Rlc3QubG9jYWwKbWFuYWdlX2V0Y19ob3N0czogdHJ1ZQphcHRfdXBkYXRlOiB0cnVlCmFwdF91cGdyYWRlOiBmYWxzZQphcHRfbWlycm9yOiBodHRwOi8vZnRwbWFzdGVyLmludGVybmFsL3VidW50dS8KCnJ1bmNtZDoKIC0gZWNobyAnQWNxdWlyZTo6TGFuZ3VhZ2VzICJub25lIjsnID4gL2V0Yy9hcHQvYXB0LmNvbmYuZC85MG5vbGFuZ3VhZ2VzCiAtIGVjaG8gJ2ZvcmNlLXVuc2FmZS1pbycgPiAvZXRjL2Rwa2cvZHBrZy5jZmcuZC9hdXRvcGtndGVzdAogLSBwcmludGYgJ1xuVEVSTT1saW51eFxuJyA+PiAvZXRjL2Vudmlyb25tZW50CiAtIHNlZCAtaSAtciAnL14xMjcuMC4xLjEvIHMvYXV0b3BrZ3Rlc3QtW14gXStcLi9hdXRvcGtndGVzdFwuLycgL2V0Yy9ob3N0cwo=", "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "error", "OS-EXT-STS:power_state": 0, "os-extended-volumes:volumes_attached": [], "locked": false, "locked_reason": null, "description": null, "tags": [], "trusted_image_certificates": null, "server_groups": []}} 42s DEBUG (session:936) GET call to compute for https://nova.ps7.canonical.com:8774/v2.1/servers/13fce115-5ef7-4e8e-9f26-2f18e25c267c used request id req-04b7a8ba-97c8-4d5a-a9f0-fcef60803628 42s DEBUG (shell:822) 42s Traceback (most recent call last): 42s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 820, in main 42s OpenStackComputeShell().main(argv) 42s File "/usr/lib/python3/dist-packages/novaclient/shell.py", line 742, in main 42s args.func(self.cs, args) 42s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 980, in do_boot 42s _poll_for_status(cs.servers.get, server.id, 'building', ['active']) 42s File "/usr/lib/python3/dist-packages/novaclient/v2/shell.py", line 1019, in _poll_for_status 42s raise exceptions.ResourceInErrorState(obj) 42s novaclient.exceptions.ResourceInErrorState: 42s ERROR (ResourceInErrorState): 42s 42s Error building server 397s autopkgtest [04:21:24]: testbed dpkg architecture: ppc64el 397s autopkgtest [04:21:24]: testbed apt version: 3.1.14 397s autopkgtest [04:21:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 398s autopkgtest [04:21:25]: testbed release detected to be: None 398s autopkgtest [04:21:25]: updating testbed package index (apt update) 399s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 399s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 399s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 399s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 399s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [227 kB] 399s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 399s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 399s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1719 kB] 401s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [257 kB] 401s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1449 kB] 402s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.6 kB] 402s Fetched 3839 kB in 4s (1017 kB/s) 403s Reading package lists... 404s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 404s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 404s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 404s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 405s Reading package lists... 405s Reading package lists... 405s Building dependency tree... 405s Reading state information... 406s Calculating upgrade... 406s The following packages will be upgraded: 406s libc-bin libc-gconv-modules-extra libc6 locales pollinate 406s python3-referencing sed 406s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 406s Need to get 8612 kB of archives. 406s After this operation, 0 B of additional disk space will be used. 406s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el sed ppc64el 4.9-2build3 [211 kB] 406s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-gconv-modules-extra ppc64el 2.42-2ubuntu5 [1448 kB] 408s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc6 ppc64el 2.42-2ubuntu5 [1913 kB] 409s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-bin ppc64el 2.42-2ubuntu5 [748 kB] 409s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el locales all 2.42-2ubuntu5 [4255 kB] 412s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el pollinate all 4.33-4ubuntu5 [14.0 kB] 412s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 413s dpkg-preconfigure: unable to re-open stdin: No such file or directory 413s Fetched 8612 kB in 6s (1334 kB/s) 413s (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 ... 82008 files and directories currently installed.) 413s Preparing to unpack .../sed_4.9-2build3_ppc64el.deb ... 413s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 414s Setting up sed (4.9-2build3) ... 414s (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 ... 82008 files and directories currently installed.) 414s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_ppc64el.deb ... 414s Unpacking libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 414s Setting up libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) ... 414s (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 ... 82008 files and directories currently installed.) 414s Preparing to unpack .../libc6_2.42-2ubuntu5_ppc64el.deb ... 415s Unpacking libc6:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 415s Setting up libc6:ppc64el (2.42-2ubuntu5) ... 415s (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 ... 82008 files and directories currently installed.) 415s Preparing to unpack .../libc-bin_2.42-2ubuntu5_ppc64el.deb ... 415s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 415s Setting up libc-bin (2.42-2ubuntu5) ... 416s (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 ... 82008 files and directories currently installed.) 416s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 416s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 416s Preparing to unpack .../pollinate_4.33-4ubuntu5_all.deb ... 416s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 416s Preparing to unpack .../python3-referencing_0.36.2-1ubuntu2_all.deb ... 417s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 417s Setting up locales (2.42-2ubuntu5) ... 417s Generating locales (this might take a while)... 419s en_US.UTF-8... done 419s Generation complete. 419s Setting up pollinate (4.33-4ubuntu5) ... 429s Setting up python3-referencing (0.36.2-1ubuntu2) ... 430s Processing triggers for man-db (2.13.1-1) ... 432s Processing triggers for install-info (7.2-5) ... 432s Processing triggers for systemd (259-1ubuntu3) ... 433s autopkgtest [04:22:00]: upgrading testbed (apt dist-upgrade and autopurge) 433s Reading package lists... 433s Building dependency tree... 433s Reading state information... 433s Calculating upgrade... 434s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 434s Reading package lists... 434s Building dependency tree... 434s Reading state information... 434s Solving dependencies... 434s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 434s autopkgtest [04:22:01]: rebooting testbed after setup commands that affected boot 474s autopkgtest [04:22:41]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:45:54 UTC 2026 478s autopkgtest [04:22:45]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 489s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B] 489s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB] 489s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB] 489s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB] 489s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC 489s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 489s gpgv: Can't check signature: No public key 489s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found 490s autopkgtest [04:22:57]: testing package glib2.0 version 2.86.3-4 502s autopkgtest [04:23:09]: build not needed 518s autopkgtest [04:23:25]: test build: preparing testbed 518s Reading package lists... 518s Building dependency tree... 518s Reading state information... 518s Solving dependencies... 518s The following NEW packages will be installed: 518s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 518s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 518s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 518s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libc-dev-bin libc6-dev 518s libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 518s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 518s libpcre2-dev libpcre2-posix3 libpkgconf3 libquadmath0 libselinux-dev 518s libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 518s linux-libc-dev pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 518s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded. 518s Need to get 71.6 MB of archives. 518s After this operation, 268 MB of additional disk space will be used. 518s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-dev-bin ppc64el 2.42-2ubuntu5 [23.9 kB] 518s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el linux-libc-dev ppc64el 6.18.0-9.9 [1847 kB] 519s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 519s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el rpcsvc-proto ppc64el 1.4.3-1build1 [84.2 kB] 519s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc6-dev ppc64el 2.42-2ubuntu5 [2079 kB] 519s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 520s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 520s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [11.4 MB] 520s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-12ubuntu1 [1038 B] 520s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 520s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 520s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-12ubuntu1 [49.0 kB] 520s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-12ubuntu1 [169 kB] 520s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-12ubuntu1 [32.2 kB] 520s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-12ubuntu1 [3006 kB] 521s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-12ubuntu1 [1374 kB] 521s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-12ubuntu1 [2729 kB] 521s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-12ubuntu1 [1231 kB] 521s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-12ubuntu1 [160 kB] 521s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-12ubuntu1 [1670 kB] 521s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [22.4 MB] 522s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-12ubuntu1 [530 kB] 522s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 522s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 522s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-12ubuntu1 [2747 kB] 522s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [13.0 MB] 522s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-12ubuntu1 [25.3 kB] 522s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 522s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 522s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 522s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-3 [72.7 kB] 522s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41.2-4ubuntu2 [59.9 kB] 522s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41.2-4ubuntu2 [293 kB] 522s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.9-2 [516 kB] 522s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 522s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 522s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 522s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 522s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux-dev ppc64el 3.9-4 [210 kB] 522s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41.2-4ubuntu2 [37.6 kB] 522s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 49.0-5 [62.0 kB] 522s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpkgconf3 ppc64el 1.8.1-4build1 [37.9 kB] 522s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf-bin ppc64el 1.8.1-4build1 [22.7 kB] 522s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf ppc64el 1.8.1-4build1 [16.8 kB] 522s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 522s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.86.3-4 [2206 kB] 523s Fetched 71.6 MB in 4s (17.8 MB/s) 523s Selecting previously unselected package libc-dev-bin. 524s (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 ... 82008 files and directories currently installed.) 524s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu5_ppc64el.deb ... 524s Unpacking libc-dev-bin (2.42-2ubuntu5) ... 524s Selecting previously unselected package linux-libc-dev:ppc64el. 524s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_ppc64el.deb ... 524s Unpacking linux-libc-dev:ppc64el (6.18.0-9.9) ... 524s Selecting previously unselected package libcrypt-dev:ppc64el. 524s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 524s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) ... 524s Selecting previously unselected package rpcsvc-proto. 524s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_ppc64el.deb ... 524s Unpacking rpcsvc-proto (1.4.3-1build1) ... 524s Selecting previously unselected package libc6-dev:ppc64el. 524s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu5_ppc64el.deb ... 524s Unpacking libc6-dev:ppc64el (2.42-2ubuntu5) ... 524s Selecting previously unselected package libisl23:ppc64el. 524s Preparing to unpack .../05-libisl23_0.27-1build1_ppc64el.deb ... 524s Unpacking libisl23:ppc64el (0.27-1build1) ... 524s Selecting previously unselected package libmpc3:ppc64el. 524s Preparing to unpack .../06-libmpc3_1.3.1-2_ppc64el.deb ... 524s Unpacking libmpc3:ppc64el (1.3.1-2) ... 524s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 524s Preparing to unpack .../07-cpp-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package cpp-15. 524s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 524s Preparing to unpack .../09-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 524s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 524s Selecting previously unselected package cpp. 524s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 524s Unpacking cpp (4:15.2.0-4ubuntu1) ... 524s Selecting previously unselected package libcc1-0:ppc64el. 524s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package libgomp1:ppc64el. 524s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking libgomp1:ppc64el (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package libitm1:ppc64el. 524s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking libitm1:ppc64el (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package libasan8:ppc64el. 524s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking libasan8:ppc64el (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package liblsan0:ppc64el. 524s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking liblsan0:ppc64el (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package libtsan2:ppc64el. 524s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking libtsan2:ppc64el (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package libubsan1:ppc64el. 524s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking libubsan1:ppc64el (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package libquadmath0:ppc64el. 524s Preparing to unpack .../18-libquadmath0_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 524s Selecting previously unselected package libgcc-15-dev:ppc64el. 524s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 524s Unpacking libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 525s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 525s Preparing to unpack .../20-gcc-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 525s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 525s Selecting previously unselected package gcc-15. 525s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_ppc64el.deb ... 525s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 525s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 525s Preparing to unpack .../22-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 525s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 525s Selecting previously unselected package gcc. 525s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 525s Unpacking gcc (4:15.2.0-4ubuntu1) ... 525s Selecting previously unselected package libstdc++-15-dev:ppc64el. 525s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 525s Unpacking libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 525s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 525s Preparing to unpack .../25-g++-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 525s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 525s Selecting previously unselected package g++-15. 525s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_ppc64el.deb ... 525s Unpacking g++-15 (15.2.0-12ubuntu1) ... 525s Selecting previously unselected package g++-powerpc64le-linux-gnu. 525s Preparing to unpack .../27-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 525s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 525s Selecting previously unselected package g++. 525s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 525s Unpacking g++ (4:15.2.0-4ubuntu1) ... 525s Selecting previously unselected package build-essential. 525s Preparing to unpack .../29-build-essential_12.12ubuntu2_ppc64el.deb ... 525s Unpacking build-essential (12.12ubuntu2) ... 525s Selecting previously unselected package libffi-dev:ppc64el. 525s Preparing to unpack .../30-libffi-dev_3.5.2-3_ppc64el.deb ... 525s Unpacking libffi-dev:ppc64el (3.5.2-3) ... 525s Selecting previously unselected package uuid-dev:ppc64el. 525s Preparing to unpack .../31-uuid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 525s Unpacking uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 525s Selecting previously unselected package libblkid-dev:ppc64el. 525s Preparing to unpack .../32-libblkid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 525s Unpacking libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 525s Selecting previously unselected package libsepol-dev:ppc64el. 525s Preparing to unpack .../33-libsepol-dev_3.9-2_ppc64el.deb ... 525s Unpacking libsepol-dev:ppc64el (3.9-2) ... 525s Selecting previously unselected package libpcre2-16-0:ppc64el. 525s Preparing to unpack .../34-libpcre2-16-0_10.46-1_ppc64el.deb ... 525s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 525s Selecting previously unselected package libpcre2-32-0:ppc64el. 525s Preparing to unpack .../35-libpcre2-32-0_10.46-1_ppc64el.deb ... 525s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 525s Selecting previously unselected package libpcre2-posix3:ppc64el. 525s Preparing to unpack .../36-libpcre2-posix3_10.46-1_ppc64el.deb ... 525s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 525s Selecting previously unselected package libpcre2-dev:ppc64el. 525s Preparing to unpack .../37-libpcre2-dev_10.46-1_ppc64el.deb ... 525s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 526s Selecting previously unselected package libselinux-dev:ppc64el. 526s Preparing to unpack .../38-libselinux-dev_3.9-4_ppc64el.deb ... 526s Unpacking libselinux-dev:ppc64el (3.9-4) ... 526s Selecting previously unselected package libmount-dev:ppc64el. 526s Preparing to unpack .../39-libmount-dev_2.41.2-4ubuntu2_ppc64el.deb ... 526s Unpacking libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 526s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 526s Preparing to unpack .../40-libsysprof-capture-4-dev_49.0-5_ppc64el.deb ... 526s Unpacking libsysprof-capture-4-dev:ppc64el (49.0-5) ... 526s Selecting previously unselected package libpkgconf3:ppc64el. 526s Preparing to unpack .../41-libpkgconf3_1.8.1-4build1_ppc64el.deb ... 526s Unpacking libpkgconf3:ppc64el (1.8.1-4build1) ... 526s Selecting previously unselected package pkgconf-bin. 526s Preparing to unpack .../42-pkgconf-bin_1.8.1-4build1_ppc64el.deb ... 526s Unpacking pkgconf-bin (1.8.1-4build1) ... 526s Selecting previously unselected package pkgconf:ppc64el. 526s Preparing to unpack .../43-pkgconf_1.8.1-4build1_ppc64el.deb ... 526s Unpacking pkgconf:ppc64el (1.8.1-4build1) ... 526s Selecting previously unselected package zlib1g-dev:ppc64el. 526s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 526s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 526s Selecting previously unselected package libgio-2.0-dev:ppc64el. 526s Preparing to unpack .../45-libgio-2.0-dev_2.86.3-4_ppc64el.deb ... 526s Unpacking libgio-2.0-dev:ppc64el (2.86.3-4) ... 526s Setting up linux-libc-dev:ppc64el (6.18.0-9.9) ... 526s Setting up libgomp1:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up libffi-dev:ppc64el (3.5.2-3) ... 526s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 526s Setting up libsysprof-capture-4-dev:ppc64el (49.0-5) ... 526s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 526s Setting up libpkgconf3:ppc64el (1.8.1-4build1) ... 526s Setting up rpcsvc-proto (1.4.3-1build1) ... 526s Setting up libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up libmpc3:ppc64el (1.3.1-2) ... 526s Setting up libsepol-dev:ppc64el (3.9-2) ... 526s Setting up pkgconf-bin (1.8.1-4build1) ... 526s Setting up libubsan1:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 526s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 526s Setting up libasan8:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up libtsan2:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up libisl23:ppc64el (0.27-1build1) ... 526s Setting up libc-dev-bin (2.42-2ubuntu5) ... 526s Setting up libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up liblsan0:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up libitm1:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up pkgconf:ppc64el (1.8.1-4build1) ... 526s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 526s Setting up cpp-15 (15.2.0-12ubuntu1) ... 526s Setting up libc6-dev:ppc64el (2.42-2ubuntu5) ... 526s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 526s Setting up libpcre2-dev:ppc64el (10.46-1) ... 526s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 526s Setting up gcc-15 (15.2.0-12ubuntu1) ... 526s Setting up libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 526s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 526s Setting up uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 526s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 526s Setting up cpp (4:15.2.0-4ubuntu1) ... 526s Setting up libselinux-dev:ppc64el (3.9-4) ... 526s Setting up libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 526s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 526s Setting up gcc (4:15.2.0-4ubuntu1) ... 526s Setting up g++-15 (15.2.0-12ubuntu1) ... 526s Setting up libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 526s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 526s Setting up libgio-2.0-dev:ppc64el (2.86.3-4) ... 526s Setting up g++ (4:15.2.0-4ubuntu1) ... 526s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 526s Setting up build-essential (12.12ubuntu2) ... 526s Processing triggers for libc-bin (2.42-2ubuntu5) ... 526s Processing triggers for man-db (2.13.1-1) ... 528s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 528s No schema files found: doing nothing. 528s Processing triggers for install-info (7.2-5) ... 529s autopkgtest [04:23:36]: test build: [----------------------- 529s + mode=dynamic 529s + getopt -o --long static -n debian/tests/build -- 529s + getopt_temp= -- 529s + eval set -- -- 529s + set -- -- 529s + true 529s + shift 529s + break 529s + mktemp -d 529s + WORKDIR=/tmp/tmp.nObCX9Lc6c 529s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 529s + cd /tmp/tmp.nObCX9Lc6c 529s + [ -n ] 529s + CROSS_COMPILE= 529s + cat 529s + cat 529s + cat 529s + cat 529s + cat 529s + cat 529s + cflags= 529s + pcflags= 529s + packages=glib-2.0 529s + pkg-config --cflags --libs glib-2.0 529s + 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 529s build (glib, dynamic): OK 529s + echo build (glib, dynamic): OK 529s + [ -x glib-dynamic ] 529s + foo=bar ./glib-dynamic 529s run (glib, dynamic): OK 529s + echo run (glib, dynamic): OK 529s + cflags= 529s + pcflags= 529s + packages=gobject-2.0 529s + pkg-config --cflags --libs gobject-2.0 529s + 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 529s build (gobject, dynamic): OK 529s run (gobject, dynamic): OK 529s + echo build (gobject, dynamic): OK 529s + [ -x gobject-dynamic ] 529s + foo=bar ./gobject-dynamic 529s + echo run (gobject, dynamic): OK 529s + cflags= 529s + pcflags= 529s + packages=gio-2.0 529s + pkg-config --cflags --libs gio-2.0 529s + 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 530s build (gio, dynamic): OK 530s + echo build (gio, dynamic): OK 530s + [ -x gio-dynamic ] 530s + foo=bar ./gio-dynamic 530s + echo run (gio, dynamic): OK 530s + cflags= 530s + pcflags= 530s + packages=gio-unix-2.0 530s + pkg-config --cflags --libs gio-unix-2.0 530s run (gio, dynamic): OK 530s + 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 530s build (gio-unix, dynamic): OK 530s run (gio-unix, dynamic): OK 530s + echo build (gio-unix, dynamic): OK 530s + [ -x gio-unix-dynamic ] 530s + foo=bar ./gio-unix-dynamic 530s + echo run (gio-unix, dynamic): OK 530s + cflags= 530s + pcflags= 530s + packages=gmodule-2.0 530s + pkg-config --cflags --libs gmodule-2.0 530s + 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 530s build (gmodule, dynamic): OK 530s run (gmodule, dynamic): OK 530s + echo build (gmodule, dynamic): OK 530s + [ -x gmodule-dynamic ] 530s + foo=bar ./gmodule-dynamic 530s + echo run (gmodule, dynamic): OK 530s + cflags= 530s + pcflags= 530s + packages=gthread-2.0 530s + pkg-config --cflags --libs gthread-2.0 530s + 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 530s build (gthread, dynamic): OK 530s run (gthread, dynamic): OK 530s + echo build (gthread, dynamic): OK 530s + [ -x gthread-dynamic ] 530s + foo=bar ./gthread-dynamic 530s + echo run (gthread, dynamic): OK 530s + rm -rf /tmp/tmp.nObCX9Lc6c 530s autopkgtest [04:23:37]: test build: -----------------------] 531s autopkgtest [04:23:38]: test build: - - - - - - - - - - results - - - - - - - - - - 531s build PASS (superficial) 531s autopkgtest [04:23:38]: test build-static: preparing testbed 531s Reading package lists... 532s Building dependency tree... 532s Reading state information... 532s Solving dependencies... 532s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 533s autopkgtest [04:23:40]: test build-static: [----------------------- 533s + mode=dynamic 533s + getopt -o --long static -n debian/tests/build -- --static 533s + getopt_temp= --static -- 533s + eval set -- --static -- 533s + set -- --static -- 533s + true 533s + mode=static 533s + shift 533s + continue 533s + true 533s + shift 533s + break 533s + mktemp -d 533s + WORKDIR=/tmp/tmp.5lg2CFy6nz 533s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 533s + cd /tmp/tmp.5lg2CFy6nz 533s + [ -n ] 533s + CROSS_COMPILE= 533s + cat 533s + cat 533s + cat 533s + cat 533s + cat 533s + cat 533s + cflags= 533s + pcflags= 533s + packages=glib-2.0 533s + cflags=-static 533s + pcflags=--static 533s + pkg-config --static --cflags --libs glib-2.0 533s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 533s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s + echo build (glib, static): OK 533s + [ -x glib-static ] 533s + foo=bar ./glib-static 533s + echo run (glib, static): OK 533s + cflags= 533s + pcflags= 533s + packages=gobject-2.0 533s + cflags=-static 533s + pcflags=--static 533s + pkg-config --static --cflags --libs gobject-2.0 533s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 533s build (glib, static): OK 533s run (glib, static): OK 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 533s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s build (gobject, static): OK 533s run (gobject, static): OK 533s + echo build (gobject, static): OK 533s + [ -x gobject-static ] 533s + foo=bar ./gobject-static 533s + echo run (gobject, static): OK 533s + cflags= 533s + pcflags= 533s + packages=gio-2.0 533s + cflags=-static 533s + pcflags=--static 533s + continue 533s + cflags= 533s + pcflags= 533s + packages=gio-unix-2.0 533s + cflags=-static 533s + pcflags=--static 533s + continue 533s + cflags= 533s + pcflags= 533s + packages=gmodule-2.0 533s + cflags=-static 533s + pcflags=--static 533s + pkg-config --static --cflags --libs gmodule-2.0 533s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 533s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 533s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s build (gmodule, static): OK 533s run (gmodule, static): OK 533s + echo build (gmodule, static): OK 533s + [ -x gmodule-static ] 533s + foo=bar ./gmodule-static 533s + echo run (gmodule, static): OK 533s + cflags= 533s + pcflags= 533s + packages=gthread-2.0 533s + cflags=-static 533s + pcflags=--static 533s + pkg-config --static --cflags --libs gthread-2.0 533s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 533s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 533s + echo build (gthread, static): OK 533s + [ -x gthread-static ] 533s + foo=bar ./gthread-static 533s + echo run (gthread, static): OK 533s + rm -rf /tmp/tmp.5lg2CFy6nz 533s build (gthread, static): OK 533s run (gthread, static): OK 534s autopkgtest [04:23:41]: test build-static: -----------------------] 534s autopkgtest [04:23:41]: test build-static: - - - - - - - - - - results - - - - - - - - - - 534s build-static PASS (superficial) 535s autopkgtest [04:23:42]: test girepository-tools: preparing testbed 547s Creating nova instance adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134 from image adt/ubuntu-resolute-ppc64el-server-20260205.img (UUID f866c950-0b62-4023-bac6-0f13279e15ed)... 616s autopkgtest [04:25:03]: testbed dpkg architecture: ppc64el 616s autopkgtest [04:25:03]: testbed apt version: 3.1.14 616s autopkgtest [04:25:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 617s autopkgtest [04:25:04]: testbed release detected to be: resolute 617s autopkgtest [04:25:04]: updating testbed package index (apt update) 618s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 618s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 618s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 618s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 618s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [227 kB] 618s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 618s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1719 kB] 619s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 619s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [257 kB] 619s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1449 kB] 619s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.6 kB] 619s Fetched 3839 kB in 1s (2804 kB/s) 620s Reading package lists... 621s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 621s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 621s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 621s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 621s Reading package lists... 621s Reading package lists... 622s Building dependency tree... 622s Reading state information... 622s Calculating upgrade... 622s The following packages will be upgraded: 622s libc-bin libc-gconv-modules-extra libc6 locales pollinate 622s python3-referencing sed 622s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 622s Need to get 8612 kB of archives. 622s After this operation, 0 B of additional disk space will be used. 622s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el sed ppc64el 4.9-2build3 [211 kB] 622s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-gconv-modules-extra ppc64el 2.42-2ubuntu5 [1448 kB] 622s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc6 ppc64el 2.42-2ubuntu5 [1913 kB] 622s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-bin ppc64el 2.42-2ubuntu5 [748 kB] 622s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el locales all 2.42-2ubuntu5 [4255 kB] 623s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el pollinate all 4.33-4ubuntu5 [14.0 kB] 623s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 623s dpkg-preconfigure: unable to re-open stdin: No such file or directory 623s Fetched 8612 kB in 1s (9687 kB/s) 623s (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 ... 82008 files and directories currently installed.) 623s Preparing to unpack .../sed_4.9-2build3_ppc64el.deb ... 623s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 624s Setting up sed (4.9-2build3) ... 624s (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 ... 82008 files and directories currently installed.) 624s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_ppc64el.deb ... 624s Unpacking libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 624s Setting up libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) ... 625s (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 ... 82008 files and directories currently installed.) 625s Preparing to unpack .../libc6_2.42-2ubuntu5_ppc64el.deb ... 625s Unpacking libc6:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 625s Setting up libc6:ppc64el (2.42-2ubuntu5) ... 625s (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 ... 82008 files and directories currently installed.) 625s Preparing to unpack .../libc-bin_2.42-2ubuntu5_ppc64el.deb ... 625s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 625s Setting up libc-bin (2.42-2ubuntu5) ... 626s (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 ... 82008 files and directories currently installed.) 626s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 626s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 626s Preparing to unpack .../pollinate_4.33-4ubuntu5_all.deb ... 626s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 626s Preparing to unpack .../python3-referencing_0.36.2-1ubuntu2_all.deb ... 626s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 627s Setting up locales (2.42-2ubuntu5) ... 627s Generating locales (this might take a while)... 628s en_US.UTF-8... done 628s Generation complete. 628s Setting up pollinate (4.33-4ubuntu5) ... 639s Setting up python3-referencing (0.36.2-1ubuntu2) ... 639s Processing triggers for man-db (2.13.1-1) ... 641s Processing triggers for install-info (7.2-5) ... 641s Processing triggers for systemd (259-1ubuntu3) ... 642s autopkgtest [04:25:29]: upgrading testbed (apt dist-upgrade and autopurge) 642s Reading package lists... 642s Building dependency tree... 642s Reading state information... 642s Calculating upgrade... 642s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 643s Reading package lists... 643s Building dependency tree... 643s Reading state information... 643s Solving dependencies... 643s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 643s autopkgtest [04:25:30]: rebooting testbed after setup commands that affected boot 694s Reading package lists... 695s Building dependency tree... 695s Reading state information... 695s Solving dependencies... 695s The following NEW packages will be installed: 695s gir1.2-glib-2.0-dev girepository-tools native-architecture 695s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 695s Need to get 1003 kB of archives. 695s After this operation, 12.5 MB of additional disk space will be used. 695s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 695s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 695s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 696s Fetched 1003 kB in 0s (2581 kB/s) 696s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 696s (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 ... 82008 files and directories currently installed.) 696s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 696s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 696s Selecting previously unselected package native-architecture. 696s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ... 696s Unpacking native-architecture (0.2.6build1) ... 696s Selecting previously unselected package girepository-tools:ppc64el. 696s Preparing to unpack .../girepository-tools_2.86.3-4_ppc64el.deb ... 696s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 696s Setting up native-architecture (0.2.6build1) ... 696s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 696s Setting up girepository-tools:ppc64el (2.86.3-4) ... 696s Processing triggers for man-db (2.13.1-1) ... 712s autopkgtest [04:26:39]: test girepository-tools: [----------------------- 713s + cd /tmp/autopkgtest.0jX8N3/autopkgtest_tmp 713s + dpkg-architecture -qDEB_HOST_GNU_TYPE 713s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 713s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 713s + dpkg-architecture -qDEB_HOST_MULTIARCH 713s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 713s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 713s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 713s typelib: GLib-2.0 713s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 713s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 713s autopkgtest [04:26:40]: test girepository-tools: -----------------------] 714s autopkgtest [04:26:41]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 714s girepository-tools PASS (superficial) 714s autopkgtest [04:26:41]: test libgio-2.0-dev-bin: preparing testbed 729s Creating nova instance adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134 from image adt/ubuntu-resolute-ppc64el-server-20260205.img (UUID f866c950-0b62-4023-bac6-0f13279e15ed)... 779s autopkgtest [04:27:46]: testbed dpkg architecture: ppc64el 779s autopkgtest [04:27:46]: testbed apt version: 3.1.14 779s autopkgtest [04:27:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 779s autopkgtest [04:27:46]: testbed release detected to be: resolute 780s autopkgtest [04:27:47]: updating testbed package index (apt update) 780s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 780s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 780s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 780s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 780s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1719 kB] 781s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 781s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [227 kB] 781s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 781s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [257 kB] 781s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1449 kB] 781s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.6 kB] 781s Fetched 3839 kB in 1s (4245 kB/s) 782s Reading package lists... 782s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 783s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 783s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 783s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 783s Reading package lists... 783s Reading package lists... 784s Building dependency tree... 784s Reading state information... 784s Calculating upgrade... 784s The following packages will be upgraded: 784s libc-bin libc-gconv-modules-extra libc6 locales pollinate 784s python3-referencing sed 784s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 784s Need to get 8612 kB of archives. 784s After this operation, 0 B of additional disk space will be used. 784s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el sed ppc64el 4.9-2build3 [211 kB] 784s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-gconv-modules-extra ppc64el 2.42-2ubuntu5 [1448 kB] 784s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc6 ppc64el 2.42-2ubuntu5 [1913 kB] 784s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-bin ppc64el 2.42-2ubuntu5 [748 kB] 784s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el locales all 2.42-2ubuntu5 [4255 kB] 784s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el pollinate all 4.33-4ubuntu5 [14.0 kB] 784s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 785s dpkg-preconfigure: unable to re-open stdin: No such file or directory 785s Fetched 8612 kB in 0s (23.2 MB/s) 785s (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 ... 82008 files and directories currently installed.) 785s Preparing to unpack .../sed_4.9-2build3_ppc64el.deb ... 785s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 785s Setting up sed (4.9-2build3) ... 785s (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 ... 82008 files and directories currently installed.) 785s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_ppc64el.deb ... 785s Unpacking libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 785s Setting up libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) ... 785s (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 ... 82008 files and directories currently installed.) 785s Preparing to unpack .../libc6_2.42-2ubuntu5_ppc64el.deb ... 786s Unpacking libc6:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 786s Setting up libc6:ppc64el (2.42-2ubuntu5) ... 786s (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 ... 82008 files and directories currently installed.) 786s Preparing to unpack .../libc-bin_2.42-2ubuntu5_ppc64el.deb ... 786s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 786s Setting up libc-bin (2.42-2ubuntu5) ... 786s (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 ... 82008 files and directories currently installed.) 786s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 786s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 786s Preparing to unpack .../pollinate_4.33-4ubuntu5_all.deb ... 786s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 787s Preparing to unpack .../python3-referencing_0.36.2-1ubuntu2_all.deb ... 787s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 787s Setting up locales (2.42-2ubuntu5) ... 787s Generating locales (this might take a while)... 788s en_US.UTF-8... done 788s Generation complete. 789s Setting up pollinate (4.33-4ubuntu5) ... 799s Setting up python3-referencing (0.36.2-1ubuntu2) ... 800s Processing triggers for man-db (2.13.1-1) ... 801s Processing triggers for install-info (7.2-5) ... 801s Processing triggers for systemd (259-1ubuntu3) ... 802s autopkgtest [04:28:09]: upgrading testbed (apt dist-upgrade and autopurge) 802s Reading package lists... 802s Building dependency tree... 802s Reading state information... 802s Calculating upgrade... 803s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 803s Reading package lists... 803s Building dependency tree... 803s Reading state information... 803s Solving dependencies... 803s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 803s autopkgtest [04:28:10]: rebooting testbed after setup commands that affected boot 844s Reading package lists... 844s Building dependency tree... 844s Reading state information... 844s Solving dependencies... 844s The following NEW packages will be installed: 844s libgio-2.0-dev-bin 844s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 844s Need to get 131 kB of archives. 844s After this operation, 822 kB of additional disk space will be used. 844s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 845s Fetched 131 kB in 0s (7391 kB/s) 845s Selecting previously unselected package libgio-2.0-dev-bin. 846s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 82008 files and directories currently installed.) 846s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 846s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 846s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 846s Processing triggers for man-db (2.13.1-1) ... 868s autopkgtest [04:29:15]: test libgio-2.0-dev-bin: [----------------------- 869s + gdbus-codegen --help 869s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 869s [--c-namespace NAMESPACE] [--c-generate-object-manager] 869s [--c-generate-autocleanup {none,objects,all}] 869s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 869s [--generate-rst OUTFILES] [--pragma-once] 869s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 869s [--glib-min-required VERSION] 869s [--glib-max-allowed VERSION] 869s [--symbol-decorator SYMBOL_DECORATOR] 869s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 869s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 869s [--generate-c-code OUTFILES | --header | --body | 869s --interface-info-header | --interface-info-body] 869s [--output FILE | --output-directory OUTDIR] 869s FILE [FILE ...] 869s 869s D-Bus code and documentation generator 869s 869s positional arguments: 869s FILE D-Bus introspection XML file 869s 869s options: 869s -h, --help show this help message and exit 869s --interface-prefix PREFIX 869s String to strip from D-Bus interface names for code 869s and docs 869s --c-namespace NAMESPACE 869s The namespace to use for generated C code 869s --c-generate-object-manager 869s Generate a GDBusObjectManagerClient subclass when 869s generating C code 869s --c-generate-autocleanup {none,objects,all} 869s Generate autocleanup support 869s --generate-docbook OUTFILES 869s Generate Docbook in OUTFILES-org.Project.IFace.xml 869s --generate-md OUTFILES 869s Generate Markdown in OUTFILES-org.Project.IFace.md 869s --generate-rst OUTFILES 869s Generate reStructuredText in OUTFILES- 869s org.Project.IFace.rst 869s --pragma-once Use "pragma once" as the inclusion guard 869s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 869s Add annotation (may be used several times) 869s --glib-min-required VERSION 869s Minimum version of GLib to be supported by the 869s outputted code (default: 2.30) 869s --glib-max-allowed VERSION 869s Maximum version of GLib to be used by the outputted 869s code (default: current GLib version) 869s --symbol-decorator SYMBOL_DECORATOR 869s Macro used to decorate a symbol in the outputted 869s header, possibly to export symbols 869s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 869s Additional header required for decorator specified by 869s --symbol-decorator 869s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 869s Additional define required for decorator specified by 869s --symbol-decorator 869s --generate-c-code OUTFILES 869s Generate C code in OUTFILES.[ch] 869s --header Generate C headers 869s --body Generate C code 869s --interface-info-header 869s Generate GDBusInterfaceInfo C header 869s --interface-info-body 869s Generate GDBusInterfaceInfo C code 869s --output FILE Write output into the specified file 869s --output-directory OUTDIR 869s Location to output generated files 869s + glib-compile-resources --version 869s 2.86.3 869s + glib-genmarshal --version 869s glib-genmarshal version 2.86.3 869s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 869s You may redistribute copies of glib-genmarshal under the terms of 869s the GNU General Public License which can be found in the 869s GLib source package. Sources, examples and contact 869s information are available at http://www.gtk.org 869s /usr/bin/glib-gettextize (GNU glib) 2.86.3 869s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 869s This is free software; see the source for copying conditions. There is NO 869s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 869s Written by Ulrich Drepper 869s + glib-gettextize --version 869s + glib-mkenums --version 869s glib-mkenums version 2.86.3 869s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 869s You may redistribute copies of glib-mkenums under the terms of 869s the GNU General Public License which can be found in the 869s GLib source package. Sources, examples and contact 869s information are available at http://www.gtk.org 869s + gobject-query tree 869s GObject 869s + gtester --version 869s gtester version 2.86.3 869s + gtester-report --version 869s gtester-report (GLib utils) version 2.86.3. 869s autopkgtest [04:29:16]: test libgio-2.0-dev-bin: -----------------------] 869s libgio-2.0-dev-bin PASS (superficial) 869s autopkgtest [04:29:16]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 870s autopkgtest [04:29:17]: test libglib2.0-dev: preparing testbed 878s Creating nova instance adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134 from image adt/ubuntu-resolute-ppc64el-server-20260205.img (UUID f866c950-0b62-4023-bac6-0f13279e15ed)... 929s autopkgtest [04:30:16]: testbed dpkg architecture: ppc64el 930s autopkgtest [04:30:17]: testbed apt version: 3.1.14 930s autopkgtest [04:30:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 930s autopkgtest [04:30:17]: testbed release detected to be: resolute 931s autopkgtest [04:30:18]: updating testbed package index (apt update) 931s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 931s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 931s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 931s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 931s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 931s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [227 kB] 932s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1719 kB] 932s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 932s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [257 kB] 932s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1449 kB] 932s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.6 kB] 932s Fetched 3839 kB in 1s (4936 kB/s) 933s Reading package lists... 934s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 934s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 934s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 934s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 935s Reading package lists... 935s Reading package lists... 935s Building dependency tree... 935s Reading state information... 936s Calculating upgrade... 936s The following packages will be upgraded: 936s libc-bin libc-gconv-modules-extra libc6 locales pollinate 936s python3-referencing sed 936s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 936s Need to get 8612 kB of archives. 936s After this operation, 0 B of additional disk space will be used. 936s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el sed ppc64el 4.9-2build3 [211 kB] 936s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-gconv-modules-extra ppc64el 2.42-2ubuntu5 [1448 kB] 936s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc6 ppc64el 2.42-2ubuntu5 [1913 kB] 936s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-bin ppc64el 2.42-2ubuntu5 [748 kB] 936s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el locales all 2.42-2ubuntu5 [4255 kB] 937s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el pollinate all 4.33-4ubuntu5 [14.0 kB] 937s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 937s dpkg-preconfigure: unable to re-open stdin: No such file or directory 937s Fetched 8612 kB in 1s (10.5 MB/s) 938s (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 ... 82008 files and directories currently installed.) 938s Preparing to unpack .../sed_4.9-2build3_ppc64el.deb ... 938s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 938s Setting up sed (4.9-2build3) ... 938s (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 ... 82008 files and directories currently installed.) 938s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_ppc64el.deb ... 938s Unpacking libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 938s Setting up libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) ... 939s (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 ... 82008 files and directories currently installed.) 939s Preparing to unpack .../libc6_2.42-2ubuntu5_ppc64el.deb ... 939s Unpacking libc6:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 939s Setting up libc6:ppc64el (2.42-2ubuntu5) ... 940s (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 ... 82008 files and directories currently installed.) 940s Preparing to unpack .../libc-bin_2.42-2ubuntu5_ppc64el.deb ... 940s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 940s Setting up libc-bin (2.42-2ubuntu5) ... 940s (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 ... 82008 files and directories currently installed.) 940s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 940s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 941s Preparing to unpack .../pollinate_4.33-4ubuntu5_all.deb ... 941s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 941s Preparing to unpack .../python3-referencing_0.36.2-1ubuntu2_all.deb ... 941s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 941s Setting up locales (2.42-2ubuntu5) ... 942s Generating locales (this might take a while)... 943s en_US.UTF-8... done 943s Generation complete. 943s Setting up pollinate (4.33-4ubuntu5) ... 954s Setting up python3-referencing (0.36.2-1ubuntu2) ... 954s Processing triggers for man-db (2.13.1-1) ... 956s Processing triggers for install-info (7.2-5) ... 956s Processing triggers for systemd (259-1ubuntu3) ... 957s autopkgtest [04:30:44]: upgrading testbed (apt dist-upgrade and autopurge) 958s Reading package lists... 958s Building dependency tree... 958s Reading state information... 958s Calculating upgrade... 958s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 958s Reading package lists... 958s Building dependency tree... 958s Reading state information... 958s Solving dependencies... 959s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 959s autopkgtest [04:30:46]: rebooting testbed after setup commands that affected boot 1001s Reading package lists... 1001s Building dependency tree... 1001s Reading state information... 1001s Solving dependencies... 1001s The following NEW packages will be installed: 1001s build-essential cpp cpp-15 cpp-15-powerpc64le-linux-gnu 1001s cpp-powerpc64le-linux-gnu g++ g++-15 g++-15-powerpc64le-linux-gnu 1001s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 1001s gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev girepository-tools libasan8 1001s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 1001s libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin libglib2.0-bin 1001s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 1001s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 1001s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux-dev libsepol-dev 1001s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 linux-libc-dev 1001s native-architecture pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev 1001s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 1001s Need to get 72.9 MB of archives. 1001s After this operation, 282 MB of additional disk space will be used. 1001s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-dev-bin ppc64el 2.42-2ubuntu5 [23.9 kB] 1001s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el linux-libc-dev ppc64el 6.18.0-9.9 [1847 kB] 1001s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 1001s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el rpcsvc-proto ppc64el 1.4.3-1build1 [84.2 kB] 1001s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc6-dev ppc64el 2.42-2ubuntu5 [2079 kB] 1001s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 1001s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 1001s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [11.4 MB] 1001s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-12ubuntu1 [1038 B] 1001s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 1001s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 1001s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-12ubuntu1 [49.0 kB] 1001s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-12ubuntu1 [169 kB] 1001s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-12ubuntu1 [32.2 kB] 1001s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-12ubuntu1 [3006 kB] 1002s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-12ubuntu1 [1374 kB] 1002s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-12ubuntu1 [2729 kB] 1002s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-12ubuntu1 [1231 kB] 1002s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-12ubuntu1 [160 kB] 1002s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-12ubuntu1 [1670 kB] 1002s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [22.4 MB] 1002s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-12ubuntu1 [530 kB] 1002s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 1002s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 1002s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-12ubuntu1 [2747 kB] 1002s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-12ubuntu1 [13.0 MB] 1003s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-12ubuntu1 [25.3 kB] 1003s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 1003s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 1003s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 1003s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 1003s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 1003s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 1003s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libffi-dev ppc64el 3.5.2-3 [72.7 kB] 1003s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el uuid-dev ppc64el 2.41.2-4ubuntu2 [59.9 kB] 1003s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libblkid-dev ppc64el 2.41.2-4ubuntu2 [293 kB] 1003s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsepol-dev ppc64el 3.9-2 [516 kB] 1003s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 1003s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 1003s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 1003s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 1003s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el libselinux-dev ppc64el 3.9-4 [210 kB] 1003s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmount-dev ppc64el 2.41.2-4ubuntu2 [37.6 kB] 1003s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsysprof-capture-4-dev ppc64el 49.0-5 [62.0 kB] 1003s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpkgconf3 ppc64el 1.8.1-4build1 [37.9 kB] 1003s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf-bin ppc64el 1.8.1-4build1 [22.7 kB] 1003s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el pkgconf ppc64el 1.8.1-4build1 [16.8 kB] 1003s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu2 [903 kB] 1003s Get:49 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev ppc64el 2.86.3-4 [2206 kB] 1003s Get:50 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 1003s Get:51 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.86.3-4 [111 kB] 1003s Get:52 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.86.3-4 [18.2 kB] 1003s Get:53 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev ppc64el 2.86.3-4 [18.9 kB] 1003s Fetched 72.9 MB in 2s (40.1 MB/s) 1003s Selecting previously unselected package libc-dev-bin. 1004s (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 ... 82008 files and directories currently installed.) 1004s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu5_ppc64el.deb ... 1004s Unpacking libc-dev-bin (2.42-2ubuntu5) ... 1004s Selecting previously unselected package linux-libc-dev:ppc64el. 1004s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_ppc64el.deb ... 1004s Unpacking linux-libc-dev:ppc64el (6.18.0-9.9) ... 1004s Selecting previously unselected package libcrypt-dev:ppc64el. 1004s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 1004s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) ... 1004s Selecting previously unselected package rpcsvc-proto. 1004s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_ppc64el.deb ... 1004s Unpacking rpcsvc-proto (1.4.3-1build1) ... 1004s Selecting previously unselected package libc6-dev:ppc64el. 1004s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu5_ppc64el.deb ... 1004s Unpacking libc6-dev:ppc64el (2.42-2ubuntu5) ... 1004s Selecting previously unselected package libisl23:ppc64el. 1004s Preparing to unpack .../05-libisl23_0.27-1build1_ppc64el.deb ... 1004s Unpacking libisl23:ppc64el (0.27-1build1) ... 1004s Selecting previously unselected package libmpc3:ppc64el. 1004s Preparing to unpack .../06-libmpc3_1.3.1-2_ppc64el.deb ... 1004s Unpacking libmpc3:ppc64el (1.3.1-2) ... 1004s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 1004s Preparing to unpack .../07-cpp-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package cpp-15. 1004s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking cpp-15 (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 1004s Preparing to unpack .../09-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 1004s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 1004s Selecting previously unselected package cpp. 1004s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 1004s Unpacking cpp (4:15.2.0-4ubuntu1) ... 1004s Selecting previously unselected package libcc1-0:ppc64el. 1004s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package libgomp1:ppc64el. 1004s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking libgomp1:ppc64el (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package libitm1:ppc64el. 1004s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking libitm1:ppc64el (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package libasan8:ppc64el. 1004s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking libasan8:ppc64el (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package liblsan0:ppc64el. 1004s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking liblsan0:ppc64el (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package libtsan2:ppc64el. 1004s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking libtsan2:ppc64el (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package libubsan1:ppc64el. 1004s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking libubsan1:ppc64el (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package libquadmath0:ppc64el. 1004s Preparing to unpack .../18-libquadmath0_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 1004s Selecting previously unselected package libgcc-15-dev:ppc64el. 1004s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 1004s Unpacking libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 1005s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 1005s Preparing to unpack .../20-gcc-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 1005s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 1005s Selecting previously unselected package gcc-15. 1005s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_ppc64el.deb ... 1005s Unpacking gcc-15 (15.2.0-12ubuntu1) ... 1005s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 1005s Preparing to unpack .../22-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 1005s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 1005s Selecting previously unselected package gcc. 1005s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 1005s Unpacking gcc (4:15.2.0-4ubuntu1) ... 1005s Selecting previously unselected package libstdc++-15-dev:ppc64el. 1005s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_ppc64el.deb ... 1005s Unpacking libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 1005s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 1005s Preparing to unpack .../25-g++-15-powerpc64le-linux-gnu_15.2.0-12ubuntu1_ppc64el.deb ... 1005s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 1005s Selecting previously unselected package g++-15. 1005s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_ppc64el.deb ... 1005s Unpacking g++-15 (15.2.0-12ubuntu1) ... 1005s Selecting previously unselected package g++-powerpc64le-linux-gnu. 1005s Preparing to unpack .../27-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 1005s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 1005s Selecting previously unselected package g++. 1005s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 1005s Unpacking g++ (4:15.2.0-4ubuntu1) ... 1005s Selecting previously unselected package build-essential. 1005s Preparing to unpack .../29-build-essential_12.12ubuntu2_ppc64el.deb ... 1005s Unpacking build-essential (12.12ubuntu2) ... 1005s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 1005s Preparing to unpack .../30-gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 1005s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 1005s Selecting previously unselected package native-architecture. 1005s Preparing to unpack .../31-native-architecture_0.2.6build1_all.deb ... 1005s Unpacking native-architecture (0.2.6build1) ... 1005s Selecting previously unselected package girepository-tools:ppc64el. 1005s Preparing to unpack .../32-girepository-tools_2.86.3-4_ppc64el.deb ... 1005s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 1005s Selecting previously unselected package libffi-dev:ppc64el. 1005s Preparing to unpack .../33-libffi-dev_3.5.2-3_ppc64el.deb ... 1005s Unpacking libffi-dev:ppc64el (3.5.2-3) ... 1005s Selecting previously unselected package uuid-dev:ppc64el. 1005s Preparing to unpack .../34-uuid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 1005s Unpacking uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 1005s Selecting previously unselected package libblkid-dev:ppc64el. 1005s Preparing to unpack .../35-libblkid-dev_2.41.2-4ubuntu2_ppc64el.deb ... 1005s Unpacking libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 1006s Selecting previously unselected package libsepol-dev:ppc64el. 1006s Preparing to unpack .../36-libsepol-dev_3.9-2_ppc64el.deb ... 1006s Unpacking libsepol-dev:ppc64el (3.9-2) ... 1006s Selecting previously unselected package libpcre2-16-0:ppc64el. 1006s Preparing to unpack .../37-libpcre2-16-0_10.46-1_ppc64el.deb ... 1006s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 1006s Selecting previously unselected package libpcre2-32-0:ppc64el. 1006s Preparing to unpack .../38-libpcre2-32-0_10.46-1_ppc64el.deb ... 1006s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 1006s Selecting previously unselected package libpcre2-posix3:ppc64el. 1006s Preparing to unpack .../39-libpcre2-posix3_10.46-1_ppc64el.deb ... 1006s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 1006s Selecting previously unselected package libpcre2-dev:ppc64el. 1006s Preparing to unpack .../40-libpcre2-dev_10.46-1_ppc64el.deb ... 1006s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 1006s Selecting previously unselected package libselinux-dev:ppc64el. 1006s Preparing to unpack .../41-libselinux-dev_3.9-4_ppc64el.deb ... 1006s Unpacking libselinux-dev:ppc64el (3.9-4) ... 1006s Selecting previously unselected package libmount-dev:ppc64el. 1006s Preparing to unpack .../42-libmount-dev_2.41.2-4ubuntu2_ppc64el.deb ... 1006s Unpacking libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 1006s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 1006s Preparing to unpack .../43-libsysprof-capture-4-dev_49.0-5_ppc64el.deb ... 1006s Unpacking libsysprof-capture-4-dev:ppc64el (49.0-5) ... 1006s Selecting previously unselected package libpkgconf3:ppc64el. 1006s Preparing to unpack .../44-libpkgconf3_1.8.1-4build1_ppc64el.deb ... 1006s Unpacking libpkgconf3:ppc64el (1.8.1-4build1) ... 1006s Selecting previously unselected package pkgconf-bin. 1006s Preparing to unpack .../45-pkgconf-bin_1.8.1-4build1_ppc64el.deb ... 1006s Unpacking pkgconf-bin (1.8.1-4build1) ... 1006s Selecting previously unselected package pkgconf:ppc64el. 1006s Preparing to unpack .../46-pkgconf_1.8.1-4build1_ppc64el.deb ... 1006s Unpacking pkgconf:ppc64el (1.8.1-4build1) ... 1006s Selecting previously unselected package zlib1g-dev:ppc64el. 1006s Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_ppc64el.deb ... 1006s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 1006s Selecting previously unselected package libgio-2.0-dev:ppc64el. 1006s Preparing to unpack .../48-libgio-2.0-dev_2.86.3-4_ppc64el.deb ... 1006s Unpacking libgio-2.0-dev:ppc64el (2.86.3-4) ... 1006s Selecting previously unselected package libgio-2.0-dev-bin. 1006s Preparing to unpack .../49-libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 1006s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 1006s Selecting previously unselected package libglib2.0-bin. 1006s Preparing to unpack .../50-libglib2.0-bin_2.86.3-4_ppc64el.deb ... 1006s Unpacking libglib2.0-bin (2.86.3-4) ... 1006s Selecting previously unselected package libglib2.0-dev-bin. 1006s Preparing to unpack .../51-libglib2.0-dev-bin_2.86.3-4_ppc64el.deb ... 1006s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 1006s Selecting previously unselected package libglib2.0-dev:ppc64el. 1006s Preparing to unpack .../52-libglib2.0-dev_2.86.3-4_ppc64el.deb ... 1006s Unpacking libglib2.0-dev:ppc64el (2.86.3-4) ... 1006s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 1006s Setting up native-architecture (0.2.6build1) ... 1006s Setting up linux-libc-dev:ppc64el (6.18.0-9.9) ... 1006s Setting up libglib2.0-bin (2.86.3-4) ... 1006s Setting up libgomp1:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up libffi-dev:ppc64el (3.5.2-3) ... 1006s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 1006s Setting up libsysprof-capture-4-dev:ppc64el (49.0-5) ... 1006s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 1006s Setting up libpkgconf3:ppc64el (1.8.1-4build1) ... 1006s Setting up rpcsvc-proto (1.4.3-1build1) ... 1006s Setting up libquadmath0:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up libmpc3:ppc64el (1.3.1-2) ... 1006s Setting up libsepol-dev:ppc64el (3.9-2) ... 1006s Setting up pkgconf-bin (1.8.1-4build1) ... 1006s Setting up libubsan1:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 1006s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 1006s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 1006s Setting up libasan8:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up libtsan2:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up libisl23:ppc64el (0.27-1build1) ... 1006s Setting up libc-dev-bin (2.42-2ubuntu5) ... 1006s Setting up libcc1-0:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up liblsan0:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up libitm1:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up girepository-tools:ppc64el (2.86.3-4) ... 1006s Setting up libgcc-15-dev:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up pkgconf:ppc64el (1.8.1-4build1) ... 1006s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 1006s Setting up cpp-15 (15.2.0-12ubuntu1) ... 1006s Setting up libc6-dev:ppc64el (2.42-2ubuntu5) ... 1006s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 1006s Setting up libglib2.0-dev-bin (2.86.3-4) ... 1006s Setting up libpcre2-dev:ppc64el (10.46-1) ... 1006s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 1006s Setting up gcc-15 (15.2.0-12ubuntu1) ... 1006s Setting up libstdc++-15-dev:ppc64el (15.2.0-12ubuntu1) ... 1006s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 1006s Setting up uuid-dev:ppc64el (2.41.2-4ubuntu2) ... 1006s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu2) ... 1006s Setting up cpp (4:15.2.0-4ubuntu1) ... 1006s Setting up libselinux-dev:ppc64el (3.9-4) ... 1006s Setting up libblkid-dev:ppc64el (2.41.2-4ubuntu2) ... 1006s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-12ubuntu1) ... 1006s Setting up gcc (4:15.2.0-4ubuntu1) ... 1006s Setting up g++-15 (15.2.0-12ubuntu1) ... 1006s Setting up libmount-dev:ppc64el (2.41.2-4ubuntu2) ... 1006s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 1006s Setting up libgio-2.0-dev:ppc64el (2.86.3-4) ... 1006s Setting up g++ (4:15.2.0-4ubuntu1) ... 1006s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 1006s Setting up build-essential (12.12ubuntu2) ... 1006s Processing triggers for install-info (7.2-5) ... 1007s Processing triggers for libc-bin (2.42-2ubuntu5) ... 1007s Processing triggers for man-db (2.13.1-1) ... 1008s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 1008s No schema files found: doing nothing. 1008s Setting up libglib2.0-dev:ppc64el (2.86.3-4) ... 1026s autopkgtest [04:31:53]: test libglib2.0-dev: [----------------------- 1027s + debian/tests/build 1027s + mode=dynamic 1027s + getopt -o --long static -n debian/tests/build -- 1027s + getopt_temp= -- 1027s + eval set -- -- 1027s + set -- -- 1027s + true 1027s + shift 1027s + break 1027s + mktemp -d 1027s + WORKDIR=/tmp/tmp.80r40otHgP 1027s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1027s + cd /tmp/tmp.80r40otHgP 1027s + [ -n ] 1027s + CROSS_COMPILE= 1027s + cat 1027s + cat 1027s + cat 1027s + cat 1027s + cat 1027s + cat 1027s + cflags= 1027s + pcflags= 1027s + packages=glib-2.0 1027s + pkg-config --cflags --libs glib-2.0 1027s + 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 1027s + echo build (glib, dynamic): OK 1027s + [ -x glib-dynamic ] 1027s + foo=bar ./glib-dynamic 1027s + echo run (glib, dynamic): OK 1027s + cflags= 1027s + pcflags= 1027s + packages=gobject-2.0 1027s + pkg-config --cflags --libs gobject-2.0 1027s + 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 1027s build (glib, dynamic): OK 1027s run (glib, dynamic): OK 1027s build (gobject, dynamic): OK 1027s + echo build (gobject, dynamic): OK 1027s + [ -x gobject-dynamic ] 1027s + foo=bar ./gobject-dynamic 1027s + echo run (gobject, dynamic): OK 1027s + cflags= 1027s + pcflags= 1027s + packages=gio-2.0 1027s + pkg-config --cflags --libs gio-2.0 1027s + 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 1027s run (gobject, dynamic): OK 1027s + echo build (gio, dynamic): OK 1027s + [ -x gio-dynamic ] 1027s + foo=bar ./gio-dynamic 1027s + echo run (gio, dynamic): OK 1027s + cflags= 1027s + pcflags= 1027s + packages=gio-unix-2.0 1027s + pkg-config --cflags --libs gio-unix-2.0 1027s + 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 1027s build (gio, dynamic): OK 1027s run (gio, dynamic): OK 1027s build (gio-unix, dynamic): OK 1027s + echo build (gio-unix, dynamic): OK 1027s + [ -x gio-unix-dynamic ] 1027s + foo=bar ./gio-unix-dynamic 1027s + run (gio-unix, dynamic): OK 1027s echo run (gio-unix, dynamic): OK 1027s + cflags= 1027s + pcflags= 1027s + packages=gmodule-2.0 1027s + pkg-config --cflags --libs gmodule-2.0 1027s + 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 1027s build (gmodule, dynamic): OK 1027s + echo build (gmodule, dynamic): OK 1027s + [ -x gmodule-dynamic ] 1027s + foo=bar ./gmodule-dynamic 1027s + echo run (gmodule, dynamic): OK 1027s + cflags= 1027s + pcflags= 1027s + packages=gthread-2.0 1027s + pkg-config --cflags --libs gthread-2.0 1027s run (gmodule, dynamic): OK 1027s + 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 1027s build (gthread, dynamic): OK 1027s + echo build (gthread, dynamic): OK 1027s + [ -x gthread-dynamic ] 1027s + foo=bar ./gthread-dynamic 1027s + echo run (gthread, dynamic): OK 1027s + rm -rf /tmp/tmp.80r40otHgP 1027s run (gthread, dynamic): OK 1027s + debian/tests/build-static 1027s + mode=dynamic 1027s + getopt -o --long static -n debian/tests/build -- --static 1027s + getopt_temp= --static -- 1027s + eval set -- --static -- 1027s + set -- --static -- 1027s + true 1027s + mode=static 1027s + shift 1027s + continue 1027s + true 1027s + shift 1027s + break 1027s + mktemp -d 1027s + WORKDIR=/tmp/tmp.I2tDbldDBu 1027s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1027s + cd /tmp/tmp.I2tDbldDBu 1027s + [ -n ] 1027s + CROSS_COMPILE= 1027s + cat 1027s + cat 1027s + cat 1027s + cat 1027s + cat 1027s + cat 1027s + cflags= 1027s + pcflags= 1027s + packages=glib-2.0 1027s + cflags=-static 1027s + pcflags=--static 1027s + pkg-config --static --cflags --libs glib-2.0 1027s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1027s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1027s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1027s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1027s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s build (glib, static): OK 1028s run (glib, static): OK 1028s + echo build (glib, static): OK 1028s + [ -x glib-static ] 1028s + foo=bar ./glib-static 1028s + echo run (glib, static): OK 1028s + cflags= 1028s + pcflags= 1028s + packages=gobject-2.0 1028s + cflags=-static 1028s + pcflags=--static 1028s + pkg-config --static --cflags --libs gobject-2.0 1028s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1028s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s build (gobject, static): OK 1028s run (gobject, static): OK 1028s + echo build (gobject, static): OK 1028s + [ -x gobject-static ] 1028s + foo=bar ./gobject-static 1028s + echo run (gobject, static): OK 1028s + cflags= 1028s + pcflags= 1028s + packages=gio-2.0 1028s + cflags=-static 1028s + pcflags=--static 1028s + continue 1028s + cflags= 1028s + pcflags= 1028s + packages=gio-unix-2.0 1028s + cflags=-static 1028s + pcflags=--static 1028s + continue 1028s + cflags= 1028s + pcflags= 1028s + packages=gmodule-2.0 1028s + cflags=-static 1028s + pcflags=--static 1028s + pkg-config --static --cflags --libs gmodule-2.0 1028s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 1028s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1028s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s build (gmodule, static): OK 1028s run (gmodule, static): OK 1028s + echo build (gmodule, static): OK 1028s + [ -x gmodule-static ] 1028s + foo=bar ./gmodule-static 1028s + echo run (gmodule, static): OK 1028s + cflags= 1028s + pcflags= 1028s + packages=gthread-2.0 1028s + cflags=-static 1028s + pcflags=--static 1028s + pkg-config --static --cflags --libs gthread-2.0 1028s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1028s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s /usr/bin/powerpc64le-linux-gnu-ld.bfd: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1028s build (gthread, static): OK 1028s + echo build (gthread, static): OK 1028s + [ -x gthread-static ] 1028s + foo=bar ./gthread-static 1028s run (gthread, static): OK 1028s + echo run (gthread, static): OK 1028s + rm -rf /tmp/tmp.I2tDbldDBu 1028s + debian/tests/girepository-tools 1028s + cd /tmp/autopkgtest.0jX8N3/autopkgtest_tmp 1028s + dpkg-architecture -qDEB_HOST_GNU_TYPE 1028s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 1028s + dpkg-architecture -qDEB_HOST_MULTIARCH 1028s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 1028s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1028s typelib: GLib-2.0 1028s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 1028s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 1028s + debian/tests/libgio-2.0-dev-bin 1028s + gdbus-codegen --help 1028s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1028s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1028s [--c-generate-autocleanup {none,objects,all}] 1028s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1028s [--generate-rst OUTFILES] [--pragma-once] 1028s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1028s [--glib-min-required VERSION] 1028s [--glib-max-allowed VERSION] 1028s [--symbol-decorator SYMBOL_DECORATOR] 1028s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1028s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1028s [--generate-c-code OUTFILES | --header | --body | 1028s --interface-info-header | --interface-info-body] 1028s [--output FILE | --output-directory OUTDIR] 1028s FILE [FILE ...] 1028s 1028s D-Bus code and documentation generator 1028s 1028s positional arguments: 1028s FILE D-Bus introspection XML file 1028s 1028s options: 1028s -h, --help show this help message and exit 1028s --interface-prefix PREFIX 1028s String to strip from D-Bus interface names for code 1028s and docs 1028s --c-namespace NAMESPACE 1028s The namespace to use for generated C code 1028s --c-generate-object-manager 1028s Generate a GDBusObjectManagerClient subclass when 1028s generating C code 1028s --c-generate-autocleanup {none,objects,all} 1028s Generate autocleanup support 1028s --generate-docbook OUTFILES 1028s Generate Docbook in OUTFILES-org.Project.IFace.xml 1028s --generate-md OUTFILES 1028s Generate Markdown in OUTFILES-org.Project.IFace.md 1028s --generate-rst OUTFILES 1028s Generate reStructuredText in OUTFILES- 1028s org.Project.IFace.rst 1028s --pragma-once Use "pragma once" as the inclusion guard 1028s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1028s Add annotation (may be used several times) 1028s --glib-min-required VERSION 1028s Minimum version of GLib to be supported by the 1028s outputted code (default: 2.30) 1028s --glib-max-allowed VERSION 1028s Maximum version of GLib to be used by the outputted 1028s code (default: current GLib version) 1028s --symbol-decorator SYMBOL_DECORATOR 1028s Macro used to decorate a symbol in the outputted 1028s header, possibly to export symbols 1028s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1028s Additional header required for decorator specified by 1028s --symbol-decorator 1028s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1028s Additional define required for decorator specified by 1028s --symbol-decorator 1028s --generate-c-code OUTFILES 1028s Generate C code in OUTFILES.[ch] 1028s --header Generate C headers 1028s --body Generate C code 1028s --interface-info-header 1028s Generate GDBusInterfaceInfo C header 1028s --interface-info-body 1028s Generate GDBusInterfaceInfo C code 1028s --output FILE Write output into the specified file 1028s --output-directory OUTDIR 1028s Location to output generated files 1028s + glib-compile-resources --version 1028s 2.86.3 1028s + glib-genmarshal --version 1029s glib-genmarshal version 2.86.3 1029s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1029s You may redistribute copies of glib-genmarshal under the terms of 1029s the GNU General Public License which can be found in the 1029s GLib source package. Sources, examples and contact 1029s information are available at http://www.gtk.org 1029s + glib-gettextize --version 1029s /usr/bin/glib-gettextize (GNU glib) 2.86.3 1029s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1029s This is free software; see the source for copying conditions. There is NO 1029s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1029s Written by Ulrich Drepper 1029s + glib-mkenums --version 1029s glib-mkenums version 2.86.3 1029s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1029s You may redistribute copies of glib-mkenums under the terms of 1029s the GNU General Public License which can be found in the 1029s GLib source package. Sources, examples and contact 1029s information are available at http://www.gtk.org 1029s GObject 1029s + gobject-query tree 1029s + gtester --version 1029s gtester version 2.86.3 1029s + gtester-report --version 1029s gtester-report (GLib utils) version 2.86.3. 1029s + cd /tmp/autopkgtest.0jX8N3/autopkgtest_tmp 1029s + dpkg-architecture -qDEB_HOST_MULTIARCH 1029s typelib: GLib-2.0 1029s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 1029s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1029s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 1029s + gi-decompile-typelib -o GLib.gir GLib.typelib 1029s autopkgtest [04:31:56]: test libglib2.0-dev: -----------------------] 1030s autopkgtest [04:31:57]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 1030s libglib2.0-dev PASS (superficial) 1030s autopkgtest [04:31:57]: test installed-tests: preparing testbed 1052s Creating nova instance adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134 from image adt/ubuntu-resolute-ppc64el-server-20260205.img (UUID f866c950-0b62-4023-bac6-0f13279e15ed)... 1105s autopkgtest [04:33:12]: testbed dpkg architecture: ppc64el 1105s autopkgtest [04:33:12]: testbed apt version: 3.1.14 1106s autopkgtest [04:33:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1106s autopkgtest [04:33:13]: testbed release detected to be: resolute 1107s autopkgtest [04:33:14]: updating testbed package index (apt update) 1107s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1107s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1107s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1107s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1107s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [227 kB] 1107s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1719 kB] 1107s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 1107s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 1107s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [257 kB] 1107s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1449 kB] 1107s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.6 kB] 1108s Fetched 3839 kB in 1s (4791 kB/s) 1108s Reading package lists... 1109s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1109s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1109s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1109s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1110s Reading package lists... 1110s Reading package lists... 1110s Building dependency tree... 1110s Reading state information... 1111s Calculating upgrade... 1111s The following packages will be upgraded: 1111s libc-bin libc-gconv-modules-extra libc6 locales pollinate 1111s python3-referencing sed 1111s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1111s Need to get 8612 kB of archives. 1111s After this operation, 0 B of additional disk space will be used. 1111s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el sed ppc64el 4.9-2build3 [211 kB] 1111s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-gconv-modules-extra ppc64el 2.42-2ubuntu5 [1448 kB] 1111s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc6 ppc64el 2.42-2ubuntu5 [1913 kB] 1112s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-bin ppc64el 2.42-2ubuntu5 [748 kB] 1112s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el locales all 2.42-2ubuntu5 [4255 kB] 1112s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el pollinate all 4.33-4ubuntu5 [14.0 kB] 1112s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 1113s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1113s Fetched 8612 kB in 1s (5793 kB/s) 1113s (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 ... 82008 files and directories currently installed.) 1113s Preparing to unpack .../sed_4.9-2build3_ppc64el.deb ... 1113s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 1113s Setting up sed (4.9-2build3) ... 1114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 82008 files and directories currently installed.) 1114s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_ppc64el.deb ... 1114s Unpacking libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1114s Setting up libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) ... 1114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 82008 files and directories currently installed.) 1114s Preparing to unpack .../libc6_2.42-2ubuntu5_ppc64el.deb ... 1114s Unpacking libc6:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1115s Setting up libc6:ppc64el (2.42-2ubuntu5) ... 1115s (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 ... 82008 files and directories currently installed.) 1115s Preparing to unpack .../libc-bin_2.42-2ubuntu5_ppc64el.deb ... 1115s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1115s Setting up libc-bin (2.42-2ubuntu5) ... 1115s (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 ... 82008 files and directories currently installed.) 1115s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 1115s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1116s Preparing to unpack .../pollinate_4.33-4ubuntu5_all.deb ... 1116s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 1116s Preparing to unpack .../python3-referencing_0.36.2-1ubuntu2_all.deb ... 1116s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 1116s Setting up locales (2.42-2ubuntu5) ... 1117s Generating locales (this might take a while)... 1118s en_US.UTF-8... done 1118s Generation complete. 1118s Setting up pollinate (4.33-4ubuntu5) ... 1129s Setting up python3-referencing (0.36.2-1ubuntu2) ... 1129s Processing triggers for man-db (2.13.1-1) ... 1133s Processing triggers for install-info (7.2-5) ... 1133s Processing triggers for systemd (259-1ubuntu3) ... 1134s autopkgtest [04:33:41]: upgrading testbed (apt dist-upgrade and autopurge) 1134s Reading package lists... 1134s Building dependency tree... 1134s Reading state information... 1135s Calculating upgrade... 1135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1135s Reading package lists... 1135s Building dependency tree... 1135s Reading state information... 1135s Solving dependencies... 1135s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1136s autopkgtest [04:33:43]: rebooting testbed after setup commands that affected boot 1179s Reading package lists... 1179s Building dependency tree... 1179s Reading state information... 1179s Solving dependencies... 1179s The following NEW packages will be installed: 1179s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 1179s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin libgl1 1179s libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0 1179s libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libunwind8 libvulkan1 1179s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 1179s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 1179s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 1179s mesa-libgallium native-architecture python3-dbusmock tzdata-legacy 1179s x11-common x11-xkb-utils xserver-common xvfb 1180s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded. 1180s Need to get 19.9 MB of archives. 1180s After this operation, 114 MB of additional disk space will be used. 1180s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el dbus-x11 ppc64el 1.16.2-2ubuntu2 [24.4 kB] 1180s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el desktop-file-utils ppc64el 0.28-1build1 [62.3 kB] 1180s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.86.3-4 [865 kB] 1180s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el native-architecture all 0.2.6build1 [2256 B] 1180s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el girepository-tools ppc64el 2.86.3-4 [135 kB] 1180s Get:6 http://ftpmaster.internal/ubuntu resolute/universe ppc64el gnome-desktop-testing ppc64el 2021.1-5 [17.8 kB] 1180s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build2 [16.1 kB] 1180s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libx11-xcb1 ppc64el 2:1.8.12-1build1 [8022 B] 1180s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2ubuntu1 [7964 B] 1180s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-present0 ppc64el 1.17.0-2ubuntu1 [6340 B] 1180s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-randr0 ppc64el 1.17.0-2ubuntu1 [19.1 kB] 1180s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-sync1 ppc64el 1.17.0-2ubuntu1 [9864 B] 1180s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2ubuntu1 [10.8 kB] 1180s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxshmfence1 ppc64el 1.3.3-1build1 [5420 B] 1180s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el mesa-libgallium ppc64el 25.3.3-1ubuntu1 [12.5 MB] 1181s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgbm1 ppc64el 25.3.3-1ubuntu1 [41.7 kB] 1181s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgio-2.0-dev-bin ppc64el 2.86.3-4 [131 kB] 1181s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libvulkan1 ppc64el 1.4.335.0-1 [175 kB] 1181s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1-mesa-dri ppc64el 25.3.3-1ubuntu1 [36.4 kB] 1181s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-bin ppc64el 2.86.3-4 [111 kB] 1181s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-dev-bin ppc64el 2.86.3-4 [18.2 kB] 1181s Get:22 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-dbusmock all 0.38.1-1 [92.0 kB] 1181s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el tzdata-legacy all 2025c-3ubuntu3 [99.3 kB] 1181s Get:24 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libglib2.0-tests ppc64el 2.86.3-4 [2434 kB] 1181s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-glx0 ppc64el 1.17.0-2ubuntu1 [26.4 kB] 1181s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxcb-shm0 ppc64el 1.17.0-2ubuntu1 [6072 B] 1181s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-2 [12.0 kB] 1181s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx-mesa0 ppc64el 25.3.3-1ubuntu1 [132 kB] 1181s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-common all 1:7.7+24ubuntu1 [22.4 kB] 1181s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el libice6 ppc64el 2:1.1.1-1build1 [51.9 kB] 1181s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpixman-1-0 ppc64el 0.46.4-1 [347 kB] 1181s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el libsm6 ppc64el 2:1.2.6-1 [18.6 kB] 1181s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libunwind8 ppc64el 1.8.3-0ubuntu1 [68.2 kB] 1181s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.3 [203 kB] 1181s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxmu6 ppc64el 2:1.1.3-4 [56.9 kB] 1181s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxpm4 ppc64el 1:3.5.17-1build3 [50.5 kB] 1181s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxaw7 ppc64el 2:1.0.16-1build1 [234 kB] 1181s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxfont2 ppc64el 1:2.0.6-2 [119 kB] 1181s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build5 [90.2 kB] 1181s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrender1 ppc64el 1:0.9.12-1 [23.0 kB] 1181s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el libxrandr2 ppc64el 2:1.5.4-1build1 [21.7 kB] 1181s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el x11-xkb-utils ppc64el 7.7+9build1 [202 kB] 1181s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB] 1181s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglvnd0 ppc64el 1.7.0-3 [67.2 kB] 1181s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglx0 ppc64el 1.7.0-3 [42.3 kB] 1181s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgl1 ppc64el 1.7.0-3 [103 kB] 1181s Get:47 http://ftpmaster.internal/ubuntu resolute/universe ppc64el xvfb ppc64el 2:21.1.21-1ubuntu1 [1135 kB] 1182s Fetched 19.9 MB in 2s (11.0 MB/s) 1182s Selecting previously unselected package dbus-x11. 1182s (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 ... 82008 files and directories currently installed.) 1182s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_ppc64el.deb ... 1182s Unpacking dbus-x11 (1.16.2-2ubuntu2) ... 1182s Selecting previously unselected package desktop-file-utils. 1182s Preparing to unpack .../01-desktop-file-utils_0.28-1build1_ppc64el.deb ... 1182s Unpacking desktop-file-utils (0.28-1build1) ... 1182s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 1182s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.3-4_ppc64el.deb ... 1182s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 1182s Selecting previously unselected package native-architecture. 1182s Preparing to unpack .../03-native-architecture_0.2.6build1_all.deb ... 1182s Unpacking native-architecture (0.2.6build1) ... 1182s Selecting previously unselected package girepository-tools:ppc64el. 1182s Preparing to unpack .../04-girepository-tools_2.86.3-4_ppc64el.deb ... 1182s Unpacking girepository-tools:ppc64el (2.86.3-4) ... 1182s Selecting previously unselected package gnome-desktop-testing. 1182s Preparing to unpack .../05-gnome-desktop-testing_2021.1-5_ppc64el.deb ... 1182s Unpacking gnome-desktop-testing (2021.1-5) ... 1182s Selecting previously unselected package libfontenc1:ppc64el. 1182s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1build2_ppc64el.deb ... 1182s Unpacking libfontenc1:ppc64el (1:1.1.8-1build2) ... 1182s Selecting previously unselected package libx11-xcb1:ppc64el. 1182s Preparing to unpack .../07-libx11-xcb1_2%3a1.8.12-1build1_ppc64el.deb ... 1182s Unpacking libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 1182s Selecting previously unselected package libxcb-dri3-0:ppc64el. 1182s Preparing to unpack .../08-libxcb-dri3-0_1.17.0-2ubuntu1_ppc64el.deb ... 1182s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2ubuntu1) ... 1182s Selecting previously unselected package libxcb-present0:ppc64el. 1182s Preparing to unpack .../09-libxcb-present0_1.17.0-2ubuntu1_ppc64el.deb ... 1182s Unpacking libxcb-present0:ppc64el (1.17.0-2ubuntu1) ... 1182s Selecting previously unselected package libxcb-randr0:ppc64el. 1182s Preparing to unpack .../10-libxcb-randr0_1.17.0-2ubuntu1_ppc64el.deb ... 1182s Unpacking libxcb-randr0:ppc64el (1.17.0-2ubuntu1) ... 1182s Selecting previously unselected package libxcb-sync1:ppc64el. 1182s Preparing to unpack .../11-libxcb-sync1_1.17.0-2ubuntu1_ppc64el.deb ... 1182s Unpacking libxcb-sync1:ppc64el (1.17.0-2ubuntu1) ... 1182s Selecting previously unselected package libxcb-xfixes0:ppc64el. 1182s Preparing to unpack .../12-libxcb-xfixes0_1.17.0-2ubuntu1_ppc64el.deb ... 1182s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2ubuntu1) ... 1182s Selecting previously unselected package libxshmfence1:ppc64el. 1182s Preparing to unpack .../13-libxshmfence1_1.3.3-1build1_ppc64el.deb ... 1182s Unpacking libxshmfence1:ppc64el (1.3.3-1build1) ... 1182s Selecting previously unselected package mesa-libgallium:ppc64el. 1182s Preparing to unpack .../14-mesa-libgallium_25.3.3-1ubuntu1_ppc64el.deb ... 1182s Unpacking mesa-libgallium:ppc64el (25.3.3-1ubuntu1) ... 1182s Selecting previously unselected package libgbm1:ppc64el. 1182s Preparing to unpack .../15-libgbm1_25.3.3-1ubuntu1_ppc64el.deb ... 1182s Unpacking libgbm1:ppc64el (25.3.3-1ubuntu1) ... 1182s Selecting previously unselected package libgio-2.0-dev-bin. 1182s Preparing to unpack .../16-libgio-2.0-dev-bin_2.86.3-4_ppc64el.deb ... 1182s Unpacking libgio-2.0-dev-bin (2.86.3-4) ... 1182s Selecting previously unselected package libvulkan1:ppc64el. 1182s Preparing to unpack .../17-libvulkan1_1.4.335.0-1_ppc64el.deb ... 1182s Unpacking libvulkan1:ppc64el (1.4.335.0-1) ... 1182s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 1182s Preparing to unpack .../18-libgl1-mesa-dri_25.3.3-1ubuntu1_ppc64el.deb ... 1182s Unpacking libgl1-mesa-dri:ppc64el (25.3.3-1ubuntu1) ... 1183s Selecting previously unselected package libglib2.0-bin. 1183s Preparing to unpack .../19-libglib2.0-bin_2.86.3-4_ppc64el.deb ... 1183s Unpacking libglib2.0-bin (2.86.3-4) ... 1183s Selecting previously unselected package libglib2.0-dev-bin. 1183s Preparing to unpack .../20-libglib2.0-dev-bin_2.86.3-4_ppc64el.deb ... 1183s Unpacking libglib2.0-dev-bin (2.86.3-4) ... 1183s Selecting previously unselected package python3-dbusmock. 1183s Preparing to unpack .../21-python3-dbusmock_0.38.1-1_all.deb ... 1183s Unpacking python3-dbusmock (0.38.1-1) ... 1183s Selecting previously unselected package tzdata-legacy. 1183s Preparing to unpack .../22-tzdata-legacy_2025c-3ubuntu3_all.deb ... 1183s Unpacking tzdata-legacy (2025c-3ubuntu3) ... 1183s Selecting previously unselected package libglib2.0-tests. 1183s Preparing to unpack .../23-libglib2.0-tests_2.86.3-4_ppc64el.deb ... 1183s Unpacking libglib2.0-tests (2.86.3-4) ... 1183s Selecting previously unselected package libxcb-glx0:ppc64el. 1183s Preparing to unpack .../24-libxcb-glx0_1.17.0-2ubuntu1_ppc64el.deb ... 1183s Unpacking libxcb-glx0:ppc64el (1.17.0-2ubuntu1) ... 1183s Selecting previously unselected package libxcb-shm0:ppc64el. 1183s Preparing to unpack .../25-libxcb-shm0_1.17.0-2ubuntu1_ppc64el.deb ... 1183s Unpacking libxcb-shm0:ppc64el (1.17.0-2ubuntu1) ... 1183s Selecting previously unselected package libxxf86vm1:ppc64el. 1183s Preparing to unpack .../26-libxxf86vm1_1%3a1.1.4-2_ppc64el.deb ... 1183s Unpacking libxxf86vm1:ppc64el (1:1.1.4-2) ... 1183s Selecting previously unselected package libglx-mesa0:ppc64el. 1183s Preparing to unpack .../27-libglx-mesa0_25.3.3-1ubuntu1_ppc64el.deb ... 1183s Unpacking libglx-mesa0:ppc64el (25.3.3-1ubuntu1) ... 1183s Selecting previously unselected package x11-common. 1183s Preparing to unpack .../28-x11-common_1%3a7.7+24ubuntu1_all.deb ... 1183s Unpacking x11-common (1:7.7+24ubuntu1) ... 1183s Selecting previously unselected package libice6:ppc64el. 1183s Preparing to unpack .../29-libice6_2%3a1.1.1-1build1_ppc64el.deb ... 1183s Unpacking libice6:ppc64el (2:1.1.1-1build1) ... 1183s Selecting previously unselected package libpixman-1-0:ppc64el. 1183s Preparing to unpack .../30-libpixman-1-0_0.46.4-1_ppc64el.deb ... 1183s Unpacking libpixman-1-0:ppc64el (0.46.4-1) ... 1183s Selecting previously unselected package libsm6:ppc64el. 1183s Preparing to unpack .../31-libsm6_2%3a1.2.6-1_ppc64el.deb ... 1183s Unpacking libsm6:ppc64el (2:1.2.6-1) ... 1183s Selecting previously unselected package libunwind8:ppc64el. 1183s Preparing to unpack .../32-libunwind8_1.8.3-0ubuntu1_ppc64el.deb ... 1183s Unpacking libunwind8:ppc64el (1.8.3-0ubuntu1) ... 1183s Selecting previously unselected package libxt6t64:ppc64el. 1183s Preparing to unpack .../33-libxt6t64_1%3a1.2.1-1.3_ppc64el.deb ... 1183s Unpacking libxt6t64:ppc64el (1:1.2.1-1.3) ... 1183s Selecting previously unselected package libxmu6:ppc64el. 1183s Preparing to unpack .../34-libxmu6_2%3a1.1.3-4_ppc64el.deb ... 1183s Unpacking libxmu6:ppc64el (2:1.1.3-4) ... 1183s Selecting previously unselected package libxpm4:ppc64el. 1183s Preparing to unpack .../35-libxpm4_1%3a3.5.17-1build3_ppc64el.deb ... 1183s Unpacking libxpm4:ppc64el (1:3.5.17-1build3) ... 1183s Selecting previously unselected package libxaw7:ppc64el. 1183s Preparing to unpack .../36-libxaw7_2%3a1.0.16-1build1_ppc64el.deb ... 1183s Unpacking libxaw7:ppc64el (2:1.0.16-1build1) ... 1183s Selecting previously unselected package libxfont2:ppc64el. 1183s Preparing to unpack .../37-libxfont2_1%3a2.0.6-2_ppc64el.deb ... 1183s Unpacking libxfont2:ppc64el (1:2.0.6-2) ... 1183s Selecting previously unselected package libxkbfile1:ppc64el. 1183s Preparing to unpack .../38-libxkbfile1_1%3a1.1.0-1build5_ppc64el.deb ... 1183s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build5) ... 1183s Selecting previously unselected package libxrender1:ppc64el. 1183s Preparing to unpack .../39-libxrender1_1%3a0.9.12-1_ppc64el.deb ... 1183s Unpacking libxrender1:ppc64el (1:0.9.12-1) ... 1183s Selecting previously unselected package libxrandr2:ppc64el. 1183s Preparing to unpack .../40-libxrandr2_2%3a1.5.4-1build1_ppc64el.deb ... 1183s Unpacking libxrandr2:ppc64el (2:1.5.4-1build1) ... 1183s Selecting previously unselected package x11-xkb-utils. 1183s Preparing to unpack .../41-x11-xkb-utils_7.7+9build1_ppc64el.deb ... 1183s Unpacking x11-xkb-utils (7.7+9build1) ... 1183s Selecting previously unselected package xserver-common. 1183s Preparing to unpack .../42-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ... 1183s Unpacking xserver-common (2:21.1.21-1ubuntu1) ... 1183s Selecting previously unselected package libglvnd0:ppc64el. 1183s Preparing to unpack .../43-libglvnd0_1.7.0-3_ppc64el.deb ... 1183s Unpacking libglvnd0:ppc64el (1.7.0-3) ... 1183s Selecting previously unselected package libglx0:ppc64el. 1183s Preparing to unpack .../44-libglx0_1.7.0-3_ppc64el.deb ... 1183s Unpacking libglx0:ppc64el (1.7.0-3) ... 1183s Selecting previously unselected package libgl1:ppc64el. 1183s Preparing to unpack .../45-libgl1_1.7.0-3_ppc64el.deb ... 1183s Unpacking libgl1:ppc64el (1.7.0-3) ... 1183s Selecting previously unselected package xvfb. 1183s Preparing to unpack .../46-xvfb_2%3a21.1.21-1ubuntu1_ppc64el.deb ... 1183s Unpacking xvfb (2:21.1.21-1ubuntu1) ... 1183s Setting up gnome-desktop-testing (2021.1-5) ... 1183s Setting up libxcb-dri3-0:ppc64el (1.17.0-2ubuntu1) ... 1183s Setting up libpixman-1-0:ppc64el (0.46.4-1) ... 1183s Setting up libx11-xcb1:ppc64el (2:1.8.12-1build1) ... 1183s Setting up libgio-2.0-dev-bin (2.86.3-4) ... 1183s Setting up native-architecture (0.2.6build1) ... 1183s Setting up libxcb-xfixes0:ppc64el (1.17.0-2ubuntu1) ... 1183s Setting up desktop-file-utils (0.28-1build1) ... 1183s Setting up libxpm4:ppc64el (1:3.5.17-1build3) ... 1183s Setting up libxrender1:ppc64el (1:0.9.12-1) ... 1183s Setting up libglvnd0:ppc64el (1.7.0-3) ... 1183s Setting up libxcb-glx0:ppc64el (1.17.0-2ubuntu1) ... 1183s Setting up x11-common (1:7.7+24ubuntu1) ... 1184s Setting up libglib2.0-bin (2.86.3-4) ... 1184s Setting up libxcb-shm0:ppc64el (1.17.0-2ubuntu1) ... 1184s Setting up python3-dbusmock (0.38.1-1) ... 1184s Setting up libunwind8:ppc64el (1.8.3-0ubuntu1) ... 1184s Setting up tzdata-legacy (2025c-3ubuntu3) ... 1184s Setting up libxxf86vm1:ppc64el (1:1.1.4-2) ... 1184s Setting up libxcb-present0:ppc64el (1.17.0-2ubuntu1) ... 1184s Setting up libfontenc1:ppc64el (1:1.1.8-1build2) ... 1184s Setting up libxcb-sync1:ppc64el (1.17.0-2ubuntu1) ... 1184s Setting up libxrandr2:ppc64el (2:1.5.4-1build1) ... 1184s Setting up libvulkan1:ppc64el (1.4.335.0-1) ... 1184s Setting up gir1.2-glib-2.0-dev:ppc64el (2.86.3-4) ... 1184s Setting up libxshmfence1:ppc64el (1.3.3-1build1) ... 1184s Setting up dbus-x11 (1.16.2-2ubuntu2) ... 1184s Setting up libxcb-randr0:ppc64el (1.17.0-2ubuntu1) ... 1184s Setting up libxkbfile1:ppc64el (1:1.1.0-1build5) ... 1184s Setting up libxfont2:ppc64el (1:2.0.6-2) ... 1184s Setting up libice6:ppc64el (2:1.1.1-1build1) ... 1184s Setting up mesa-libgallium:ppc64el (25.3.3-1ubuntu1) ... 1184s Setting up girepository-tools:ppc64el (2.86.3-4) ... 1184s Setting up libgbm1:ppc64el (25.3.3-1ubuntu1) ... 1184s Setting up libgl1-mesa-dri:ppc64el (25.3.3-1ubuntu1) ... 1184s Setting up libsm6:ppc64el (2:1.2.6-1) ... 1184s Setting up libglib2.0-dev-bin (2.86.3-4) ... 1184s Setting up libglx-mesa0:ppc64el (25.3.3-1ubuntu1) ... 1184s Setting up libglx0:ppc64el (1.7.0-3) ... 1184s Setting up libgl1:ppc64el (1.7.0-3) ... 1184s Setting up libxt6t64:ppc64el (1:1.2.1-1.3) ... 1184s Setting up libglib2.0-tests (2.86.3-4) ... 1184s Setting up libxmu6:ppc64el (2:1.1.3-4) ... 1184s Setting up libxaw7:ppc64el (2:1.0.16-1build1) ... 1184s Setting up x11-xkb-utils (7.7+9build1) ... 1184s Setting up xserver-common (2:21.1.21-1ubuntu1) ... 1184s Setting up xvfb (2:21.1.21-1ubuntu1) ... 1184s Processing triggers for man-db (2.13.1-1) ... 1185s Processing triggers for libc-bin (2.42-2ubuntu5) ... 1200s autopkgtest [04:34:47]: test installed-tests: [----------------------- 1200s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1200s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1200s group entry: ubuntu:x:1000: 1200s Environment: 1200s ADTTMP=/tmp/autopkgtest.0jX8N3/autopkgtest_tmp 1200s ADT_ARTIFACTS=/tmp/autopkgtest.0jX8N3/installed-tests-artifacts 1200s ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5 1200s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.0jX8N3/installed-tests-artifacts 1200s AUTOPKGTEST_TESTBED_ARCH=ppc64el 1200s AUTOPKGTEST_TEST_ARCH=ppc64el 1200s AUTOPKGTEST_TMP=/tmp/autopkgtest.0jX8N3/autopkgtest_tmp 1200s DEBIAN_FRONTEND=noninteractive 1200s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 1200s DEB_BUILD_OPTIONS=parallel=2 1200s GIO_USE_VFS=local 1200s GIO_USE_VOLUME_MONITOR=unix 1200s HOME=/home/ubuntu 1200s LANG=C.UTF-8 1200s LOGNAME=ubuntu 1200s MAIL=/var/mail/ubuntu 1200s OLDPWD=/home/ubuntu 1200s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1200s PWD=/tmp/autopkgtest.0jX8N3/build.uX2/src 1200s SHELL=/bin/bash 1200s SHLVL=1 1200s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.0jX8N3/wrapper.sh --artifacts=/tmp/autopkgtest.0jX8N3/installed-tests-artifacts --chdir=/tmp/autopkgtest.0jX8N3/build.uX2/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.0jX8N3/installed-tests-stderr --stdout=/tmp/autopkgtest.0jX8N3/installed-tests-stdout --tmp=/tmp/autopkgtest.0jX8N3/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=glibc/2.42-2ubuntu5 --make-executable=/tmp/autopkgtest.0jX8N3/build.uX2/src/debian/tests/installed-tests -- /tmp/autopkgtest.0jX8N3/build.uX2/src/debian/tests/installed-tests 1200s SUDO_GID=1000 1200s SUDO_HOME=/home/ubuntu 1200s SUDO_UID=1000 1200s SUDO_USER=ubuntu 1200s TERM=linux 1200s USER=ubuntu 1200s XDG_RUNTIME_DIR=/tmp/autopkgtest.0jX8N3/autopkgtest_tmp 1200s http_proxy=http://egress.ps7.internal:3128/ 1200s https_proxy=http://egress.ps7.internal:3128/ 1200s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain 1200s run-with-locales: de_DE=ISO-8859-1... 1200s Character set: ISO-8859-1 1200s Source file: de_DE 1200s Output: /tmp/tmp.HkFFSEsvFc/de_DE 1200s run-with-locales: de_DE.utf8... 1200s Character set: UTF-8 1200s Source file: de_DE 1200s Output: /tmp/tmp.HkFFSEsvFc/de_DE.utf8 1202s run-with-locales: de_DE@euro.utf8... 1202s Character set: UTF-8 1202s Source file: de_DE@euro 1202s Output: /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8 1203s run-with-locales: el_GR.utf8... 1203s Character set: UTF-8 1203s Source file: el_GR 1203s Output: /tmp/tmp.HkFFSEsvFc/el_GR.utf8 1205s run-with-locales: en_GB=ISO-8859-1... 1205s Character set: ISO-8859-1 1205s Source file: en_GB 1205s Output: /tmp/tmp.HkFFSEsvFc/en_GB 1205s run-with-locales: en_GB.utf8... 1205s Character set: UTF-8 1205s Source file: en_GB 1205s Output: /tmp/tmp.HkFFSEsvFc/en_GB.utf8 1206s run-with-locales: en_US=ISO-8859-1... 1206s Character set: ISO-8859-1 1206s Source file: en_US 1206s Output: /tmp/tmp.HkFFSEsvFc/en_US 1207s run-with-locales: en_US.utf8... 1207s Character set: UTF-8 1207s Source file: en_US 1207s Output: /tmp/tmp.HkFFSEsvFc/en_US.utf8 1208s run-with-locales: es_ES.utf8... 1208s Character set: UTF-8 1208s Source file: es_ES 1208s Output: /tmp/tmp.HkFFSEsvFc/es_ES.utf8 1209s run-with-locales: fa_IR=UTF-8... 1209s Character set: UTF-8 1209s Source file: fa_IR 1209s Output: /tmp/tmp.HkFFSEsvFc/fa_IR 1211s run-with-locales: fa_IR.utf8... 1211s Character set: UTF-8 1211s Source file: fa_IR 1211s Output: /tmp/tmp.HkFFSEsvFc/fa_IR.utf8 1212s run-with-locales: fr_FR.utf8... 1212s Character set: UTF-8 1212s Source file: fr_FR 1212s Output: /tmp/tmp.HkFFSEsvFc/fr_FR.utf8 1213s run-with-locales: hr_HR.utf8... 1213s Character set: UTF-8 1213s Source file: hr_HR 1213s Output: /tmp/tmp.HkFFSEsvFc/hr_HR.utf8 1215s run-with-locales: ja_JP.utf8... 1215s Character set: UTF-8 1215s Source file: ja_JP 1215s Output: /tmp/tmp.HkFFSEsvFc/ja_JP.utf8 1216s run-with-locales: ja_JP.EUC-JP... 1216s Character set: EUC-JP 1216s Source file: ja_JP 1216s Output: /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp 1216s run-with-locales: lt_LT.utf8... 1216s Character set: UTF-8 1216s Source file: lt_LT 1216s Output: /tmp/tmp.HkFFSEsvFc/lt_LT.utf8 1217s run-with-locales: pl_PL=ISO-8859-2... 1217s Character set: ISO-8859-2 1217s Source file: pl_PL 1217s Output: /tmp/tmp.HkFFSEsvFc/pl_PL 1218s run-with-locales: pl_PL.ISO-8859-2... 1218s Character set: ISO-8859-2 1218s Source file: pl_PL 1218s Output: /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592 1218s run-with-locales: pl_PL.utf8... 1218s Character set: UTF-8 1218s Source file: pl_PL 1218s Output: /tmp/tmp.HkFFSEsvFc/pl_PL.utf8 1220s run-with-locales: ru_RU=ISO-8859-5... 1220s Character set: ISO-8859-5 1220s Source file: ru_RU 1220s Output: /tmp/tmp.HkFFSEsvFc/ru_RU 1220s run-with-locales: ru_RU.utf8... 1220s Character set: UTF-8 1220s Source file: ru_RU 1220s Output: /tmp/tmp.HkFFSEsvFc/ru_RU.utf8 1221s run-with-locales: sr_RS=UTF-8... 1221s Character set: UTF-8 1221s Source file: sr_RS 1221s Output: /tmp/tmp.HkFFSEsvFc/sr_RS 1223s run-with-locales: sr_RS@latin=UTF-8... 1223s Character set: UTF-8 1223s Source file: sr_RS@latin 1223s Output: /tmp/tmp.HkFFSEsvFc/sr_RS@latin 1224s run-with-locales: sv_SE=ISO-8859-1... 1224s Character set: ISO-8859-1 1224s Source file: sv_SE 1224s Output: /tmp/tmp.HkFFSEsvFc/sv_SE 1224s run-with-locales: sv_SE.utf8... 1224s Character set: UTF-8 1224s Source file: sv_SE 1224s Output: /tmp/tmp.HkFFSEsvFc/sv_SE.utf8 1226s run-with-locales: tr_TR=ISO-8859-9... 1226s Character set: ISO-8859-9 1226s Source file: tr_TR 1226s Output: /tmp/tmp.HkFFSEsvFc/tr_TR 1226s run-with-locales: tr_TR.utf8... 1226s Character set: UTF-8 1226s Source file: tr_TR 1226s Output: /tmp/tmp.HkFFSEsvFc/tr_TR.utf8 1227s run-with-locales: tt_RU=UTF-8... 1227s Character set: UTF-8 1227s Source file: tt_RU 1227s Output: /tmp/tmp.HkFFSEsvFc/tt_RU 1229s run-with-locales: tt_RU.utf8... 1229s Character set: UTF-8 1229s Source file: tt_RU 1229s Output: /tmp/tmp.HkFFSEsvFc/tt_RU.utf8 1230s run-with-locales: tt_RU@iqtelif=UTF-8... 1230s Character set: UTF-8 1230s Source file: tt_RU@iqtelif 1230s Output: /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif 1231s /tmp/tmp.HkFFSEsvFc 1231s /tmp/tmp.HkFFSEsvFc/sv_SE 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/sv_SE/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/fr_FR.utf8/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/de_DE.utf8/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/tt_RU.utf8/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/sr_RS 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/sr_RS/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/en_GB 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/en_GB/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/pl_PL 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/pl_PL/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/fa_IR.utf8/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/es_ES.utf8/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/de_DE@euro.utf8/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/tt_RU@iqtelif/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/sv_SE.utf8/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/ja_JP.eucjp/LC_TELEPHONE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_TIME 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_PAPER 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_MEASUREMENT 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_COLLATE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_NAME 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_MONETARY 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_CTYPE 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_ADDRESS 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_NUMERIC 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_IDENTIFICATION 1231s /tmp/tmp.HkFFSEsvFc/tt_RU/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/en_US.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/el_GR.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/sr_RS@latin/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/pl_PL.iso88592/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/hr_HR.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/en_US 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/en_US/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/fa_IR 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/fa_IR/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/tr_TR.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/tr_TR 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/tr_TR/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/ru_RU.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/lt_LT.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/ja_JP.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/de_DE 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/de_DE/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/en_GB.1..332 1232s # Running test: glib/portal-support-flatpak-gsettings-only.test 1232s ok - glib/portal-support-flatpak-gsettings-only.test 1232s # Running test: glib/contexts.test 1232s utf8 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/en_GB.utf8/LC_TELEPHONE 1232s /tmp/tmp.HkFFSEsvFc/ru_RU 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_TIME 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_PAPER 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_MEASUREMENT 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_COLLATE 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_NAME 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_MONETARY 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_CTYPE 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_ADDRESS 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_NUMERIC 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_IDENTIFICATION 1232s /tmp/tmp.HkFFSEsvFc/ru_RU/LC_TELEPHONE 1232s TAP version 14 1232s # random seed: R02S824f89e87d79dedb8dbf0a01b4f8a3b2 1232s 1..1 1232s # Start of portal-support tests 1232s # Start of flatpak tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/runtime 1232s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_D24NK3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1232s ok 1 /portal-support/flatpak/gsettings 1232s # End of flatpak tests 1232s # End of portal-support tests 1232s TAP version 14 1232s # random seed: R02S0d756c75d8e60a949cb3f4d87548928b 1232s 1..5 1232s # Start of gio tests 1232s # Start of contexts tests 1232s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1232s ok 1 /gio/contexts/thread-independence 1232s ok 2 /gio/contexts/context-independence 1232s # Start of context-specific tests 1232s ok 3 /gio/contexts/context-specific/identity 1232s ok 4 /gio/contexts/context-specific/emit 1232s ok 5 /gio/contexts/context-specific/emit-and-unref 1232s # End of context-specific tests 1232s # End of contexts tests 1232s # End of gio tests 1232s ok - glib/contexts.test 1232s # Running test: glib/thumbnail-verification.test 1232s TAP version 14 1232s # random seed: R02S2139d8ad901fabdf3e18928db354d6ac 1232s 1..1 1232s # Start of png-thumbs tests 1232s ok - glib/thumbnail-verification.test 1232s # Running test: glib/mapping.test 1232s ok 1 /png-thumbs/validity 1232s # End of png-thumbs tests 1232s TAP version 14 1232s # random seed: R02S4600b9f60cdef111969d962c1e912ac0 1232s 1..3 1232s # Start of mapping tests 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_WQ1FK3/mapping/flags/.dirs/runtime 1232s # test_mapping: ok 1232s ok 1 /mapping/flags 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_WQ1FK3/mapping/private/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_WQ1FK3/mapping/private/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_WQ1FK3/mapping/private/.dirs/system-config1:/tmp/test_mapping_WQ1FK3/mapping/private/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_WQ1FK3/mapping/private/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_WQ1FK3/mapping/private/.dirs/system-data1:/tmp/test_mapping_WQ1FK3/mapping/private/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_WQ1FK3/mapping/private/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_WQ1FK3/mapping/private/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_WQ1FK3/mapping/private/.dirs/runtime 1232s ok 2 /mapping/private 1232s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/home 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/cache 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/system-config2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/config 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/system-data2 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/data 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/state 1232s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_WQ1FK3/mapping/private-child/.dirs/runtime 1232s # test_child_private: child spawned 1232s # Subtest: /usr/libexec/installed-tests/glib/mapping 1232s # random seed: R02Sc5dd628141da85282f57ca44751b7268 1232s # test_child_private: received first child signal 1232s # test_child_private: received parent signal 1232s # Child exited with status 0 1232s # test_child_private: received second child signal 1232s ok 3 /mapping/private-child 1232s # End of mapping tests 1232s ok - glib/mapping.test 1232s # Running test: glib/socket.test 1232s TAP version 14 1232s # random seed: R02Sc843caa651e934421b75ed3adb0e7085 1232s 1..30 1232s # Start of socket tests 1233s ok 1 /socket/ipv4_sync 1233s # slow test /socket/ipv4_sync executed in 1.00 secs 1234s ok 2 /socket/ipv4_async 1234s # slow test /socket/ipv4_async executed in 1.00 secs 1234s ok 3 /socket/ipv6_sync 1234s ok 4 /socket/ipv6_async 1234s ok 5 /socket/ipv6_v4mapped 1235s ok 6 /socket/close_graceful 1235s # slow test /socket/close_graceful executed in 1.00 secs 1235s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1235s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1235s ok 8 /socket/fd_reuse 1235s ok 9 /socket/address 1235s ok 10 /socket/unix-from-fd 1235s ok 11 /socket/unix-connection 1235s ok 12 /socket/unix-connection-ancillary-data 1235s ok 13 /socket/source-postmortem 1235s ok 14 /socket/read_write 1235s ok 15 /socket/read_writev 1235s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1235s ok 16 /socket/receive_bytes 1235s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1235s ok 17 /socket/receive_bytes_from 1235s # Start of ipv4_sync tests 1235s ok 18 /socket/ipv4_sync/datagram 1235s # Start of datagram tests 1236s ok 19 /socket/ipv4_sync/datagram/timeouts 1236s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1236s # End of datagram tests 1236s # End of ipv4_sync tests 1236s # Start of ipv6_sync tests 1236s ok 20 /socket/ipv6_sync/datagram 1236s # Start of datagram tests 1236s # Executing: glib/socket.test 1237s ok 21 /socket/ipv6_sync/datagram/timeouts 1237s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1237s # End of datagram tests 1237s # End of ipv6_sync tests 1237s # Start of reuse tests 1237s ok 22 /socket/reuse/tcp 1237s ok 23 /socket/reuse/udp 1237s # End of reuse tests 1237s # Start of get_available tests 1237s ok 24 /socket/get_available/datagram 1237s ok 25 /socket/get_available/stream 1237s # End of get_available tests 1237s # Start of credentials tests 1237s # Supported on this OS: GCredentials:linux-ucred:pid=0 1237s ok 26 /socket/credentials/tcp_client 1237s # Supported on this OS: GCredentials:linux-ucred:pid=0 1237s ok 27 /socket/credentials/tcp_server 1237s ok - glib/socket.test 1237s # Running test: glib/throws.test 1237s # Supported on this OS: GCredentials:linux-ucred:pid=2240,uid=1000,gid=1000 1237s ok 28 /socket/credentials/unix_socketpair 1237s # End of credentials tests 1237s # Start of accept tests 1237s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1237s ok 29 /socket/accept/cancelled 1237s # End of accept tests 1237s # Start of connect tests 1237s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1237s ok 30 /socket/connect/cancelled 1237s # End of connect tests 1237s # End of socket tests 1237s TAP version 14 1237s # random seed: R02S50ae8f386f8ca2b906aa24ac84cea348 1237s 1..3 1237s # Start of throws tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_HARCK3/throws/invoke-gerror/.dirs/runtime 1237s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1237s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1237s ok 1 /throws/invoke-gerror 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_HARCK3/throws/vfunc-can-throw-gerror/.dirs/runtime 1237s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1237s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1237s ok 2 /throws/vfunc-can-throw-gerror 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_HARCK3/throws/callback-can-throw-gerror/.dirs/runtime 1237s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1237s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1237s ok 3 /throws/callback-can-throw-gerror 1237s # End of throws tests 1237s TAP version 14 1237s # random seed: R02S4e5157dfbad0f1be872129df33057cd2 1237s 1..7 1237s # Start of tree tests 1237s ok 1 /tree/search 1237s ok 2 /tree/remove 1237s ok 3 /tree/destroy 1237s ok 4 /tree/traverse 1237s ok 5 /tree/insert 1237s ok 6 /tree/bounds 1237s ok 7 /tree/remove-all 1237s # End of tree tests 1237s TAP version 14 1237s # random seed: R02S582537731fd5945ebce3d040c9b077be 1237s 1..2 1237s ok - glib/throws.test 1237s # Running test: glib/tree.test 1237s ok - glib/tree.test 1237s # Running test: glib/dynamictests.test 1237s # Start of GObject tests 1237s ok - glib/dynamictests.test 1237s ok 1 /GObject/threaded-dynamic-ref-unref-init 1237s ok 2 /GObject/dynamic-interface-properties 1237s # End of GObject tests 1237s # Running test: glib/dynamictype.test 1237s TAP version 14 1237s # random seed: R02S7e2370734bdfaa95f59eff5be8b39ab7 1237s ok - glib/dynamictype.test 1237s # Running test: glib/gdbus-bz627724.test 1237s ok - glib/gdbus-bz627724.test 1237s # Running test: glib/utils-c-99.test 1237s 1..2 1237s # Start of gobject tests 1237s ok 1 /gobject/dynamic-type 1237s # Start of dynamic-type tests 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 1237s ok 2 /gobject/dynamic-type/query 1237s # End of dynamic-type tests 1237s # End of gobject tests 1237s TAP version 14 1237s # random seed: R02Sa0aea2184d0eb26ebfe23d3286cebbc1 1237s 1..1 1237s # Start of gdbus tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_2RDEK3/gdbus/bz627724/.dirs/runtime 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1237s ok 1 /gdbus/bz627724 1237s # End of gdbus tests 1237s TAP version 14 1237s # random seed: R02Saf4e96ea8407888627605d01900379a9 1237s 1..41 1237s # Start of utils tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/language-names/.dirs/runtime 1237s ok 1 /utils/language-names 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/locale-variants/.dirs/runtime 1237s # Testing locale ‘en’ 1237s # Testing locale ‘sr@latin’ 1237s # Testing locale ‘fr_BE’ 1237s # Testing locale ‘sr_SR@latin’ 1237s # Testing locale ‘sr_SR@latin.UTF-8’ 1237s # Testing locale ‘sr@latin_invalid’ 1237s # Testing locale ‘sr.UTF-8@latin’ 1237s # Testing locale ‘sr.UTF-8_latin’ 1237s # Testing locale ‘sr.UTF-8@latin_invalid’ 1237s ok 2 /utils/locale-variants 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/version/.dirs/runtime 1237s ok 3 /utils/version 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/appname/.dirs/runtime 1237s ok 4 /utils/appname 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/prgname-thread-safety/.dirs/runtime 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1237s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1237s ok 5 /utils/prgname-thread-safety 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/tmpdir/.dirs/runtime 1237s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1237s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1237s Unable to clean up temporary directory /tmp/test_utils-c-99_H6J3J3/utils/tmpdir: No such file or directory 1237s ok 6 /utils/tmpdir 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/basic_bits/.dirs/runtime 1237s ok 7 /utils/basic_bits 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/bits/.dirs/runtime 1237s ok 8 /utils/bits 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/swap/.dirs/runtime 1237s ok 9 /utils/swap 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/find-program/.dirs/runtime 1237s ok 10 /utils/find-program 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/find-program-for-path/.dirs/runtime 1237s ok 11 /utils/find-program-for-path 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/debug/.dirs/runtime 1237s Unable to clean up temporary directory /tmp/test_utils-c-99_H6J3J3/utils/debug: No such file or directory 1237s ok 12 /utils/debug 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/codeset/.dirs/runtime 1237s ok 13 /utils/codeset 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/codeset2/.dirs/runtime 1237s Unable to clean up temporary directory /tmp/test_utils-c-99_H6J3J3/utils/codeset2: No such file or directory 1237s ok 14 /utils/codeset2 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/console-charset/.dirs/runtime 1237s ok 15 /utils/console-charset 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/gettext/.dirs/runtime 1237s ok 16 /utils/gettext 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/username/.dirs/runtime 1237s ok 17 /utils/username 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/realname/.dirs/runtime 1237s ok 18 /utils/realname 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/hostname/.dirs/runtime 1237s ok 19 /utils/hostname 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/os-info/.dirs/runtime 1237s # NAME: Ubuntu 1237s ok 20 /utils/os-info 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/.dirs/runtime 1237s ok 21 /utils/clear-pointer 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer-cast/.dirs/runtime 1237s ok 22 /utils/clear-pointer-cast 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/take-pointer/.dirs/runtime 1237s ok 23 /utils/take-pointer 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/clear-source/.dirs/runtime 1237s ok 24 /utils/clear-source 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/misc-mem/.dirs/runtime 1237s ok 25 /utils/misc-mem 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/.dirs/runtime 1237s # /utils/aligned-mem summary: Aligned memory allocator 1237s # Alignment must not be zero 1237s # Alignment must be a power of two 1237s # Alignment must be a multiple of sizeof(void*) 1237s ok 26 /utils/aligned-mem 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/free-sized/.dirs/runtime 1237s # /utils/free-sized summary: Check that g_free_sized() works 1237s ok 27 /utils/free-sized 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/nullify/.dirs/runtime 1237s ok 28 /utils/nullify 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/atexit/.dirs/runtime 1237s Unable to clean up temporary directory /tmp/test_utils-c-99_H6J3J3/utils/atexit: No such file or directory 1237s ok 29 /utils/atexit 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/check-setuid/.dirs/runtime 1237s ok 30 /utils/check-setuid 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/int-limits/.dirs/runtime 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1237s ok 31 /utils/int-limits 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/clear-list/.dirs/runtime 1237s ok 32 /utils/clear-list 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/clear-slist/.dirs/runtime 1237s ok 33 /utils/clear-slist 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/steal-handle-id/.dirs/runtime 1237s ok 34 /utils/steal-handle-id 1237s # Start of user-special-dirs tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/desktop/.dirs/runtime 1237s ok 35 /utils/user-special-dirs/desktop 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1237s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1237s Unable to clean up temporary directory /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/load-unlocked: No such file or directory 1237s ok 36 /utils/user-special-dirs/load-unlocked 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1237s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1237s Unable to clean up temporary directory /tmp/test_utils-c-99_H6J3J3/utils/user-special-dirs/reload-leaks: No such file or directory 1237s ok 37 /utils/user-special-dirs/reload-leaks 1237s # End of user-special-dirs tests 1237s # Start of clear-pointer tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/clear-pointer/side-effects/.dirs/runtime 1237s ok 38 /utils/clear-pointer/side-effects 1237s # End of clear-pointer tests 1237s # Start of aligned-mem tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/alignment/.dirs/runtime 1237s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1237s ok 39 /utils/aligned-mem/alignment 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/zeroed/.dirs/runtime 1237s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1237s ok 40 /utils/aligned-mem/zeroed 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_H6J3J3/utils/aligned-mem/free-sized/.dirs/runtime 1237s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1237s ok 41 /utils/aligned-mem/free-sized 1237s # Start of subprocess tests 1237s # End of subprocess tests 1237s # End of aligned-mem tests 1237s # End of utils tests 1237s ok - glib/utils-c-99.test 1237s # Running test: glib/socket-address.test 1237s TAP version 14 1237s # random seed: R02S4a52f014e09d10e1657804a859d65516 1237s 1..2 1237s # Start of socket tests 1237s # Start of address tests 1237s # Start of unix tests 1237s ok 1 /socket/address/unix/construct 1237s ok 2 /socket/address/unix/to-string 1237s # End of unix tests 1237s # End of address tests 1237s # End of socket tests 1237s ok - glib/socket-address.test 1237s # Running test: glib/gdbus-export.test 1237s TAP version 14 1237s # random seed: R02S8c601c97ecb12aa32ab1d7d10259420e 1237s 1..7 1237s # Start of gdbus tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration/.dirs/runtime 1237s ok 1 /gdbus/object-registration 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures/.dirs/runtime 1237s ok 2 /gdbus/object-registration-with-closures 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UJM5J3/gdbus/object-registration-with-closures2/.dirs/runtime 1237s ok 3 /gdbus/object-registration-with-closures2 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UJM5J3/gdbus/registered-interfaces/.dirs/runtime 1237s ok 4 /gdbus/registered-interfaces 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UJM5J3/gdbus/async-properties/.dirs/runtime 1237s ok 5 /gdbus/async-properties 1237s # Start of threaded-unregistration tests 1237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/home 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/cache 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/system-config2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/config 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/system-data2 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/data 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/state 1237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/object/.dirs/runtime 1237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1237s # /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 1238s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 1238s # slow test /gdbus/threaded-unregistration/object executed in 1.12 secs 1238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/home 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/cache 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/config 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/data 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/state 1238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_UJM5J3/gdbus/threaded-unregistration/subtree/.dirs/runtime 1238s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 1238s # /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 1239s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test 1239s # slow test /gdbus/threaded-unregistration/subtree executed in 1.10 secs 1239s # End of threaded-unregistration tests 1239s # End of gdbus tests 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1239s ok - glib/gdbus-export.test 1239s cleaning up pid 2400 1239s # Running test: glib/srvtarget.test 1239s TAP version 14 1239s # random seed: R02S20374ae7dc20029b59a66300ca0156ec 1239s 1..1 1239s # Start of srvtarget tests 1240s ok - glib/srvtarget.test 1240s # Running test: glib/gdbus-introspection.test 1240s ok 1 /srvtarget/srv-target-ordering 1240s # slow test /srvtarget/srv-target-ordering executed in 0.81 secs 1240s # End of srvtarget tests 1240s TAP version 14 1240s # random seed: R02S6de51da09ef6214cac1491c071f53db2 1240s 1..4 1240s # Start of gdbus tests 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-parser/.dirs/runtime 1240s ok 1 /gdbus/introspection-parser 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-generate/.dirs/runtime 1240s ok 2 /gdbus/introspection-generate 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/state 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-default-direction/.dirs/runtime 1240s ok 3 /gdbus/introspection-default-direction 1240s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/home 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/cache 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/system-config2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/config 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/system-data2 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/data 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/state 1240s ok - glib/gdbus-introspection.test 1240s # Running test: glib/1bit-mutex.test 1240s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_7327J3/gdbus/introspection-extra-data/.dirs/runtime 1240s ok 4 /gdbus/introspection-extra-data 1240s # End of gdbus tests 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1240s TAP version 14 1240s # random seed: R02S6545287a00c1c3be8fd1ac882ca6c516 1240s 1..2 1240s # Start of glib tests 1240s # Start of 1bit-mutex tests 1241s # Executing: glib/1bit-mutex.test 1245s ok 1 /glib/1bit-mutex/int 1245s # slow test /glib/1bit-mutex/int executed in 5.11 secs 1246s # Executing: glib/1bit-mutex.test 1250s ok 2 /glib/1bit-mutex/pointer 1250s # slow test /glib/1bit-mutex/pointer executed in 5.08 secs 1250s # End of 1bit-mutex tests 1250s # End of glib tests 1250s ok - glib/1bit-mutex.test 1250s # Running test: glib/actions.test 1250s TAP version 14 1250s # random seed: R02S0796957f64479d88978185762069530b 1250s 1..13 1250s # Start of actions tests 1250s ok 1 /actions/basic 1250s ok 2 /actions/name 1250s ok 3 /actions/simplegroup 1250s ok 4 /actions/stateful 1250s ok 5 /actions/default-activate 1251s ok 6 /actions/entries 1251s ok 7 /actions/parse-detailed 1251s ok 8 /actions/property 1251s ok 9 /actions/no-properties 1251s # Start of dbus tests 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s ok 10 /actions/dbus/export 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1251s # Executing: glib/actions.test 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 11 /actions/dbus/threaded 1253s # slow test /actions/dbus/threaded executed in 2.16 secs 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 12 /actions/dbus/bug679509 1253s # Start of export tests 1253s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 13 /actions/dbus/export/error-handling 1253s # End of export tests 1253s # End of dbus tests 1253s # End of actions tests 1253s ok - glib/actions.test 1253s # Running test: glib/binding.test 1253s TAP version 14 1253s # random seed: R02Sbebd54b22159d0cc1542e9607bbb2c70 1253s 1..19 1253s # Start of binding tests 1253s ok 1 /binding/default 1253s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1253s ok - glib/binding.test 1253s ok 2 /binding/canonicalisation 1253s ok 3 /binding/bidirectional 1253s ok 4 /binding/transform 1253s ok 5 /binding/transform-default 1253s ok 6 /binding/transform-closure 1253s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1253s ok 7 /binding/chain 1253s ok 8 /binding/sync-create 1253s ok 9 /binding/invert-boolean 1253s ok 10 /binding/same-object 1253s ok 11 /binding/unbind 1253s ok 12 /binding/unbind-weak 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1253s ok 13 /binding/unbind-multiple 1253s ok 14 /binding/fail 1253s ok 15 /binding/interface 1253s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1253s ok 16 /binding/concurrent-unbind 1253s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1253s ok 17 /binding/concurrent-finalizing 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1253s ok 18 /binding/dispose-source 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1253s ok 19 /binding/dispose-target 1253s # End of binding tests 1253s # Running test: glib/gapplication.test 1253s TAP version 14 1253s # random seed: R02S847802809d260f8f3796f416571b8b76 1253s 1..25 1253s # Start of gapplication tests 1253s ok 1 /gapplication/no-dbus 1253s ok 2 /gapplication/no-appid 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 3 /gapplication/properties 1253s ok 4 /gapplication/app-id 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 5 /gapplication/quit 1253s ok 6 /gapplication/registered 1253s ok 7 /gapplication/local-actions 1253s ok 8 /gapplication/local-command-line 1253s ok 9 /gapplication/resource-path 1253s ok 10 /gapplication/test-help 1253s ok 11 /gapplication/command-line-done 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 12 /gapplication/test-busy 1253s ok 13 /gapplication/test-handle-local-options1 1253s ok 14 /gapplication/test-handle-local-options2 1253s ok 15 /gapplication/test-handle-local-options3 1253s ok 16 /gapplication/api 1253s ok 17 /gapplication/version 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # launching subprocess 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 18 /gapplication/replace 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # launching subprocess 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 19 /gapplication/no-replace 1253s # slow test /gapplication/no-replace executed in 0.51 secs 1253s # Start of command-line tests 1253s # /gapplication/command-line/arguments summary: Test HANDLES_COMMAND_LINE locally with a ->local_command_line vfunc which forces g_application_run() to take a fallback error handling path 1253s ok 20 /gapplication/command-line/arguments 1253s # End of command-line tests 1253s # Start of dbus tests 1253s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # Message 0 1253s # Message 1 1253s # Message 2 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 21 /gapplication/dbus/activate 1253s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # Message 0 1253s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1253s # Message 1 1253s # Message 2 1253s # Message 3 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 22 /gapplication/dbus/open 1253s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # Message 0 1253s # Message 1 1253s # Message 2 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 23 /gapplication/dbus/command-line 1253s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 24 /gapplication/dbus/command-line-done 1253s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1253s # Message 0 1253s # Message 1 1253s # Message 2 1253s # Message 3 1253s # Message 4 1253s # Message 5 1253s # Message 6 1253s # Message 7 1253s # Message 8 1253s # Message 9 1253s # Message 10 1253s # Message 11 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1253s ok 25 /gapplication/dbus/activate-action 1253s # End of dbus tests 1253s # End of gapplication tests 1253s ok - glib/gapplication.test 1253s # Running test: glib/signals-refcount3.test 1253s TAP version 14 1253s # random seed: R02Se71ffddc783641d66e361b69af318f09 1253s 1..1 1253s # Start of gobject tests 1253s # Start of refcount tests 1253s # init 0x1e22b9e0d4a0 1253s # 1253s # init 0x1e22b9e05580 1253s # 1256s # Executing: glib/signals-refcount3.test 1258s # dispose 0x1e22b9e0d4a0! 1258s # 1258s # dispose 0x1e22b9e05580! 1258s # 1258s ok 1 /gobject/refcount/signals 1258s # slow test /gobject/refcount/signals executed in 5.00 secs 1258s # End of refcount tests 1258s # End of gobject tests 1258s ok - glib/signals-refcount3.test 1258s # Running test: glib/properties-refcount3.test 1258s TAP version 14 1258s # random seed: R02S0e288d15e3583745975c9ebaa73ab366 1258s 1..1 1258s # Start of gobject tests 1258s # Start of refcount tests 1261s # Executing: glib/properties-refcount3.test 1266s # Executing: glib/properties-refcount3.test 1271s # Executing: glib/properties-refcount3.test 1276s # Executing: glib/properties-refcount3.test 1281s # Executing: glib/properties-refcount3.test 1286s # Executing: glib/properties-refcount3.test 1288s # 1288s # stopping 1288s # 1288s # stopped 1288s # 1288s # 12551817 6794369 1288s # 1288s ok 1 /gobject/refcount/properties-3 1288s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 1288s # End of refcount tests 1288s # End of gobject tests 1288s ok - glib/properties-refcount3.test 1288s # Running test: glib/sleepy-stream.test 1288s TAP version 14 1288s # random seed: R02S22143f1ecc3d657ee1a2842d0a09c808 1288s 1..2 1288s # Start of filter-stream tests 1288s ok 1 /filter-stream/input 1288s ok 2 /filter-stream/async 1288s # End of filter-stream tests 1288s ok - glib/sleepy-stream.test 1288s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1288s TAP version 14 1288s # random seed: R02S56cf9eca8a202fe1c74dcfab5a27fbfc 1288s 1..8 1288s # Start of gdbus tests 1288s # Start of codegen tests 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/annotations/.dirs/runtime 1288s ok 1 /gdbus/codegen/annotations 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/interface_stability/.dirs/runtime 1288s ok 2 /gdbus/codegen/interface_stability 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/object-manager/.dirs/runtime 1288s ok 3 /gdbus/codegen/object-manager 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/property-naming/.dirs/runtime 1288s ok 4 /gdbus/codegen/property-naming 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/autocleanups/.dirs/runtime 1288s ok 5 /gdbus/codegen/autocleanups 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/deprecations/.dirs/runtime 1288s ok 6 /gdbus/codegen/deprecations 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/data 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1288s ok 7 /gdbus/codegen/standalone-interface-info 1288s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/home 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/cache 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/config 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/data 1288s ok - glib/gdbus-test-codegen-min-required-2-64.test 1288s # Running test: glib/hostutils.test 1288s ok - glib/hostutils.test 1288s # Running test: glib/queue.test 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/state 1288s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_A1GMK3/gdbus/codegen/unix-fd-list/.dirs/runtime 1288s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1288s ok 8 /gdbus/codegen/unix-fd-list 1288s # End of codegen tests 1288s # End of gdbus tests 1288s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1288s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1288s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1288s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1288s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1288s TAP version 14 1288s # random seed: R02S3192d50bd1d705d7749d801ead76c7ef 1288s 1..4 1288s # Start of hostutils tests 1288s ok 1 /hostutils/hostname_is_non_ascii 1288s ok 2 /hostutils/to_ascii 1288s ok 3 /hostutils/to_unicode 1288s ok 4 /hostutils/is_ip_addr 1288s # End of hostutils tests 1288s TAP version 14 1288s # random seed: R02S1381f3e015cb292c92b6f78e9aeb0a65 1288s 1..12 1288s # Start of queue tests 1288s ok 1 /queue/basic 1288s ok 2 /queue/copy 1288s ok 3 /queue/off-by-one 1288s ok 4 /queue/find-custom 1288s ok 5 /queue/static 1288s ok 6 /queue/clear 1288s ok 7 /queue/free-full 1288s ok 8 /queue/clear-full 1288s ok 9 /queue/insert-sibling-link 1288s ok 10 /queue/push-nth-link 1288s # Start of clear-full tests 1288s ok 11 /queue/clear-full/noop 1288s # End of clear-full tests 1288s # Start of random tests 1289s ok 12 /queue/random/seed:843244263 1289s # End of random tests 1289s # End of queue tests 1289s ok - glib/queue.test 1289s # Running test: glib/spawn-singlethread.test 1289s TAP version 14 1289s # random seed: R02Sd6cb1082de8ad63140289685633004d6 1289s 1..9 1289s # Start of gthread tests 1289s ok 1 /gthread/spawn-single-sync 1289s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1289s ok 2 /gthread/spawn-stderr-socket 1289s ok 3 /gthread/spawn-single-async 1289s # thread 1 1289s # thread 1 1289s ok 4 /gthread/spawn-single-async-with-fds 1289s ok 5 /gthread/spawn-async-with-invalid-fds 1289s ok 6 /gthread/spawn-script 1289s ok 7 /gthread/spawn-posix-spawn 1289s # Start of spawn tests 1289s ok 8 /gthread/spawn/nonexistent 1289s # FD map: 1289s # • 5 → 15 1289s # • 6 → 16 1289s # • 7 → 17 1289s # • 8 → 18 1289s # • 9 → 19 1289s # • 10 → 20 1289s # • 11 → 21 1289s # • 12 → 22 1289s # • 13 → 23 1289s # • 3 → 13 1289s ok 9 /gthread/spawn/fd-assignment-clash 1289s # End of spawn tests 1289s # End of gthread tests 1289s ok - glib/spawn-singlethread.test 1289s # Running test: glib/gdbus-non-socket.test 1289s TAP version 14 1289s # random seed: R02S8096164864d6deea64ec5b697b69da98 1289s 1..1 1289s # Start of gdbus tests 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_TRGGK3/gdbus/non-socket/.dirs/runtime 1289s ok - glib/gdbus-non-socket.test 1289s ok 1 /gdbus/non-socket 1289s # End of gdbus tests 1289s # Running test: glib/markup-parse.test 1289s TAP version 14 1289s # random seed: R02Se2d00e49a70bfed25b00d9e474ee8a77 1289s 1..71 1289s # Start of markup tests 1289s # Start of parse tests 1289s ok 1 /markup/parse/fail-19.gmarkup 1289s ok 2 /markup/parse/fail-47.gmarkup 1289s ok 3 /markup/parse/fail-32.gmarkup 1289s ok 4 /markup/parse/fail-1.gmarkup 1289s ok 5 /markup/parse/fail-42.gmarkup 1289s ok 6 /markup/parse/fail-33.gmarkup 1289s ok 7 /markup/parse/valid-11.gmarkup 1289s ok 8 /markup/parse/fail-54.gmarkup 1289s ok 9 /markup/parse/fail-38.gmarkup 1289s ok 10 /markup/parse/fail-13.gmarkup 1289s ok 11 /markup/parse/fail-11.gmarkup 1289s ok 12 /markup/parse/valid-17.gmarkup 1289s ok 13 /markup/parse/fail-53.gmarkup 1289s ok 14 /markup/parse/fail-44.gmarkup 1289s ok 15 /markup/parse/fail-40.gmarkup 1289s ok 16 /markup/parse/fail-43.gmarkup 1289s ok 17 /markup/parse/fail-23.gmarkup 1289s ok 18 /markup/parse/valid-9.gmarkup 1289s ok 19 /markup/parse/valid-14.gmarkup 1289s ok 20 /markup/parse/fail-50.gmarkup 1289s ok 21 /markup/parse/fail-30.gmarkup 1289s ok 22 /markup/parse/fail-20.gmarkup 1289s ok 23 /markup/parse/valid-15.gmarkup 1289s ok 24 /markup/parse/fail-29.gmarkup 1289s ok 25 /markup/parse/valid-7.gmarkup 1289s ok 26 /markup/parse/fail-2.gmarkup 1289s ok 27 /markup/parse/valid-13.gmarkup 1289s ok 28 /markup/parse/fail-26.gmarkup 1289s ok 29 /markup/parse/fail-35.gmarkup 1289s ok 30 /markup/parse/fail-10.gmarkup 1289s ok 31 /markup/parse/valid-3.gmarkup 1289s ok 32 /markup/parse/fail-46.gmarkup 1289s ok 33 /markup/parse/valid-4.gmarkup 1289s ok 34 /markup/parse/fail-24.gmarkup 1289s ok 35 /markup/parse/fail-3.gmarkup 1289s ok 36 /markup/parse/valid-5.gmarkup 1289s ok 37 /markup/parse/fail-7.gmarkup 1289s ok 38 /markup/parse/fail-51.gmarkup 1289s ok 39 /markup/parse/valid-10.gmarkup 1289s ok 40 /markup/parse/fail-31.gmarkup 1289s ok 41 /markup/parse/fail-21.gmarkup 1289s ok 42 /markup/parse/fail-9.gmarkup 1289s ok 43 /markup/parse/valid-16.gmarkup 1289s ok 44 /markup/parse/fail-15.gmarkup 1289s ok 45 /markup/parse/fail-36.gmarkup 1289s ok 46 /markup/parse/fail-5.gmarkup 1289s ok 47 /markup/parse/fail-18.gmarkup 1289s ok 48 /markup/parse/fail-14.gmarkup 1289s ok 49 /markup/parse/valid-12.gmarkup 1289s ok 50 /markup/parse/fail-52.gmarkup 1289s ok 51 /markup/parse/fail-17.gmarkup 1289s ok 52 /markup/parse/fail-48.gmarkup 1289s ok 53 /markup/parse/valid-8.gmarkup 1289s ok 54 /markup/parse/fail-6.gmarkup 1289s ok 55 /markup/parse/fail-41.gmarkup 1289s ok 56 /markup/parse/fail-25.gmarkup 1289s ok 57 /markup/parse/fail-49.gmarkup 1289s ok 58 /markup/parse/fail-12.gmarkup 1289s ok 59 /markup/parse/fail-4.gmarkup 1289s ok 60 /markup/parse/fail-22.gmarkup 1289s ok 61 /markup/parse/valid-6.gmarkup 1289s ok 62 /markup/parse/fail-37.gmarkup 1289s ok 63 /markup/parse/fail-8.gmarkup 1289s ok 64 /markup/parse/valid-1.gmarkup 1289s ok 65 /markup/parse/fail-16.gmarkup 1289s ok 66 /markup/parse/fail-45.gmarkup 1289s ok 67 /markup/parse/fail-39.gmarkup 1289s ok 68 /markup/parse/fail-28.gmarkup 1289s ok 69 /markup/parse/valid-2.gmarkup 1289s ok 70 /markup/parse/fail-34.gmarkup 1289s ok 71 /markup/parse/fail-27.gmarkup 1289s # End of parse tests 1289s # End of markup tests 1289s ok - glib/markup-parse.test 1289s # Running test: glib/cxx-2b.test 1289s TAP version 14 1289s # random seed: R02S6ed50df854ee6bf2e5bd5919491da219 1289s 1..2 1289s # Start of gtask tests 1289s # 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. 1289s ok 1 /gtask/name 1289s # Start of name tests 1289s # 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. 1289s ok 2 /gtask/name/macro-wrapper 1289s # End of name tests 1289s # End of gtask tests 1289s ok - glib/cxx-2b.test 1289s # Running test: glib/hook.test 1289s TAP version 14 1289s # random seed: R02S5ad0996a3628b8e96e6adf653ab1d52b 1289s 1..2 1289s # Start of hook tests 1289s ok 1 /hook/basics 1289s ok 2 /hook/corner-cases 1289s # End of hook tests 1289s ok - glib/hook.test 1289s # Running test: glib/properties-refcount4.test 1289s TAP version 14 1289s # random seed: R02Sdb9080b2cf4a1f640df803d515ed98d6 1289s 1..1 1289s # Start of gobject tests 1289s # Start of refcount tests 1289s ok 1 /gobject/refcount/properties-4 1289s # End of refcount tests 1289s # End of gobject tests 1289s ok - glib/properties-refcount4.test 1289s # Running test: glib/gdbus-addresses.test 1289s TAP version 14 1289s # random seed: R02S836ca189c2fd3043d1397b132f784ddd 1289s 1..9 1289s # Start of gdbus tests 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/empty-address/.dirs/runtime 1289s ok 1 /gdbus/empty-address 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unsupported-address/.dirs/runtime 1289s ok 2 /gdbus/unsupported-address 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/address-parsing/.dirs/runtime 1289s ok 3 /gdbus/address-parsing 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/unix-address/.dirs/runtime 1289s ok 4 /gdbus/unix-address 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/nonce-tcp-address/.dirs/runtime 1289s ok 5 /gdbus/nonce-tcp-address 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/tcp-address/.dirs/runtime 1289s ok 6 /gdbus/tcp-address 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/autolaunch-address/.dirs/runtime 1289s ok 7 /gdbus/autolaunch-address 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/mixed-address/.dirs/runtime 1289s ok 8 /gdbus/mixed-address 1289s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/home 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/cache 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/system-config2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/config 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/system-data2 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/data 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/state 1289s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_VUFHK3/gdbus/escape-address/.dirs/runtime 1289s ok 9 /gdbus/escape-address 1289s # End of gdbus tests 1289s ok - glib/gdbus-addresses.test 1289s # Running test: glib/utf8-pointer.test 1289s TAP version 14 1289s # random seed: R02S002115005c9e32304537f99118a87943 1289s 1..3 1289s # Start of utf8 tests 1290s ok 1 /utf8/offsets 1290s # slow test /utf8/offsets executed in 0.81 secs 1290s ok 2 /utf8/lengths 1290s ok 3 /utf8/find 1290s # End of utf8 tests 1290s ok - glib/utf8-pointer.test 1290s # Running test: glib/registered-type-info.test 1290s ok - glib/registered-type-info.test 1290s TAP version 14 1290s # random seed: R02S167433945aca368c4a3cb65be9ae585a 1290s 1..1 1290s # Start of registered-type-info tests 1290s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/home 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/cache 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/system-config2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/config 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/system-data2 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/data 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/state 1290s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_0DJOK3/registered-type-info/boxed/.dirs/runtime 1290s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1290s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1290s # Expecting CClosure to not be boxed 1290s # Expecting TypeCValue to not be boxed 1290s # Expecting InitiallyUnownedClass to not be boxed 1290s # Expecting BookmarkFile to be boxed 1290s # Expecting Closure to be boxed 1290s # Expecting Object to not be boxed 1290s ok 1 /registered-type-info/boxed 1290s # End of registered-type-info tests 1290s # Running test: glib/atomic-c-99.test 1290s TAP version 14 1290s # random seed: R02Sd5e999a152a56169dbb7e60ce6a1c81e 1290s 1..2 1290s # Start of atomic tests 1290s ok 1 /atomic/types 1290s ok 2 /atomic/threaded 1290s # End of atomic tests 1290s ok - glib/atomic-c-99.test 1290s # Running test: glib/properties-refcount1.test 1290s TAP version 14 1290s # random seed: R02Sd69bd73ec49e76458fffc7c67c6b8cf1 1290s 1..1 1290s # Start of gobject tests 1290s # Start of refcount tests 1290s # .d 1290s # .c 1290s # .b 1290s # .e 1290s # .f 1290s # .d 1290s # .c 1290s # .b 1290s # .e 1290s # .f 1290s # .d 1290s # .c 1290s # .f 1290s # .e 1290s # .b 1290s # .d 1290s # .c 1290s # .f 1290s # .e 1290s # .b 1290s # .d 1290s # .e 1290s # .c 1290s # .f 1290s # .b 1290s # .d 1290s # .c 1290s # .f 1290s # .e 1290s # .b 1290s # .d 1290s # .c 1291s # .e 1291s # .f 1291s # .d 1291s # .b 1291s # .e 1291s # .f 1291s # .c 1291s # .b 1291s # .e 1291s # .d 1291s # .f 1291s # .c 1291s # .e 1291s # .d 1291s # .b 1291s # .f 1291s # .c 1291s # .e 1291s # .d 1291s # .f 1291s # .b 1291s # .e 1291s # .c 1291s # .c 1291s # .f 1291s # .e 1291s # .d 1291s # .c 1291s # .b 1291s # .e 1291s # .c 1291s # .f 1291s # .d 1291s # .b 1291s # .e 1291s # .c 1291s # .f 1291s # .d 1291s # .b 1291s # Executing: glib/properties-refcount1.test 1292s # .c 1292s # .f 1292s # .e 1292s # .d 1292s # .b 1292s # .f 1292s # .c 1292s # .e 1292s # .d 1292s # .b 1292s # .f 1292s # .e 1292s # .c 1292s # .d 1292s # .b 1292s # .f 1292s # .e 1292s # .d 1292s # .c 1292s # .f 1292s # .b 1292s # .e 1292s # .f 1292s # .b 1292s # .d 1292s # .c 1292s # .e 1292s # .f 1292s # .b 1292s # .d 1292s # .c 1292s # .e 1292s # .f 1292s # .b 1292s # .d 1292s # .c 1292s # .e 1292s # .d 1292s # .f 1292s # .b 1293s # .c 1293s # .e 1293s # .f 1293s # .d 1293s # .b 1293s ok 1 /gobject/refcount/properties-1 1293s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1293s # End of refcount tests 1293s # End of gobject tests 1293s ok - glib/properties-refcount1.test 1293s # Running test: glib/mimeapps.test 1293s TAP version 14 1293s # random seed: R02S22e78a3265e439cdd1cb2ab8643c3660 1293s 1..13 1293s # Start of appinfo tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1293s ok 1 /appinfo/all 1293s # Start of mime tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/all/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config 1293s ok 2 /appinfo/mime/api 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/config 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/config 1293s ok 3 /appinfo/mime/default 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config 1293s ok 4 /appinfo/mime/file 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/config 1293s ok 5 /appinfo/mime/scheme-handler 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config 1293s ok 6 /appinfo/mime/default-last-used 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/config 1293s ok 7 /appinfo/mime/ignore-nonexisting 1293s # End of mime tests 1293s # Start of mime-symlinked tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications' 1293s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config 1293s ok 8 /appinfo/mime-symlinked/api 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/config 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/config 1293s ok 9 /appinfo/mime-symlinked/default 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config 1293s ok 10 /appinfo/mime-symlinked/file 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/config 1293s ok 11 /appinfo/mime-symlinked/scheme-handler 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1293s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config 1293s ok 12 /appinfo/mime-symlinked/default-last-used 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1293s # removing '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1293s # creating '/tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1293s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_3B5FK3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config 1293s ok 13 /appinfo/mime-symlinked/ignore-nonexisting 1293s # End of mime-symlinked tests 1293s ok - glib/mimeapps.test 1293s # Running test: glib/resolver-parsing.test 1293s # End of appinfo tests 1293s TAP version 14 1293s # random seed: R02S34f8e4639aaa1bc819a0430b0e1e9fc5 1293s 1..21 1293s # Start of gresolver tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/invalid-header/.dirs/runtime 1293s ok 1 /gresolver/invalid-header 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/record-ownership/.dirs/runtime 1293s ok 2 /gresolver/record-ownership 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/unknown-record-type/.dirs/runtime 1293s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1293s ok 3 /gresolver/unknown-record-type 1293s # Start of mx tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/valid/.dirs/runtime 1293s ok 4 /gresolver/mx/valid 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/.dirs/runtime 1293s ok 5 /gresolver/mx/invalid 1293s # Start of invalid tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short/.dirs/runtime 1293s ok 6 /gresolver/mx/invalid/too-short 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/mx/invalid/too-short2/.dirs/runtime 1293s ok 7 /gresolver/mx/invalid/too-short2 1293s # End of invalid tests 1293s # End of mx tests 1293s # Start of ns tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/valid/.dirs/runtime 1293s ok 8 /gresolver/ns/valid 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/ns/invalid/.dirs/runtime 1293s ok 9 /gresolver/ns/invalid 1293s # End of ns tests 1293s # Start of soa tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/valid/.dirs/runtime 1293s ok 10 /gresolver/soa/valid 1293s # Start of invalid tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/mname/.dirs/runtime 1293s ok 11 /gresolver/soa/invalid/mname 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/rname/.dirs/runtime 1293s ok 12 /gresolver/soa/invalid/rname 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/soa/invalid/too-short/.dirs/runtime 1293s ok 13 /gresolver/soa/invalid/too-short 1293s # End of invalid tests 1293s # End of soa tests 1293s # Start of srv tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/valid/.dirs/runtime 1293s ok 14 /gresolver/srv/valid 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/.dirs/runtime 1293s ok 15 /gresolver/srv/invalid 1293s # Start of invalid tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short/.dirs/runtime 1293s ok 16 /gresolver/srv/invalid/too-short 1293s ok - glib/resolver-parsing.test 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/srv/invalid/too-short2/.dirs/runtime 1293s ok 17 /gresolver/srv/invalid/too-short2 1293s # End of invalid tests 1293s # End of srv tests 1293s # Start of txt tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/.dirs/runtime 1293s ok 18 /gresolver/txt/valid 1293s # Start of valid tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1293s ok 19 /gresolver/txt/valid/multiple-strings 1293s # End of valid tests 1293s # Start of invalid tests 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/empty/.dirs/runtime 1293s ok 20 /gresolver/txt/invalid/empty 1293s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/home 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/cache 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/system-config2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/config 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/system-data2 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/data 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/state 1293s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_O25BK3/gresolver/txt/invalid/overflow/.dirs/runtime 1293s ok 21 /gresolver/txt/invalid/overflow 1293s # End of invalid tests 1293s # End of txt tests 1293s # End of gresolver tests 1293s # Running test: glib/gdbus-address-get-session.test 1293s TAP version 14 1293s # random seed: R02S0fd081b1287d197d75adf89cd60b19d8 1293s 1..2 1293s # Start of gdbus tests 1293s ok 1 /gdbus/x11-autolaunch 1293s ok - glib/gdbus-address-get-session.test 1293s # Running test: glib/atomic.test 1293s ok 2 /gdbus/xdg-runtime 1293s # End of gdbus tests 1293s TAP version 14 1293s # random seed: R02S6d360cead7f642629404980a954ad31e 1293s 1..2 1293s # Start of atomic tests 1293s ok 1 /atomic/types 1293s ok - glib/atomic.test 1293s ok 2 /atomic/threaded 1293s # End of atomic tests 1293s # Running test: glib/codegen.py.test 1293s TAP version 13 1293s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1293s # gdbus-codegen: /usr/bin/gdbus-codegen 1293s # tmpdir: /tmp/tmpuxygghpf 1293s # /tmp/tmpuxygghpf/tmpmghzguxs.xml: 1293s # 1293s # 1293s # 1293s # 1293s # 1293s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuxygghpf/tmpmghzguxs.xml', '--output', '-', '--header'] 1293s # Return code: 0 1293s # Output: 1293s # /* 1293s # * This file is generated by gdbus-codegen, do not modify it. 1293s # * 1293s # * The license of this code is the same as for the D-Bus interface description 1293s # * it was derived from. Note that it links to GLib, so must comply with the 1293s # * LGPL linking clauses. 1293s # */ 1293s # 1293s # #ifndef __STDOUT__ 1293s # #define __STDOUT__ 1293s # 1293s # #include 1293s # 1293s # G_BEGIN_DECLS 1293s # 1293s # 1293s # /* ------------------------------------------------------------------------ */ 1293s # /* Declarations for org.project.UsefulInterface */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1293s # 1293s # struct _OrgProjectUsefulInterface; 1293s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1293s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1293s # 1293s # struct _OrgProjectUsefulInterfaceIface 1293s # { 1293s # GTypeInterface parent_iface; 1293s # 1293s # gboolean (*handle_useful_method) ( 1293s # OrgProjectUsefulInterface *object, 1293s # GDBusMethodInvocation *invocation); 1293s # 1293s # }; 1293s # 1293s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1293s # 1293s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1293s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1293s # 1293s # 1293s # /* D-Bus method call completion functions: */ 1293s # void org_project_useful_interface_complete_useful_method ( 1293s # OrgProjectUsefulInterface *object, 1293s # GDBusMethodInvocation *invocation); 1293s # 1293s # 1293s # 1293s # /* D-Bus method calls: */ 1293s # void org_project_useful_interface_call_useful_method ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # 1293s # gboolean org_project_useful_interface_call_useful_method_finish ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # 1293s # gboolean org_project_useful_interface_call_useful_method_sync ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # 1293s # 1293s # /* ---- */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1293s # 1293s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1293s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1293s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1293s # 1293s # struct _OrgProjectUsefulInterfaceProxy 1293s # { 1293s # /*< private >*/ 1293s # GDBusProxy parent_instance; 1293s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1293s # }; 1293s # 1293s # struct _OrgProjectUsefulInterfaceProxyClass 1293s # { 1293s # GDBusProxyClass parent_class; 1293s # }; 1293s # 1293s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1293s # 1293s # #if GLIB_CHECK_VERSION(2, 44, 0) 1293s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1293s # #endif 1293s # 1293s # void org_project_useful_interface_proxy_new ( 1293s # GDBusConnection *connection, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1293s # GDBusConnection *connection, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # void org_project_useful_interface_proxy_new_for_bus ( 1293s # GBusType bus_type, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1293s # GBusType bus_type, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # 1293s # /* ---- */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1293s # 1293s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1293s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1293s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1293s # 1293s # struct _OrgProjectUsefulInterfaceSkeleton 1293s # { 1293s # /*< private >*/ 1293s # GDBusInterfaceSkeleton parent_instance; 1293s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1293s # }; 1293s # 1293s # struct _OrgProjectUsefulInterfaceSkeletonClass 1293s # { 1293s # GDBusInterfaceSkeletonClass parent_class; 1293s # }; 1293s # 1293s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1293s # 1293s # #if GLIB_CHECK_VERSION(2, 44, 0) 1293s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1293s # #endif 1293s # 1293s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1293s # 1293s # 1293s # G_END_DECLS 1293s # 1293s # #endif /* __STDOUT__ */ 1293s # Error: 1293s # 1293s # /tmp/tmpuxygghpf/tmp2gi3cqsq.xml: 1293s # 1293s # 1293s # 1293s # 1293s # 1293s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuxygghpf/tmp2gi3cqsq.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1293s # Return code: 0 1293s # Output: 1293s # /* 1293s # * This file is generated by gdbus-codegen, do not modify it. 1293s # * 1293s # * The license of this code is the same as for the D-Bus interface description 1293s # * it was derived from. Note that it links to GLib, so must comply with the 1293s # * LGPL linking clauses. 1293s # */ 1293s # 1293s # #ifndef __STDOUT__ 1293s # #define __STDOUT__ 1293s # 1293s # #include 1293s # 1293s # G_BEGIN_DECLS 1293s # 1293s # 1293s # /* ------------------------------------------------------------------------ */ 1293s # /* Declarations for org.project.UsefulInterface */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1293s # 1293s # struct _OrgProjectUsefulInterface; 1293s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1293s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1293s # 1293s # struct _OrgProjectUsefulInterfaceIface 1293s # { 1293s # GTypeInterface parent_iface; 1293s # 1293s # gboolean (*handle_useful_method) ( 1293s # OrgProjectUsefulInterface *object, 1293s # GDBusMethodInvocation *invocation); 1293s # 1293s # }; 1293s # 1293s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1293s # 1293s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1293s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1293s # 1293s # 1293s # /* D-Bus method call completion functions: */ 1293s # void org_project_useful_interface_complete_useful_method ( 1293s # OrgProjectUsefulInterface *object, 1293s # GDBusMethodInvocation *invocation); 1293s # 1293s # 1293s # 1293s # /* D-Bus method calls: */ 1293s # void org_project_useful_interface_call_useful_method ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # 1293s # gboolean org_project_useful_interface_call_useful_method_finish ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # 1293s # gboolean org_project_useful_interface_call_useful_method_sync ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # 1293s # 1293s # /* ---- */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1293s # 1293s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1293s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1293s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1293s # 1293s # struct _OrgProjectUsefulInterfaceProxy 1293s # { 1293s # /*< private >*/ 1293s # GDBusProxy parent_instance; 1293s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1293s # }; 1293s # 1293s # struct _OrgProjectUsefulInterfaceProxyClass 1293s # { 1293s # GDBusProxyClass parent_class; 1293s # }; 1293s # 1293s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1293s # 1293s # #if GLIB_CHECK_VERSION(2, 44, 0) 1293s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1293s # #endif 1293s # 1293s # void org_project_useful_interface_proxy_new ( 1293s # GDBusConnection *connection, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1293s # GDBusConnection *connection, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # void org_project_useful_interface_proxy_new_for_bus ( 1293s # GBusType bus_type, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1293s # GBusType bus_type, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # 1293s # /* ---- */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1293s # 1293s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1293s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1293s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1293s # 1293s # struct _OrgProjectUsefulInterfaceSkeleton 1293s # { 1293s # /*< private >*/ 1293s # GDBusInterfaceSkeleton parent_instance; 1293s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1293s # }; 1293s # 1293s # struct _OrgProjectUsefulInterfaceSkeletonClass 1293s # { 1293s # GDBusInterfaceSkeletonClass parent_class; 1293s # }; 1293s # 1293s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1293s # 1293s # #if GLIB_CHECK_VERSION(2, 44, 0) 1293s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1293s # #endif 1293s # 1293s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1293s # 1293s # 1293s # G_END_DECLS 1293s # 1293s # #endif /* __STDOUT__ */ 1293s # Error: 1293s # 1293s # /tmp/tmpuxygghpf/tmpxj807uey.xml: 1293s # 1293s # 1293s # 1293s # 1293s # 1293s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuxygghpf/tmpxj807uey.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1293s # Return code: 0 1293s # Output: 1293s # /* 1293s # * This file is generated by gdbus-codegen, do not modify it. 1293s # * 1293s # * The license of this code is the same as for the D-Bus interface description 1293s # * it was derived from. Note that it links to GLib, so must comply with the 1293s # * LGPL linking clauses. 1293s # */ 1293s # 1293s # #ifndef __STDOUT__ 1293s # #define __STDOUT__ 1293s # 1293s # #include 1293s # 1293s # G_BEGIN_DECLS 1293s # 1293s # 1293s # /* ------------------------------------------------------------------------ */ 1293s # /* Declarations for org.project.UsefulInterface */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1293s # 1293s # struct _OrgProjectUsefulInterface; 1293s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1293s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1293s # 1293s # struct _OrgProjectUsefulInterfaceIface 1293s # { 1293s # GTypeInterface parent_iface; 1293s # 1293s # gboolean (*handle_useful_method) ( 1293s # OrgProjectUsefulInterface *object, 1293s # GDBusMethodInvocation *invocation); 1293s # 1293s # }; 1293s # 1293s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1293s # 1293s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1293s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1293s # 1293s # 1293s # /* D-Bus method call completion functions: */ 1293s # void org_project_useful_interface_complete_useful_method ( 1293s # OrgProjectUsefulInterface *object, 1293s # GDBusMethodInvocation *invocation); 1293s # 1293s # 1293s # 1293s # /* D-Bus method calls: */ 1293s # void org_project_useful_interface_call_useful_method ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GDBusCallFlags call_flags, 1293s # gint timeout_msec, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # 1293s # gboolean org_project_useful_interface_call_useful_method_finish ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # 1293s # gboolean org_project_useful_interface_call_useful_method_sync ( 1293s # OrgProjectUsefulInterface *proxy, 1293s # GDBusCallFlags call_flags, 1293s # gint timeout_msec, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # 1293s # 1293s # /* ---- */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1293s # 1293s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1293s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1293s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1293s # 1293s # struct _OrgProjectUsefulInterfaceProxy 1293s # { 1293s # /*< private >*/ 1293s # GDBusProxy parent_instance; 1293s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1293s # }; 1293s # 1293s # struct _OrgProjectUsefulInterfaceProxyClass 1293s # { 1293s # GDBusProxyClass parent_class; 1293s # }; 1293s # 1293s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1293s # 1293s # #if GLIB_CHECK_VERSION(2, 44, 0) 1293s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1293s # #endif 1293s # 1293s # void org_project_useful_interface_proxy_new ( 1293s # GDBusConnection *connection, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1293s # GDBusConnection *connection, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # void org_project_useful_interface_proxy_new_for_bus ( 1293s # GBusType bus_type, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GAsyncReadyCallback callback, 1293s # gpointer user_data); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1293s # GAsyncResult *res, 1293s # GError **error); 1293s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1293s # GBusType bus_type, 1293s # GDBusProxyFlags flags, 1293s # const gchar *name, 1293s # const gchar *object_path, 1293s # GCancellable *cancellable, 1293s # GError **error); 1293s # 1293s # 1293s # /* ---- */ 1293s # 1293s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1293s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1293s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1293s # 1293s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1293s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1293s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1293s # 1293s # struct _OrgProjectUsefulInterfaceSkeleton 1293s # { 1293s # /*< private >*/ 1293s # GDBusInterfaceSkeleton parent_instance; 1293s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1293s # }; 1293s # 1293s # struct _OrgProjectUsefulInterfaceSkeletonClass 1293s # { 1293s # GDBusInterfaceSkeletonClass parent_class; 1293s # }; 1293s # 1293s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1293s # 1293s # #if GLIB_CHECK_VERSION(2, 44, 0) 1293s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1293s # #endif 1293s # 1293s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1293s # 1293s # 1293s # G_END_DECLS 1293s # 1293s # #endif /* __STDOUT__ */ 1293s # Error: 1294s ok 2 __main__.TestCodegen.test_dbus_types 1294s # gdbus-codegen: /usr/bin/gdbus-codegen 1294s # tmpdir: /tmp/tmpkbkayk85 1294s # /tmp/tmpkbkayk85/tmp7p94q5_h.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmp7p94q5_h.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 1294s # /tmp/tmpkbkayk85/tmpneb3rw1p.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpneb3rw1p.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 1294s # /tmp/tmpkbkayk85/tmpdx12z7hy.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpdx12z7hy.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 1294s # /tmp/tmpkbkayk85/tmpcaakraat.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpcaakraat.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 1294s # /tmp/tmpkbkayk85/tmp65xozqii.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmp65xozqii.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 1294s # /tmp/tmpkbkayk85/tmpz0xdao10.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpz0xdao10.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 1294s # /tmp/tmpkbkayk85/tmpbqcr_3s_.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpbqcr_3s_.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 1294s # /tmp/tmpkbkayk85/tmp8fimcuzq.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmp8fimcuzq.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 1294s # /tmp/tmpkbkayk85/tmpsxdtffsq.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpsxdtffsq.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 1294s # /tmp/tmpkbkayk85/tmpucw6qyqk.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpucw6qyqk.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: D-Bus maximum signature length of 255 exceeded. 1294s # /tmp/tmpkbkayk85/tmp7okrkwbg.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmp7okrkwbg.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: D-Bus maximum signature length of 255 exceeded. 1294s # /tmp/tmpkbkayk85/tmp0iqqi9og.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmp0iqqi9og.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 1294s # /tmp/tmpkbkayk85/tmpom9vmdz9.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpom9vmdz9.xml', '--output', '-', '--body'] 1294s # Return code: 1 1294s # Output: 1294s # 1294s # Error: 1294s # ERROR: D-Bus maximum signature length of 255 exceeded. 1294s # /tmp/tmpkbkayk85/tmp0cwpgfft.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmp0cwpgfft.xml', '--output', '-', '--body'] 1294s # Return code: 0 1294s # Output: 1294s # /* 1294s # * This file is generated by gdbus-codegen, do not modify it. 1294s # * 1294s # * The license of this code is the same as for the D-Bus interface description 1294s # * it was derived from. Note that it links to GLib, so must comply with the 1294s # * LGPL linking clauses. 1294s # */ 1294s # 1294s # #ifdef HAVE_CONFIG_H 1294s # # include "config.h" 1294s # #endif 1294s # 1294s # #include 1294s # #ifdef G_OS_UNIX 1294s # # include 1294s # #endif 1294s # 1294s # #ifdef G_ENABLE_DEBUG 1294s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1294s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1294s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1294s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1294s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1294s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1294s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1294s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1294s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1294s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1294s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1294s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1294s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1294s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1294s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1294s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1294s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1294s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1294s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1294s # #else /* !G_ENABLE_DEBUG */ 1294s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1294s # * Do not access GValues directly in your code. Instead, use the 1294s # * g_value_get_*() functions 1294s # */ 1294s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1294s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1294s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1294s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1294s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1294s # #endif /* !G_ENABLE_DEBUG */ 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusArgInfo parent_struct; 1294s # gboolean use_gvariant; 1294s # } _ExtendedGDBusArgInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusMethodInfo parent_struct; 1294s # const gchar *signal_name; 1294s # gboolean pass_fdlist; 1294s # } _ExtendedGDBusMethodInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusSignalInfo parent_struct; 1294s # const gchar *signal_name; 1294s # } _ExtendedGDBusSignalInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusPropertyInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # guint use_gvariant : 1; 1294s # guint emits_changed_signal : 1; 1294s # } _ExtendedGDBusPropertyInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusInterfaceInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # } _ExtendedGDBusInterfaceInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # guint prop_id; 1294s # GValue orig_value; /* the value before the change */ 1294s # } ChangedProperty; 1294s # 1294s # static void 1294s # _changed_property_free (ChangedProperty *data) 1294s # { 1294s # g_value_unset (&data->orig_value); 1294s # g_free (data); 1294s # } 1294s # 1294s # static gboolean 1294s # _g_strv_equal0 (gchar **a, gchar **b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # guint n; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # if (g_strv_length (a) != g_strv_length (b)) 1294s # goto out; 1294s # for (n = 0; a[n] != NULL; n++) 1294s # if (g_strcmp0 (a[n], b[n]) != 0) 1294s # goto out; 1294s # ret = TRUE; 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _g_variant_equal0 (GVariant *a, GVariant *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # ret = g_variant_equal (a, b); 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # G_GNUC_UNUSED static gboolean 1294s # _g_value_equal (const GValue *a, const GValue *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1294s # switch (G_VALUE_TYPE (a)) 1294s # { 1294s # case G_TYPE_BOOLEAN: 1294s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1294s # break; 1294s # case G_TYPE_UCHAR: 1294s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1294s # break; 1294s # case G_TYPE_INT: 1294s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1294s # break; 1294s # case G_TYPE_UINT: 1294s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1294s # break; 1294s # case G_TYPE_INT64: 1294s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1294s # break; 1294s # case G_TYPE_UINT64: 1294s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1294s # break; 1294s # case G_TYPE_DOUBLE: 1294s # { 1294s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1294s # gdouble da = g_value_get_double (a); 1294s # gdouble db = g_value_get_double (b); 1294s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1294s # } 1294s # break; 1294s # case G_TYPE_STRING: 1294s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1294s # break; 1294s # case G_TYPE_VARIANT: 1294s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1294s # break; 1294s # default: 1294s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1294s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1294s # else 1294s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1294s # break; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ 1294s # * Code for interface GoodTypes 1294s # * ------------------------------------------------------------------------ 1294s # */ 1294s # 1294s # /** 1294s # * SECTION:GoodTypes 1294s # * @title: GoodTypes 1294s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1294s # * 1294s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1294s # */ 1294s # 1294s # /* ---- Introspection data for GoodTypes ---- */ 1294s # 1294s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "GoodPropertyType", 1294s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1294s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1294s # NULL 1294s # }, 1294s # "good-property-type", 1294s # FALSE, 1294s # TRUE 1294s # }; 1294s # 1294s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1294s # { 1294s # &_good_types_property_info_good_property_type.parent_struct, 1294s # NULL 1294s # }; 1294s # 1294s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "GoodTypes", 1294s # NULL, 1294s # NULL, 1294s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1294s # NULL 1294s # }, 1294s # "good-types", 1294s # }; 1294s # 1294s # 1294s # /** 1294s # * good_types_interface_info: 1294s # * 1294s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1294s # * 1294s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1294s # */ 1294s # GDBusInterfaceInfo * 1294s # good_types_interface_info (void) 1294s # { 1294s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1294s # } 1294s # 1294s # /** 1294s # * good_types_override_properties: 1294s # * @klass: The class structure for a #GObject derived class. 1294s # * @property_id_begin: The property id to assign to the first overridden property. 1294s # * 1294s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1294s # * The properties are overridden in the order they are defined. 1294s # * 1294s # * Returns: The last property id. 1294s # */ 1294s # guint 1294s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1294s # { 1294s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1294s # return property_id_begin - 1; 1294s # } 1294s # 1294s # 1294s # 1294s # /** 1294s # * GoodTypes: 1294s # * 1294s # * Abstract interface type for the D-Bus interface GoodTypes. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesIface: 1294s # * @parent_iface: The parent interface. 1294s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1294s # * 1294s # * Virtual table for the D-Bus interface GoodTypes. 1294s # */ 1294s # 1294s # typedef GoodTypesIface GoodTypesInterface; 1294s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1294s # 1294s # static void 1294s # good_types_default_init (GoodTypesIface *iface) 1294s # { 1294s # /* GObject properties for D-Bus properties: */ 1294s # /** 1294s # * GoodTypes:good-property-type: 1294s # * 1294s # * Represents the D-Bus property "GoodPropertyType". 1294s # * 1294s # * 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. 1294s # */ 1294s # g_object_interface_install_property (iface, 1294s # 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)); 1294s # } 1294s # 1294s # /** 1294s # * good_types_get_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * 1294s # * Gets the value of the "GoodPropertyType" D-Bus property. 1294s # * 1294s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1294s # * 1294s # * 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. 1294s # * 1294s # * 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. 1294s # */ 1294s # GVariant * 1294s # good_types_get_good_property_type (GoodTypes *object) 1294s # { 1294s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1294s # 1294s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1294s # } 1294s # 1294s # /** 1294s # * good_types_dup_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * 1294s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1294s # * 1294s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1294s # * 1294s # * 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(). 1294s # */ 1294s # GVariant * 1294s # good_types_dup_good_property_type (GoodTypes *object) 1294s # { 1294s # GVariant *value; 1294s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1294s # return value; 1294s # } 1294s # 1294s # /** 1294s # * good_types_set_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * @value: The value to set. 1294s # * 1294s # * Sets the "GoodPropertyType" D-Bus property to @value. 1294s # * 1294s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1294s # */ 1294s # void 1294s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1294s # { 1294s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * GoodTypesProxy: 1294s # * 1294s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesProxyClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for GoodTypesProxy. 1294s # */ 1294s # 1294s # struct _GoodTypesProxyPrivate 1294s # { 1294s # GData *qdata; 1294s # }; 1294s # 1294s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1294s # G_ADD_PRIVATE (GoodTypesProxy) 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # good_types_proxy_finalize (GObject *object) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1294s # g_datalist_clear (&proxy->priv->qdata); 1294s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_get_property (GObject *object, 1294s # guint prop_id, 1294s # GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *variant; 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1294s # if (info->use_gvariant) 1294s # { 1294s # g_value_set_variant (value, variant); 1294s # } 1294s # else 1294s # { 1294s # if (variant != NULL) 1294s # g_dbus_gvariant_to_gvalue (variant, value); 1294s # } 1294s # if (variant != NULL) 1294s # g_variant_unref (variant); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1294s # GAsyncResult *res, 1294s # gpointer user_data) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info = user_data; 1294s # GError *error; 1294s # GVariant *_ret; 1294s # error = NULL; 1294s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1294s # if (!_ret) 1294s # { 1294s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1294s # info->parent_struct.name, 1294s # error->message, g_quark_to_string (error->domain), error->code); 1294s # g_error_free (error); 1294s # } 1294s # else 1294s # { 1294s # g_variant_unref (_ret); 1294s # } 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_set_property (GObject *object, 1294s # guint prop_id, 1294s # const GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *variant; 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1294s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1294s # "org.freedesktop.DBus.Properties.Set", 1294s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1294s # G_DBUS_CALL_FLAGS_NONE, 1294s # -1, 1294s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1294s # g_variant_unref (variant); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_g_signal (GDBusProxy *proxy, 1294s # const gchar *sender_name G_GNUC_UNUSED, 1294s # const gchar *signal_name, 1294s # GVariant *parameters) 1294s # { 1294s # _ExtendedGDBusSignalInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # gsize n; 1294s # guint signal_id; 1294s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1294s # if (info == NULL) 1294s # return; 1294s # num_params = g_variant_n_children (parameters); 1294s # paramv = g_new0 (GValue, num_params + 1); 1294s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1294s # g_value_set_object (¶mv[0], proxy); 1294s # g_variant_iter_init (&iter, parameters); 1294s # n = 1; 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1294s # g_signal_emitv (paramv, signal_id, 0, NULL); 1294s # for (n = 0; n < num_params + 1; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1294s # GVariant *changed_properties, 1294s # const gchar *const *invalidated_properties) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1294s # guint n; 1294s # const gchar *key; 1294s # GVariantIter *iter; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # g_variant_get (changed_properties, "a{sv}", &iter); 1294s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1294s # g_datalist_remove_data (&proxy->priv->qdata, key); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # g_variant_iter_free (iter); 1294s # for (n = 0; invalidated_properties[n] != NULL; n++) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1294s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_proxy_get_good_property_type (GoodTypes *object) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1294s # GVariant *variant; 1294s # GVariant *value = NULL; 1294s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1294s # value = variant; 1294s # if (variant != NULL) 1294s # g_variant_unref (variant); 1294s # return value; 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_init (GoodTypesProxy *proxy) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1294s # #else 1294s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1294s # #endif 1294s # 1294s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusProxyClass *proxy_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = good_types_proxy_finalize; 1294s # gobject_class->get_property = good_types_proxy_get_property; 1294s # gobject_class->set_property = good_types_proxy_set_property; 1294s # 1294s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1294s # proxy_class->g_signal = good_types_proxy_g_signal; 1294s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1294s # 1294s # good_types_override_properties (gobject_class, 1); 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_iface_init (GoodTypesIface *iface) 1294s # { 1294s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1294s # * 1294s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # good_types_proxy_new ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with good_types_proxy_new(). 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_sync: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_sync ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1294s # * 1294s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # good_types_proxy_new_for_bus ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_for_bus_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus_sync: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_for_bus_sync ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * GoodTypesSkeleton: 1294s # * 1294s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesSkeletonClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for GoodTypesSkeleton. 1294s # */ 1294s # 1294s # struct _GoodTypesSkeletonPrivate 1294s # { 1294s # GValue *properties; 1294s # GList *changed_properties; 1294s # GSource *changed_properties_idle_source; 1294s # GMainContext *context; 1294s # GMutex lock; 1294s # }; 1294s # 1294s # static void 1294s # _good_types_skeleton_handle_method_call ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name, 1294s # const gchar *method_name, 1294s # GVariant *parameters, 1294s # GDBusMethodInvocation *invocation, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # _ExtendedGDBusMethodInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # guint num_extra; 1294s # gsize n; 1294s # guint signal_id; 1294s # GValue return_value = G_VALUE_INIT; 1294s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1294s # g_assert (info != NULL); 1294s # num_params = g_variant_n_children (parameters); 1294s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1294s # n = 0; 1294s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1294s # g_value_set_object (¶mv[n++], skeleton); 1294s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1294s # g_value_set_object (¶mv[n++], invocation); 1294s # if (info->pass_fdlist) 1294s # { 1294s # #ifdef G_OS_UNIX 1294s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1294s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1294s # #else 1294s # g_assert_not_reached (); 1294s # #endif 1294s # } 1294s # g_variant_iter_init (&iter, parameters); 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1294s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1294s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1294s # if (!g_value_get_boolean (&return_value)) 1294s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1294s # g_value_unset (&return_value); 1294s # for (n = 0; n < num_params + num_extra; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static GVariant * 1294s # _good_types_skeleton_handle_get_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *ret; 1294s # ret = NULL; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # g_value_init (&value, pspec->value_type); 1294s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1294s # g_value_unset (&value); 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _good_types_skeleton_handle_set_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GVariant *variant, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # gboolean ret; 1294s # ret = FALSE; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # if (info->use_gvariant) 1294s # g_value_set_variant (&value, variant); 1294s # else 1294s # g_dbus_gvariant_to_gvalue (variant, &value); 1294s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # g_value_unset (&value); 1294s # ret = TRUE; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1294s # { 1294s # _good_types_skeleton_handle_method_call, 1294s # _good_types_skeleton_handle_get_property, 1294s # _good_types_skeleton_handle_set_property, 1294s # {NULL} 1294s # }; 1294s # 1294s # static GDBusInterfaceInfo * 1294s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return good_types_interface_info (); 1294s # } 1294s # 1294s # static GDBusInterfaceVTable * 1294s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1294s # 1294s # GVariantBuilder builder; 1294s # guint n; 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1294s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #else 1294s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #endif 1294s # if (_good_types_interface_info.parent_struct.properties == NULL) 1294s # goto out; 1294s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1294s # { 1294s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1294s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1294s # { 1294s # GVariant *value; 1294s # 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); 1294s # if (value != NULL) 1294s # { 1294s # g_variant_take_ref (value); 1294s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1294s # g_variant_unref (value); 1294s # } 1294s # } 1294s # } 1294s # out: 1294s # return g_variant_builder_end (&builder); 1294s # } 1294s # 1294s # static gboolean _good_types_emit_changed (gpointer user_data); 1294s # 1294s # static void 1294s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1294s # gboolean emit_changed = FALSE; 1294s # 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # if (skeleton->priv->changed_properties_idle_source != NULL) 1294s # { 1294s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1294s # skeleton->priv->changed_properties_idle_source = NULL; 1294s # emit_changed = TRUE; 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # 1294s # if (emit_changed) 1294s # _good_types_emit_changed (skeleton); 1294s # } 1294s # 1294s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_ADD_PRIVATE (GoodTypesSkeleton) 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # good_types_skeleton_finalize (GObject *object) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # guint n; 1294s # for (n = 0; n < 1; n++) 1294s # g_value_unset (&skeleton->priv->properties[n]); 1294s # g_free (skeleton->priv->properties); 1294s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1294s # if (skeleton->priv->changed_properties_idle_source != NULL) 1294s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1294s # g_main_context_unref (skeleton->priv->context); 1294s # g_mutex_clear (&skeleton->priv->lock); 1294s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_get_property (GObject *object, 1294s # guint prop_id, 1294s # GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # } 1294s # 1294s # static gboolean 1294s # _good_types_emit_changed (gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GList *l; 1294s # GVariantBuilder builder; 1294s # GVariantBuilder invalidated_builder; 1294s # guint num_changes; 1294s # 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1294s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1294s # #else 1294s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1294s # #endif 1294s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1294s # { 1294s # ChangedProperty *cp = l->data; 1294s # GVariant *variant; 1294s # const GValue *cur_value; 1294s # 1294s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1294s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1294s # { 1294s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1294s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1294s # g_variant_unref (variant); 1294s # num_changes++; 1294s # } 1294s # } 1294s # if (num_changes > 0) 1294s # { 1294s # GList *connections, *ll; 1294s # GVariant *signal_variant; 1294s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1294s # &builder, &invalidated_builder)); 1294s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1294s # for (ll = connections; ll != NULL; ll = ll->next) 1294s # { 1294s # GDBusConnection *connection = ll->data; 1294s # 1294s # g_dbus_connection_emit_signal (connection, 1294s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1294s # "org.freedesktop.DBus.Properties", 1294s # "PropertiesChanged", 1294s # signal_variant, 1294s # NULL); 1294s # } 1294s # g_variant_unref (signal_variant); 1294s # g_list_free_full (connections, g_object_unref); 1294s # } 1294s # else 1294s # { 1294s # g_variant_builder_clear (&builder); 1294s # g_variant_builder_clear (&invalidated_builder); 1294s # } 1294s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1294s # skeleton->priv->changed_properties = NULL; 1294s # skeleton->priv->changed_properties_idle_source = NULL; 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # return FALSE; 1294s # } 1294s # 1294s # static void 1294s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1294s # { 1294s # ChangedProperty *cp; 1294s # GList *l; 1294s # cp = NULL; 1294s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1294s # { 1294s # ChangedProperty *i_cp = l->data; 1294s # if (i_cp->info == info) 1294s # { 1294s # cp = i_cp; 1294s # break; 1294s # } 1294s # } 1294s # if (cp == NULL) 1294s # { 1294s # cp = g_new0 (ChangedProperty, 1); 1294s # cp->prop_id = prop_id; 1294s # cp->info = info; 1294s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1294s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1294s # g_value_copy (orig_value, &cp->orig_value); 1294s # } 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_notify (GObject *object, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # if (skeleton->priv->changed_properties != NULL && 1294s # skeleton->priv->changed_properties_idle_source == NULL) 1294s # { 1294s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1294s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1294s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1294s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1294s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1294s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_set_property (GObject *object, 1294s # guint prop_id, 1294s # const GValue *value, 1294s # GParamSpec *pspec) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # g_object_freeze_notify (object); 1294s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1294s # { 1294s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1294s # info->emits_changed_signal) 1294s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1294s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1294s # g_object_notify_by_pspec (object, pspec); 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # g_object_thaw_notify (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1294s # #else 1294s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1294s # #endif 1294s # 1294s # g_mutex_init (&skeleton->priv->lock); 1294s # skeleton->priv->context = g_main_context_ref_thread_default (); 1294s # skeleton->priv->properties = g_new0 (GValue, 1); 1294s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # GVariant *value; 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # return value; 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusInterfaceSkeletonClass *skeleton_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = good_types_skeleton_finalize; 1294s # gobject_class->get_property = good_types_skeleton_get_property; 1294s # gobject_class->set_property = good_types_skeleton_set_property; 1294s # gobject_class->notify = good_types_skeleton_notify; 1294s # 1294s # 1294s # good_types_override_properties (gobject_class, 1); 1294s # 1294s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1294s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1294s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1294s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1294s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1294s # { 1294s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1294s # } 1294s # 1294s # /** 1294s # * good_types_skeleton_new: 1294s # * 1294s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1294s # */ 1294s # GoodTypes * 1294s # good_types_skeleton_new (void) 1294s # { 1294s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1294s # } 1294s # Error: 1294s # 1294s # /tmp/tmpkbkayk85/tmpbwrdpx1l.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpbwrdpx1l.xml', '--output', '-', '--body'] 1294s # Return code: 0 1294s # Output: 1294s # /* 1294s # * This file is generated by gdbus-codegen, do not modify it. 1294s # * 1294s # * The license of this code is the same as for the D-Bus interface description 1294s # * it was derived from. Note that it links to GLib, so must comply with the 1294s # * LGPL linking clauses. 1294s # */ 1294s # 1294s # #ifdef HAVE_CONFIG_H 1294s # # include "config.h" 1294s # #endif 1294s # 1294s # #include 1294s # #ifdef G_OS_UNIX 1294s # # include 1294s # #endif 1294s # 1294s # #ifdef G_ENABLE_DEBUG 1294s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1294s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1294s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1294s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1294s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1294s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1294s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1294s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1294s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1294s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1294s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1294s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1294s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1294s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1294s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1294s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1294s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1294s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1294s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1294s # #else /* !G_ENABLE_DEBUG */ 1294s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1294s # * Do not access GValues directly in your code. Instead, use the 1294s # * g_value_get_*() functions 1294s # */ 1294s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1294s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1294s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1294s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1294s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1294s # #endif /* !G_ENABLE_DEBUG */ 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusArgInfo parent_struct; 1294s # gboolean use_gvariant; 1294s # } _ExtendedGDBusArgInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusMethodInfo parent_struct; 1294s # const gchar *signal_name; 1294s # gboolean pass_fdlist; 1294s # } _ExtendedGDBusMethodInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusSignalInfo parent_struct; 1294s # const gchar *signal_name; 1294s # } _ExtendedGDBusSignalInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusPropertyInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # guint use_gvariant : 1; 1294s # guint emits_changed_signal : 1; 1294s # } _ExtendedGDBusPropertyInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusInterfaceInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # } _ExtendedGDBusInterfaceInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # guint prop_id; 1294s # GValue orig_value; /* the value before the change */ 1294s # } ChangedProperty; 1294s # 1294s # static void 1294s # _changed_property_free (ChangedProperty *data) 1294s # { 1294s # g_value_unset (&data->orig_value); 1294s # g_free (data); 1294s # } 1294s # 1294s # static gboolean 1294s # _g_strv_equal0 (gchar **a, gchar **b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # guint n; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # if (g_strv_length (a) != g_strv_length (b)) 1294s # goto out; 1294s # for (n = 0; a[n] != NULL; n++) 1294s # if (g_strcmp0 (a[n], b[n]) != 0) 1294s # goto out; 1294s # ret = TRUE; 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _g_variant_equal0 (GVariant *a, GVariant *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # ret = g_variant_equal (a, b); 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # G_GNUC_UNUSED static gboolean 1294s # _g_value_equal (const GValue *a, const GValue *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1294s # switch (G_VALUE_TYPE (a)) 1294s # { 1294s # case G_TYPE_BOOLEAN: 1294s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1294s # break; 1294s # case G_TYPE_UCHAR: 1294s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1294s # break; 1294s # case G_TYPE_INT: 1294s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1294s # break; 1294s # case G_TYPE_UINT: 1294s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1294s # break; 1294s # case G_TYPE_INT64: 1294s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1294s # break; 1294s # case G_TYPE_UINT64: 1294s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1294s # break; 1294s # case G_TYPE_DOUBLE: 1294s # { 1294s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1294s # gdouble da = g_value_get_double (a); 1294s # gdouble db = g_value_get_double (b); 1294s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1294s # } 1294s # break; 1294s # case G_TYPE_STRING: 1294s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1294s # break; 1294s # case G_TYPE_VARIANT: 1294s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1294s # break; 1294s # default: 1294s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1294s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1294s # else 1294s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1294s # break; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ 1294s # * Code for interface GoodTypes 1294s # * ------------------------------------------------------------------------ 1294s # */ 1294s # 1294s # /** 1294s # * SECTION:GoodTypes 1294s # * @title: GoodTypes 1294s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1294s # * 1294s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1294s # */ 1294s # 1294s # /* ---- Introspection data for GoodTypes ---- */ 1294s # 1294s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "GoodPropertyType", 1294s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1294s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1294s # NULL 1294s # }, 1294s # "good-property-type", 1294s # FALSE, 1294s # TRUE 1294s # }; 1294s # 1294s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1294s # { 1294s # &_good_types_property_info_good_property_type.parent_struct, 1294s # NULL 1294s # }; 1294s # 1294s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "GoodTypes", 1294s # NULL, 1294s # NULL, 1294s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1294s # NULL 1294s # }, 1294s # "good-types", 1294s # }; 1294s # 1294s # 1294s # /** 1294s # * good_types_interface_info: 1294s # * 1294s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1294s # * 1294s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1294s # */ 1294s # GDBusInterfaceInfo * 1294s # good_types_interface_info (void) 1294s # { 1294s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1294s # } 1294s # 1294s # /** 1294s # * good_types_override_properties: 1294s # * @klass: The class structure for a #GObject derived class. 1294s # * @property_id_begin: The property id to assign to the first overridden property. 1294s # * 1294s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1294s # * The properties are overridden in the order they are defined. 1294s # * 1294s # * Returns: The last property id. 1294s # */ 1294s # guint 1294s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1294s # { 1294s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1294s # return property_id_begin - 1; 1294s # } 1294s # 1294s # 1294s # 1294s # /** 1294s # * GoodTypes: 1294s # * 1294s # * Abstract interface type for the D-Bus interface GoodTypes. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesIface: 1294s # * @parent_iface: The parent interface. 1294s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1294s # * 1294s # * Virtual table for the D-Bus interface GoodTypes. 1294s # */ 1294s # 1294s # typedef GoodTypesIface GoodTypesInterface; 1294s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1294s # 1294s # static void 1294s # good_types_default_init (GoodTypesIface *iface) 1294s # { 1294s # /* GObject properties for D-Bus properties: */ 1294s # /** 1294s # * GoodTypes:good-property-type: 1294s # * 1294s # * Represents the D-Bus property "GoodPropertyType". 1294s # * 1294s # * 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. 1294s # */ 1294s # g_object_interface_install_property (iface, 1294s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1294s # } 1294s # 1294s # /** 1294s # * good_types_get_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * 1294s # * Gets the value of the "GoodPropertyType" D-Bus property. 1294s # * 1294s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1294s # * 1294s # * 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. 1294s # * 1294s # * 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. 1294s # */ 1294s # GVariant * 1294s # good_types_get_good_property_type (GoodTypes *object) 1294s # { 1294s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1294s # 1294s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1294s # } 1294s # 1294s # /** 1294s # * good_types_dup_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * 1294s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1294s # * 1294s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1294s # * 1294s # * 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(). 1294s # */ 1294s # GVariant * 1294s # good_types_dup_good_property_type (GoodTypes *object) 1294s # { 1294s # GVariant *value; 1294s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1294s # return value; 1294s # } 1294s # 1294s # /** 1294s # * good_types_set_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * @value: The value to set. 1294s # * 1294s # * Sets the "GoodPropertyType" D-Bus property to @value. 1294s # * 1294s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1294s # */ 1294s # void 1294s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1294s # { 1294s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * GoodTypesProxy: 1294s # * 1294s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesProxyClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for GoodTypesProxy. 1294s # */ 1294s # 1294s # struct _GoodTypesProxyPrivate 1294s # { 1294s # GData *qdata; 1294s # }; 1294s # 1294s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1294s # G_ADD_PRIVATE (GoodTypesProxy) 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # good_types_proxy_finalize (GObject *object) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1294s # g_datalist_clear (&proxy->priv->qdata); 1294s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_get_property (GObject *object, 1294s # guint prop_id, 1294s # GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *variant; 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1294s # if (info->use_gvariant) 1294s # { 1294s # g_value_set_variant (value, variant); 1294s # } 1294s # else 1294s # { 1294s # if (variant != NULL) 1294s # g_dbus_gvariant_to_gvalue (variant, value); 1294s # } 1294s # if (variant != NULL) 1294s # g_variant_unref (variant); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1294s # GAsyncResult *res, 1294s # gpointer user_data) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info = user_data; 1294s # GError *error; 1294s # GVariant *_ret; 1294s # error = NULL; 1294s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1294s # if (!_ret) 1294s # { 1294s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1294s # info->parent_struct.name, 1294s # error->message, g_quark_to_string (error->domain), error->code); 1294s # g_error_free (error); 1294s # } 1294s # else 1294s # { 1294s # g_variant_unref (_ret); 1294s # } 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_set_property (GObject *object, 1294s # guint prop_id, 1294s # const GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *variant; 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1294s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1294s # "org.freedesktop.DBus.Properties.Set", 1294s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1294s # G_DBUS_CALL_FLAGS_NONE, 1294s # -1, 1294s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1294s # g_variant_unref (variant); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_g_signal (GDBusProxy *proxy, 1294s # const gchar *sender_name G_GNUC_UNUSED, 1294s # const gchar *signal_name, 1294s # GVariant *parameters) 1294s # { 1294s # _ExtendedGDBusSignalInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # gsize n; 1294s # guint signal_id; 1294s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1294s # if (info == NULL) 1294s # return; 1294s # num_params = g_variant_n_children (parameters); 1294s # paramv = g_new0 (GValue, num_params + 1); 1294s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1294s # g_value_set_object (¶mv[0], proxy); 1294s # g_variant_iter_init (&iter, parameters); 1294s # n = 1; 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1294s # g_signal_emitv (paramv, signal_id, 0, NULL); 1294s # for (n = 0; n < num_params + 1; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1294s # GVariant *changed_properties, 1294s # const gchar *const *invalidated_properties) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1294s # guint n; 1294s # const gchar *key; 1294s # GVariantIter *iter; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # g_variant_get (changed_properties, "a{sv}", &iter); 1294s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1294s # g_datalist_remove_data (&proxy->priv->qdata, key); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # g_variant_iter_free (iter); 1294s # for (n = 0; invalidated_properties[n] != NULL; n++) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1294s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_proxy_get_good_property_type (GoodTypes *object) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1294s # GVariant *variant; 1294s # GVariant *value = NULL; 1294s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1294s # value = variant; 1294s # if (variant != NULL) 1294s # g_variant_unref (variant); 1294s # return value; 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_init (GoodTypesProxy *proxy) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1294s # #else 1294s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1294s # #endif 1294s # 1294s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusProxyClass *proxy_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = good_types_proxy_finalize; 1294s # gobject_class->get_property = good_types_proxy_get_property; 1294s # gobject_class->set_property = good_types_proxy_set_property; 1294s # 1294s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1294s # proxy_class->g_signal = good_types_proxy_g_signal; 1294s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1294s # 1294s # good_types_override_properties (gobject_class, 1); 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_iface_init (GoodTypesIface *iface) 1294s # { 1294s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1294s # * 1294s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # good_types_proxy_new ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with good_types_proxy_new(). 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_sync: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_sync ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1294s # * 1294s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # good_types_proxy_new_for_bus ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_for_bus_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus_sync: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_for_bus_sync ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * GoodTypesSkeleton: 1294s # * 1294s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesSkeletonClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for GoodTypesSkeleton. 1294s # */ 1294s # 1294s # struct _GoodTypesSkeletonPrivate 1294s # { 1294s # GValue *properties; 1294s # GList *changed_properties; 1294s # GSource *changed_properties_idle_source; 1294s # GMainContext *context; 1294s # GMutex lock; 1294s # }; 1294s # 1294s # static void 1294s # _good_types_skeleton_handle_method_call ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name, 1294s # const gchar *method_name, 1294s # GVariant *parameters, 1294s # GDBusMethodInvocation *invocation, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # _ExtendedGDBusMethodInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # guint num_extra; 1294s # gsize n; 1294s # guint signal_id; 1294s # GValue return_value = G_VALUE_INIT; 1294s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1294s # g_assert (info != NULL); 1294s # num_params = g_variant_n_children (parameters); 1294s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1294s # n = 0; 1294s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1294s # g_value_set_object (¶mv[n++], skeleton); 1294s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1294s # g_value_set_object (¶mv[n++], invocation); 1294s # if (info->pass_fdlist) 1294s # { 1294s # #ifdef G_OS_UNIX 1294s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1294s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1294s # #else 1294s # g_assert_not_reached (); 1294s # #endif 1294s # } 1294s # g_variant_iter_init (&iter, parameters); 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1294s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1294s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1294s # if (!g_value_get_boolean (&return_value)) 1294s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1294s # g_value_unset (&return_value); 1294s # for (n = 0; n < num_params + num_extra; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static GVariant * 1294s # _good_types_skeleton_handle_get_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *ret; 1294s # ret = NULL; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # g_value_init (&value, pspec->value_type); 1294s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1294s # g_value_unset (&value); 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _good_types_skeleton_handle_set_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GVariant *variant, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # gboolean ret; 1294s # ret = FALSE; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # if (info->use_gvariant) 1294s # g_value_set_variant (&value, variant); 1294s # else 1294s # g_dbus_gvariant_to_gvalue (variant, &value); 1294s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # g_value_unset (&value); 1294s # ret = TRUE; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1294s # { 1294s # _good_types_skeleton_handle_method_call, 1294s # _good_types_skeleton_handle_get_property, 1294s # _good_types_skeleton_handle_set_property, 1294s # {NULL} 1294s # }; 1294s # 1294s # static GDBusInterfaceInfo * 1294s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return good_types_interface_info (); 1294s # } 1294s # 1294s # static GDBusInterfaceVTable * 1294s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1294s # 1294s # GVariantBuilder builder; 1294s # guint n; 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1294s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #else 1294s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #endif 1294s # if (_good_types_interface_info.parent_struct.properties == NULL) 1294s # goto out; 1294s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1294s # { 1294s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1294s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1294s # { 1294s # GVariant *value; 1294s # 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); 1294s # if (value != NULL) 1294s # { 1294s # g_variant_take_ref (value); 1294s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1294s # g_variant_unref (value); 1294s # } 1294s # } 1294s # } 1294s # out: 1294s # return g_variant_builder_end (&builder); 1294s # } 1294s # 1294s # static gboolean _good_types_emit_changed (gpointer user_data); 1294s # 1294s # static void 1294s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1294s # gboolean emit_changed = FALSE; 1294s # 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # if (skeleton->priv->changed_properties_idle_source != NULL) 1294s # { 1294s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1294s # skeleton->priv->changed_properties_idle_source = NULL; 1294s # emit_changed = TRUE; 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # 1294s # if (emit_changed) 1294s # _good_types_emit_changed (skeleton); 1294s # } 1294s # 1294s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_ADD_PRIVATE (GoodTypesSkeleton) 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # good_types_skeleton_finalize (GObject *object) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # guint n; 1294s # for (n = 0; n < 1; n++) 1294s # g_value_unset (&skeleton->priv->properties[n]); 1294s # g_free (skeleton->priv->properties); 1294s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1294s # if (skeleton->priv->changed_properties_idle_source != NULL) 1294s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1294s # g_main_context_unref (skeleton->priv->context); 1294s # g_mutex_clear (&skeleton->priv->lock); 1294s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_get_property (GObject *object, 1294s # guint prop_id, 1294s # GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # } 1294s # 1294s # static gboolean 1294s # _good_types_emit_changed (gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GList *l; 1294s # GVariantBuilder builder; 1294s # GVariantBuilder invalidated_builder; 1294s # guint num_changes; 1294s # 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1294s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1294s # #else 1294s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1294s # #endif 1294s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1294s # { 1294s # ChangedProperty *cp = l->data; 1294s # GVariant *variant; 1294s # const GValue *cur_value; 1294s # 1294s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1294s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1294s # { 1294s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1294s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1294s # g_variant_unref (variant); 1294s # num_changes++; 1294s # } 1294s # } 1294s # if (num_changes > 0) 1294s # { 1294s # GList *connections, *ll; 1294s # GVariant *signal_variant; 1294s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1294s # &builder, &invalidated_builder)); 1294s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1294s # for (ll = connections; ll != NULL; ll = ll->next) 1294s # { 1294s # GDBusConnection *connection = ll->data; 1294s # 1294s # g_dbus_connection_emit_signal (connection, 1294s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1294s # "org.freedesktop.DBus.Properties", 1294s # "PropertiesChanged", 1294s # signal_variant, 1294s # NULL); 1294s # } 1294s # g_variant_unref (signal_variant); 1294s # g_list_free_full (connections, g_object_unref); 1294s # } 1294s # else 1294s # { 1294s # g_variant_builder_clear (&builder); 1294s # g_variant_builder_clear (&invalidated_builder); 1294s # } 1294s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1294s # skeleton->priv->changed_properties = NULL; 1294s # skeleton->priv->changed_properties_idle_source = NULL; 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # return FALSE; 1294s # } 1294s # 1294s # static void 1294s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1294s # { 1294s # ChangedProperty *cp; 1294s # GList *l; 1294s # cp = NULL; 1294s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1294s # { 1294s # ChangedProperty *i_cp = l->data; 1294s # if (i_cp->info == info) 1294s # { 1294s # cp = i_cp; 1294s # break; 1294s # } 1294s # } 1294s # if (cp == NULL) 1294s # { 1294s # cp = g_new0 (ChangedProperty, 1); 1294s # cp->prop_id = prop_id; 1294s # cp->info = info; 1294s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1294s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1294s # g_value_copy (orig_value, &cp->orig_value); 1294s # } 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_notify (GObject *object, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # if (skeleton->priv->changed_properties != NULL && 1294s # skeleton->priv->changed_properties_idle_source == NULL) 1294s # { 1294s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1294s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1294s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1294s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1294s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1294s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_set_property (GObject *object, 1294s # guint prop_id, 1294s # const GValue *value, 1294s # GParamSpec *pspec) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # g_object_freeze_notify (object); 1294s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1294s # { 1294s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1294s # info->emits_changed_signal) 1294s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1294s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1294s # g_object_notify_by_pspec (object, pspec); 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # g_object_thaw_notify (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1294s # #else 1294s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1294s # #endif 1294s # 1294s # g_mutex_init (&skeleton->priv->lock); 1294s # skeleton->priv->context = g_main_context_ref_thread_default (); 1294s # skeleton->priv->properties = g_new0 (GValue, 1); 1294s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # GVariant *value; 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # return value; 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusInterfaceSkeletonClass *skeleton_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = good_types_skeleton_finalize; 1294s # gobject_class->get_property = good_types_skeleton_get_property; 1294s # gobject_class->set_property = good_types_skeleton_set_property; 1294s # gobject_class->notify = good_types_skeleton_notify; 1294s # 1294s # 1294s # good_types_override_properties (gobject_class, 1); 1294s # 1294s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1294s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1294s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1294s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1294s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1294s # { 1294s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1294s # } 1294s # 1294s # /** 1294s # * good_types_skeleton_new: 1294s # * 1294s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1294s # */ 1294s # GoodTypes * 1294s # good_types_skeleton_new (void) 1294s # { 1294s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1294s # } 1294s # Error: 1294s # 1294s # /tmp/tmpkbkayk85/tmpqd9tj_zk.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkbkayk85/tmpqd9tj_zk.xml', '--output', '-', '--body'] 1294s # Return code: 0 1294s # Output: 1294s # /* 1294s # * This file is generated by gdbus-codegen, do not modify it. 1294s # * 1294s # * The license of this code is the same as for the D-Bus interface description 1294s # * it was derived from. Note that it links to GLib, so must comply with the 1294s # * LGPL linking clauses. 1294s # */ 1294s # 1294s # #ifdef HAVE_CONFIG_H 1294s # # include "config.h" 1294s # #endif 1294s # 1294s # #include 1294s # #ifdef G_OS_UNIX 1294s # # include 1294s # #endif 1294s # 1294s # #ifdef G_ENABLE_DEBUG 1294s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1294s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1294s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1294s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1294s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1294s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1294s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1294s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1294s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1294s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1294s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1294s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1294s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1294s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1294s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1294s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1294s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1294s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1294s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1294s # #else /* !G_ENABLE_DEBUG */ 1294s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1294s # * Do not access GValues directly in your code. Instead, use the 1294s # * g_value_get_*() functions 1294s # */ 1294s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1294s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1294s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1294s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1294s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1294s # #endif /* !G_ENABLE_DEBUG */ 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusArgInfo parent_struct; 1294s # gboolean use_gvariant; 1294s # } _ExtendedGDBusArgInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusMethodInfo parent_struct; 1294s # const gchar *signal_name; 1294s # gboolean pass_fdlist; 1294s # } _ExtendedGDBusMethodInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusSignalInfo parent_struct; 1294s # const gchar *signal_name; 1294s # } _ExtendedGDBusSignalInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusPropertyInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # guint use_gvariant : 1; 1294s # guint emits_changed_signal : 1; 1294s # } _ExtendedGDBusPropertyInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusInterfaceInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # } _ExtendedGDBusInterfaceInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # guint prop_id; 1294s # GValue orig_value; /* the value before the change */ 1294s # } ChangedProperty; 1294s # 1294s # static void 1294s # _changed_property_free (ChangedProperty *data) 1294s # { 1294s # g_value_unset (&data->orig_value); 1294s # g_free (data); 1294s # } 1294s # 1294s # static gboolean 1294s # _g_strv_equal0 (gchar **a, gchar **b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # guint n; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # if (g_strv_length (a) != g_strv_length (b)) 1294s # goto out; 1294s # for (n = 0; a[n] != NULL; n++) 1294s # if (g_strcmp0 (a[n], b[n]) != 0) 1294s # goto out; 1294s # ret = TRUE; 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _g_variant_equal0 (GVariant *a, GVariant *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # ret = g_variant_equal (a, b); 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # G_GNUC_UNUSED static gboolean 1294s # _g_value_equal (const GValue *a, const GValue *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1294s # switch (G_VALUE_TYPE (a)) 1294s # { 1294s # case G_TYPE_BOOLEAN: 1294s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1294s # break; 1294s # case G_TYPE_UCHAR: 1294s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1294s # break; 1294s # case G_TYPE_INT: 1294s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1294s # break; 1294s # case G_TYPE_UINT: 1294s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1294s # break; 1294s # case G_TYPE_INT64: 1294s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1294s # break; 1294s # case G_TYPE_UINT64: 1294s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1294s # break; 1294s # case G_TYPE_DOUBLE: 1294s # { 1294s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1294s # gdouble da = g_value_get_double (a); 1294s # gdouble db = g_value_get_double (b); 1294s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1294s # } 1294s # break; 1294s # case G_TYPE_STRING: 1294s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1294s # break; 1294s # case G_TYPE_VARIANT: 1294s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1294s # break; 1294s # default: 1294s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1294s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1294s # else 1294s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1294s # break; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ 1294s # * Code for interface GoodTypes 1294s # * ------------------------------------------------------------------------ 1294s # */ 1294s # 1294s # /** 1294s # * SECTION:GoodTypes 1294s # * @title: GoodTypes 1294s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1294s # * 1294s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1294s # */ 1294s # 1294s # /* ---- Introspection data for GoodTypes ---- */ 1294s # 1294s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "GoodPropertyType", 1294s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1294s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1294s # NULL 1294s # }, 1294s # "good-property-type", 1294s # FALSE, 1294s # TRUE 1294s # }; 1294s # 1294s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1294s # { 1294s # &_good_types_property_info_good_property_type.parent_struct, 1294s # NULL 1294s # }; 1294s # 1294s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "GoodTypes", 1294s # NULL, 1294s # NULL, 1294s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1294s # NULL 1294s # }, 1294s # "good-types", 1294s # }; 1294s # 1294s # 1294s # /** 1294s # * good_types_interface_info: 1294s # * 1294s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1294s # * 1294s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1294s # */ 1294s # GDBusInterfaceInfo * 1294s # good_types_interface_info (void) 1294s # { 1294s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1294s # } 1294s # 1294s # /** 1294s # * good_types_override_properties: 1294s # * @klass: The class structure for a #GObject derived class. 1294s # * @property_id_begin: The property id to assign to the first overridden property. 1294s # * 1294s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1294s # * The properties are overridden in the order they are defined. 1294s # * 1294s # * Returns: The last property id. 1294s # */ 1294s # guint 1294s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1294s # { 1294s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1294s # return property_id_begin - 1; 1294s # } 1294s # 1294s # 1294s # 1294s # /** 1294s # * GoodTypes: 1294s # * 1294s # * Abstract interface type for the D-Bus interface GoodTypes. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesIface: 1294s # * @parent_iface: The parent interface. 1294s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1294s # * 1294s # * Virtual table for the D-Bus interface GoodTypes. 1294s # */ 1294s # 1294s # typedef GoodTypesIface GoodTypesInterface; 1294s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1294s # 1294s # static void 1294s # good_types_default_init (GoodTypesIface *iface) 1294s # { 1294s # /* GObject properties for D-Bus properties: */ 1294s # /** 1294s # * GoodTypes:good-property-type: 1294s # * 1294s # * Represents the D-Bus property "GoodPropertyType". 1294s # * 1294s # * 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. 1294s # */ 1294s # g_object_interface_install_property (iface, 1294s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1294s # } 1294s # 1294s # /** 1294s # * good_types_get_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * 1294s # * Gets the value of the "GoodPropertyType" D-Bus property. 1294s # * 1294s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1294s # * 1294s # * 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. 1294s # * 1294s # * 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. 1294s # */ 1294s # GVariant * 1294s # good_types_get_good_property_type (GoodTypes *object) 1294s # { 1294s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1294s # 1294s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1294s # } 1294s # 1294s # /** 1294s # * good_types_dup_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * 1294s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1294s # * 1294s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1294s # * 1294s # * 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(). 1294s # */ 1294s # GVariant * 1294s # good_types_dup_good_property_type (GoodTypes *object) 1294s # { 1294s # GVariant *value; 1294s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1294s # return value; 1294s # } 1294s # 1294s # /** 1294s # * good_types_set_good_property_type: (skip) 1294s # * @object: A GoodTypes. 1294s # * @value: The value to set. 1294s # * 1294s # * Sets the "GoodPropertyType" D-Bus property to @value. 1294s # * 1294s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1294s # */ 1294s # void 1294s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1294s # { 1294s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * GoodTypesProxy: 1294s # * 1294s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesProxyClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for GoodTypesProxy. 1294s # */ 1294s # 1294s # struct _GoodTypesProxyPrivate 1294s # { 1294s # GData *qdata; 1294s # }; 1294s # 1294s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1294s # G_ADD_PRIVATE (GoodTypesProxy) 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # good_types_proxy_finalize (GObject *object) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1294s # g_datalist_clear (&proxy->priv->qdata); 1294s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_get_property (GObject *object, 1294s # guint prop_id, 1294s # GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *variant; 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1294s # if (info->use_gvariant) 1294s # { 1294s # g_value_set_variant (value, variant); 1294s # } 1294s # else 1294s # { 1294s # if (variant != NULL) 1294s # g_dbus_gvariant_to_gvalue (variant, value); 1294s # } 1294s # if (variant != NULL) 1294s # g_variant_unref (variant); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1294s # GAsyncResult *res, 1294s # gpointer user_data) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info = user_data; 1294s # GError *error; 1294s # GVariant *_ret; 1294s # error = NULL; 1294s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1294s # if (!_ret) 1294s # { 1294s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1294s # info->parent_struct.name, 1294s # error->message, g_quark_to_string (error->domain), error->code); 1294s # g_error_free (error); 1294s # } 1294s # else 1294s # { 1294s # g_variant_unref (_ret); 1294s # } 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_set_property (GObject *object, 1294s # guint prop_id, 1294s # const GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *variant; 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1294s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1294s # "org.freedesktop.DBus.Properties.Set", 1294s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1294s # G_DBUS_CALL_FLAGS_NONE, 1294s # -1, 1294s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1294s # g_variant_unref (variant); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_g_signal (GDBusProxy *proxy, 1294s # const gchar *sender_name G_GNUC_UNUSED, 1294s # const gchar *signal_name, 1294s # GVariant *parameters) 1294s # { 1294s # _ExtendedGDBusSignalInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # gsize n; 1294s # guint signal_id; 1294s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1294s # if (info == NULL) 1294s # return; 1294s # num_params = g_variant_n_children (parameters); 1294s # paramv = g_new0 (GValue, num_params + 1); 1294s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1294s # g_value_set_object (¶mv[0], proxy); 1294s # g_variant_iter_init (&iter, parameters); 1294s # n = 1; 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1294s # g_signal_emitv (paramv, signal_id, 0, NULL); 1294s # for (n = 0; n < num_params + 1; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1294s # GVariant *changed_properties, 1294s # const gchar *const *invalidated_properties) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1294s # guint n; 1294s # const gchar *key; 1294s # GVariantIter *iter; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # g_variant_get (changed_properties, "a{sv}", &iter); 1294s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1294s # g_datalist_remove_data (&proxy->priv->qdata, key); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # g_variant_iter_free (iter); 1294s # for (n = 0; invalidated_properties[n] != NULL; n++) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1294s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_proxy_get_good_property_type (GoodTypes *object) 1294s # { 1294s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1294s # GVariant *variant; 1294s # GVariant *value = NULL; 1294s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1294s # value = variant; 1294s # if (variant != NULL) 1294s # g_variant_unref (variant); 1294s # return value; 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_init (GoodTypesProxy *proxy) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1294s # #else 1294s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1294s # #endif 1294s # 1294s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusProxyClass *proxy_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = good_types_proxy_finalize; 1294s # gobject_class->get_property = good_types_proxy_get_property; 1294s # gobject_class->set_property = good_types_proxy_set_property; 1294s # 1294s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1294s # proxy_class->g_signal = good_types_proxy_g_signal; 1294s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1294s # 1294s # good_types_override_properties (gobject_class, 1); 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # good_types_proxy_iface_init (GoodTypesIface *iface) 1294s # { 1294s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1294s # * 1294s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # good_types_proxy_new ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with good_types_proxy_new(). 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_sync: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_sync ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1294s # * 1294s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # good_types_proxy_new_for_bus ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_for_bus_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * good_types_proxy_new_for_bus_sync: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # GoodTypes * 1294s # good_types_proxy_new_for_bus_sync ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return GOOD_TYPES (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * GoodTypesSkeleton: 1294s # * 1294s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * GoodTypesSkeletonClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for GoodTypesSkeleton. 1294s # */ 1294s # 1294s # struct _GoodTypesSkeletonPrivate 1294s # { 1294s # GValue *properties; 1294s # GList *changed_properties; 1294s # GSource *changed_properties_idle_source; 1294s # GMainContext *context; 1294s # GMutex lock; 1294s # }; 1294s # 1294s # static void 1294s # _good_types_skeleton_handle_method_call ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name, 1294s # const gchar *method_name, 1294s # GVariant *parameters, 1294s # GDBusMethodInvocation *invocation, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # _ExtendedGDBusMethodInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # guint num_extra; 1294s # gsize n; 1294s # guint signal_id; 1294s # GValue return_value = G_VALUE_INIT; 1294s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1294s # g_assert (info != NULL); 1294s # num_params = g_variant_n_children (parameters); 1294s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1294s # n = 0; 1294s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1294s # g_value_set_object (¶mv[n++], skeleton); 1294s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1294s # g_value_set_object (¶mv[n++], invocation); 1294s # if (info->pass_fdlist) 1294s # { 1294s # #ifdef G_OS_UNIX 1294s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1294s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1294s # #else 1294s # g_assert_not_reached (); 1294s # #endif 1294s # } 1294s # g_variant_iter_init (&iter, parameters); 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1294s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1294s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1294s # if (!g_value_get_boolean (&return_value)) 1294s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1294s # g_value_unset (&return_value); 1294s # for (n = 0; n < num_params + num_extra; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static GVariant * 1294s # _good_types_skeleton_handle_get_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *ret; 1294s # ret = NULL; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # g_value_init (&value, pspec->value_type); 1294s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1294s # g_value_unset (&value); 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _good_types_skeleton_handle_set_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GVariant *variant, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # gboolean ret; 1294s # ret = FALSE; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # if (info->use_gvariant) 1294s # g_value_set_variant (&value, variant); 1294s # else 1294s # g_dbus_gvariant_to_gvalue (variant, &value); 1294s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # g_value_unset (&value); 1294s # ret = TRUE; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1294s # { 1294s # _good_types_skeleton_handle_method_call, 1294s # _good_types_skeleton_handle_get_property, 1294s # _good_types_skeleton_handle_set_property, 1294s # {NULL} 1294s # }; 1294s # 1294s # static GDBusInterfaceInfo * 1294s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return good_types_interface_info (); 1294s # } 1294s # 1294s # static GDBusInterfaceVTable * 1294s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1294s # 1294s # GVariantBuilder builder; 1294s # guint n; 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1294s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #else 1294s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #endif 1294s # if (_good_types_interface_info.parent_struct.properties == NULL) 1294s # goto out; 1294s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1294s # { 1294s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1294s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1294s # { 1294s # GVariant *value; 1294s # 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); 1294s # if (value != NULL) 1294s # { 1294s # g_variant_take_ref (value); 1294s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1294s # g_variant_unref (value); 1294s # } 1294s # } 1294s # } 1294s # out: 1294s # return g_variant_builder_end (&builder); 1294s # } 1294s # 1294s # static gboolean _good_types_emit_changed (gpointer user_data); 1294s # 1294s # static void 1294s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1294s # gboolean emit_changed = FALSE; 1294s # 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # if (skeleton->priv->changed_properties_idle_source != NULL) 1294s # { 1294s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1294s # skeleton->priv->changed_properties_idle_source = NULL; 1294s # emit_changed = TRUE; 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # 1294s # if (emit_changed) 1294s # _good_types_emit_changed (skeleton); 1294s # } 1294s # 1294s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_ADD_PRIVATE (GoodTypesSkeleton) 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # good_types_skeleton_finalize (GObject *object) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # guint n; 1294s # for (n = 0; n < 1; n++) 1294s # g_value_unset (&skeleton->priv->properties[n]); 1294s # g_free (skeleton->priv->properties); 1294s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1294s # if (skeleton->priv->changed_properties_idle_source != NULL) 1294s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1294s # g_main_context_unref (skeleton->priv->context); 1294s # g_mutex_clear (&skeleton->priv->lock); 1294s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_get_property (GObject *object, 1294s # guint prop_id, 1294s # GValue *value, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # } 1294s # 1294s # static gboolean 1294s # _good_types_emit_changed (gpointer user_data) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1294s # GList *l; 1294s # GVariantBuilder builder; 1294s # GVariantBuilder invalidated_builder; 1294s # guint num_changes; 1294s # 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1294s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1294s # #else 1294s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1294s # #endif 1294s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1294s # { 1294s # ChangedProperty *cp = l->data; 1294s # GVariant *variant; 1294s # const GValue *cur_value; 1294s # 1294s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1294s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1294s # { 1294s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1294s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1294s # g_variant_unref (variant); 1294s # num_changes++; 1294s # } 1294s # } 1294s # if (num_changes > 0) 1294s # { 1294s # GList *connections, *ll; 1294s # GVariant *signal_variant; 1294s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1294s # &builder, &invalidated_builder)); 1294s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1294s # for (ll = connections; ll != NULL; ll = ll->next) 1294s # { 1294s # GDBusConnection *connection = ll->data; 1294s # 1294s # g_dbus_connection_emit_signal (connection, 1294s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1294s # "org.freedesktop.DBus.Properties", 1294s # "PropertiesChanged", 1294s # signal_variant, 1294s # NULL); 1294s # } 1294s # g_variant_unref (signal_variant); 1294s # g_list_free_full (connections, g_object_unref); 1294s # } 1294s # else 1294s # { 1294s # g_variant_builder_clear (&builder); 1294s # g_variant_builder_clear (&invalidated_builder); 1294s # } 1294s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1294s # skeleton->priv->changed_properties = NULL; 1294s # skeleton->priv->changed_properties_idle_source = NULL; 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # return FALSE; 1294s # } 1294s # 1294s # static void 1294s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1294s # { 1294s # ChangedProperty *cp; 1294s # GList *l; 1294s # cp = NULL; 1294s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1294s # { 1294s # ChangedProperty *i_cp = l->data; 1294s # if (i_cp->info == info) 1294s # { 1294s # cp = i_cp; 1294s # break; 1294s # } 1294s # } 1294s # if (cp == NULL) 1294s # { 1294s # cp = g_new0 (ChangedProperty, 1); 1294s # cp->prop_id = prop_id; 1294s # cp->info = info; 1294s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1294s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1294s # g_value_copy (orig_value, &cp->orig_value); 1294s # } 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_notify (GObject *object, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # if (skeleton->priv->changed_properties != NULL && 1294s # skeleton->priv->changed_properties_idle_source == NULL) 1294s # { 1294s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1294s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1294s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1294s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1294s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1294s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_set_property (GObject *object, 1294s # guint prop_id, 1294s # const GValue *value, 1294s # GParamSpec *pspec) 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1294s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # g_object_freeze_notify (object); 1294s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1294s # { 1294s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1294s # info->emits_changed_signal) 1294s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1294s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1294s # g_object_notify_by_pspec (object, pspec); 1294s # } 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # g_object_thaw_notify (object); 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1294s # #else 1294s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1294s # #endif 1294s # 1294s # g_mutex_init (&skeleton->priv->lock); 1294s # skeleton->priv->context = g_main_context_ref_thread_default (); 1294s # skeleton->priv->properties = g_new0 (GValue, 1); 1294s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1294s # } 1294s # 1294s # static GVariant * 1294s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1294s # { 1294s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1294s # GVariant *value; 1294s # g_mutex_lock (&skeleton->priv->lock); 1294s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1294s # g_mutex_unlock (&skeleton->priv->lock); 1294s # return value; 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusInterfaceSkeletonClass *skeleton_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = good_types_skeleton_finalize; 1294s # gobject_class->get_property = good_types_skeleton_get_property; 1294s # gobject_class->set_property = good_types_skeleton_set_property; 1294s # gobject_class->notify = good_types_skeleton_notify; 1294s # 1294s # 1294s # good_types_override_properties (gobject_class, 1); 1294s # 1294s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1294s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1294s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1294s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1294s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1294s # { 1294s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1294s # } 1294s # 1294s # /** 1294s # * good_types_skeleton_new: 1294s # * 1294s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1294s # * 1294s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1294s # */ 1294s # GoodTypes * 1294s # good_types_skeleton_new (void) 1294s # { 1294s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1294s # } 1294s # Error: 1294s ok 3 __main__.TestCodegen.test_empty_interface_body 1294s # gdbus-codegen: /usr/bin/gdbus-codegen 1294s # tmpdir: /tmp/tmpra6vyqoo 1294s # /tmp/tmpra6vyqoo/tmp873i9iny.xml: 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpra6vyqoo/tmp873i9iny.xml', '--output', '-', '--body'] 1294s # Return code: 0 1294s # Output: 1294s # /* 1294s # * This file is generated by gdbus-codegen, do not modify it. 1294s # * 1294s # * The license of this code is the same as for the D-Bus interface description 1294s # * it was derived from. Note that it links to GLib, so must comply with the 1294s # * LGPL linking clauses. 1294s # */ 1294s # 1294s # #ifdef HAVE_CONFIG_H 1294s # # include "config.h" 1294s # #endif 1294s # 1294s # #include 1294s # #ifdef G_OS_UNIX 1294s # # include 1294s # #endif 1294s # 1294s # #ifdef G_ENABLE_DEBUG 1294s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1294s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1294s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1294s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1294s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1294s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1294s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1294s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1294s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1294s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1294s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1294s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1294s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1294s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1294s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1294s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1294s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1294s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1294s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1294s # #else /* !G_ENABLE_DEBUG */ 1294s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1294s # * Do not access GValues directly in your code. Instead, use the 1294s # * g_value_get_*() functions 1294s # */ 1294s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1294s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1294s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1294s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1294s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1294s # #endif /* !G_ENABLE_DEBUG */ 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusArgInfo parent_struct; 1294s # gboolean use_gvariant; 1294s # } _ExtendedGDBusArgInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusMethodInfo parent_struct; 1294s # const gchar *signal_name; 1294s # gboolean pass_fdlist; 1294s # } _ExtendedGDBusMethodInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusSignalInfo parent_struct; 1294s # const gchar *signal_name; 1294s # } _ExtendedGDBusSignalInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusPropertyInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # guint use_gvariant : 1; 1294s # guint emits_changed_signal : 1; 1294s # } _ExtendedGDBusPropertyInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusInterfaceInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # } _ExtendedGDBusInterfaceInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # guint prop_id; 1294s # GValue orig_value; /* the value before the change */ 1294s # } ChangedProperty; 1294s # 1294s # static void 1294s # _changed_property_free (ChangedProperty *data) 1294s # { 1294s # g_value_unset (&data->orig_value); 1294s # g_free (data); 1294s # } 1294s # 1294s # static gboolean 1294s # _g_strv_equal0 (gchar **a, gchar **b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # guint n; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # if (g_strv_length (a) != g_strv_length (b)) 1294s # goto out; 1294s # for (n = 0; a[n] != NULL; n++) 1294s # if (g_strcmp0 (a[n], b[n]) != 0) 1294s # goto out; 1294s # ret = TRUE; 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _g_variant_equal0 (GVariant *a, GVariant *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # ret = g_variant_equal (a, b); 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # G_GNUC_UNUSED static gboolean 1294s # _g_value_equal (const GValue *a, const GValue *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1294s # switch (G_VALUE_TYPE (a)) 1294s # { 1294s # case G_TYPE_BOOLEAN: 1294s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1294s # break; 1294s # case G_TYPE_UCHAR: 1294s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1294s # break; 1294s # case G_TYPE_INT: 1294s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1294s # break; 1294s # case G_TYPE_UINT: 1294s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1294s # break; 1294s # case G_TYPE_INT64: 1294s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1294s # break; 1294s # case G_TYPE_UINT64: 1294s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1294s # break; 1294s # case G_TYPE_DOUBLE: 1294s # { 1294s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1294s # gdouble da = g_value_get_double (a); 1294s # gdouble db = g_value_get_double (b); 1294s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1294s # } 1294s # break; 1294s # case G_TYPE_STRING: 1294s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1294s # break; 1294s # case G_TYPE_VARIANT: 1294s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1294s # break; 1294s # default: 1294s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1294s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1294s # else 1294s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1294s # break; 1294s # } 1294s # return ret; 1294s # } 1294s # Error: 1294s ok 4 __main__.TestCodegen.test_empty_interface_header 1294s # gdbus-codegen: /usr/bin/gdbus-codegen 1294s # tmpdir: /tmp/tmp_0kfb7t_ 1294s # /tmp/tmp_0kfb7t_/tmpvec_j8cf.xml: 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_0kfb7t_/tmpvec_j8cf.xml', '--output', '-', '--header'] 1294s # Return code: 0 1294s # Output: 1294s # /* 1294s # * This file is generated by gdbus-codegen, do not modify it. 1294s # * 1294s # * The license of this code is the same as for the D-Bus interface description 1294s # * it was derived from. Note that it links to GLib, so must comply with the 1294s # * LGPL linking clauses. 1294s # */ 1294s # 1294s # #ifndef __STDOUT__ 1294s # #define __STDOUT__ 1294s # 1294s # #include 1294s # 1294s # G_BEGIN_DECLS 1294s # 1294s # 1294s # G_END_DECLS 1294s # 1294s # #endif /* __STDOUT__ */ 1294s # Error: 1294s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1294s # gdbus-codegen: /usr/bin/gdbus-codegen 1294s # tmpdir: /tmp/tmpasz9i88t 1294s # /tmp/tmpasz9i88t/tmpdtgj2k8v.xml: 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpasz9i88t/tmpdtgj2k8v.xml', '--output', '-', '--interface-info-body'] 1294s # Return code: 0 1294s # Output: 1294s # /* 1294s # * This file is generated by gdbus-codegen, do not modify it. 1294s # * 1294s # * The license of this code is the same as for the D-Bus interface description 1294s # * it was derived from. Note that it links to GLib, so must comply with the 1294s # * LGPL linking clauses. 1294s # */ 1294s # 1294s # #ifdef HAVE_CONFIG_H 1294s # # include "config.h" 1294s # #endif 1294s # 1294s # #include 1294s # Error: 1294s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1294s # gdbus-codegen: /usr/bin/gdbus-codegen 1294s # tmpdir: /tmp/tmps7dl7rhr 1294s # /tmp/tmps7dl7rhr/tmpr60l9eco.xml: 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmps7dl7rhr/tmpr60l9eco.xml', '--output', '-', '--interface-info-header'] 1294s # Return code: 0 1294s # Output: 1294s # /* 1294s # * This file is generated by gdbus-codegen, do not modify it. 1294s # * 1294s # * The license of this code is the same as for the D-Bus interface description 1294s # * it was derived from. Note that it links to GLib, so must comply with the 1294s # * LGPL linking clauses. 1294s # */ 1294s # 1294s # #ifndef __STDOUT__ 1294s # #define __STDOUT__ 1294s # 1294s # #include 1294s # 1294s # G_BEGIN_DECLS 1294s # 1294s # 1294s # G_END_DECLS 1294s # 1294s # #endif /* __STDOUT__ */ 1294s # Error: 1294s ok 7 __main__.TestCodegen.test_generate_docbook 1294s # gdbus-codegen: /usr/bin/gdbus-codegen 1294s # tmpdir: /tmp/tmpdb7ctun6 1294s # /tmp/tmpdb7ctun6/tmprnu37fr0.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdb7ctun6/tmprnu37fr0.xml', '--generate-docbook', 'test'] 1294s # Return code: 0 1294s # Output: 1294s # 1294s # Error: 1294s ok 8 __main__.TestCodegen.test_generate_md 1294s # gdbus-codegen: /usr/bin/gdbus-codegen 1294s # tmpdir: /tmp/tmpojysf2mu 1294s # /tmp/tmpojysf2mu/tmpfexs_qte.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpojysf2mu/tmpfexs_qte.xml', '--generate-md', 'test'] 1294s # Return code: 0 1294s # Output: 1294s # 1294s # Error: 1294s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1294s # gdbus-codegen: /usr/bin/gdbus-codegen 1294s # tmpdir: /tmp/tmppwxsi441 1294s # /tmp/tmppwxsi441/tmp30ye7skk.xml: 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # 1294s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppwxsi441/tmp30ye7skk.xml', '--output', '-', '--body'] 1294s # Return code: 0 1294s # Output: 1294s # /* 1294s # * This file is generated by gdbus-codegen, do not modify it. 1294s # * 1294s # * The license of this code is the same as for the D-Bus interface description 1294s # * it was derived from. Note that it links to GLib, so must comply with the 1294s # * LGPL linking clauses. 1294s # */ 1294s # 1294s # #ifdef HAVE_CONFIG_H 1294s # # include "config.h" 1294s # #endif 1294s # 1294s # #include 1294s # #ifdef G_OS_UNIX 1294s # # include 1294s # #endif 1294s # 1294s # #ifdef G_ENABLE_DEBUG 1294s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1294s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1294s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1294s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1294s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1294s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1294s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1294s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1294s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1294s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1294s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1294s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1294s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1294s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1294s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1294s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1294s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1294s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1294s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1294s # #else /* !G_ENABLE_DEBUG */ 1294s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1294s # * Do not access GValues directly in your code. Instead, use the 1294s # * g_value_get_*() functions 1294s # */ 1294s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1294s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1294s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1294s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1294s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1294s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1294s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1294s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1294s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1294s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1294s # #endif /* !G_ENABLE_DEBUG */ 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusArgInfo parent_struct; 1294s # gboolean use_gvariant; 1294s # } _ExtendedGDBusArgInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusMethodInfo parent_struct; 1294s # const gchar *signal_name; 1294s # gboolean pass_fdlist; 1294s # } _ExtendedGDBusMethodInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusSignalInfo parent_struct; 1294s # const gchar *signal_name; 1294s # } _ExtendedGDBusSignalInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusPropertyInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # guint use_gvariant : 1; 1294s # guint emits_changed_signal : 1; 1294s # } _ExtendedGDBusPropertyInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # GDBusInterfaceInfo parent_struct; 1294s # const gchar *hyphen_name; 1294s # } _ExtendedGDBusInterfaceInfo; 1294s # 1294s # typedef struct 1294s # { 1294s # const _ExtendedGDBusPropertyInfo *info; 1294s # guint prop_id; 1294s # GValue orig_value; /* the value before the change */ 1294s # } ChangedProperty; 1294s # 1294s # static void 1294s # _changed_property_free (ChangedProperty *data) 1294s # { 1294s # g_value_unset (&data->orig_value); 1294s # g_free (data); 1294s # } 1294s # 1294s # static gboolean 1294s # _g_strv_equal0 (gchar **a, gchar **b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # guint n; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # if (g_strv_length (a) != g_strv_length (b)) 1294s # goto out; 1294s # for (n = 0; a[n] != NULL; n++) 1294s # if (g_strcmp0 (a[n], b[n]) != 0) 1294s # goto out; 1294s # ret = TRUE; 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _g_variant_equal0 (GVariant *a, GVariant *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # if (a == NULL && b == NULL) 1294s # { 1294s # ret = TRUE; 1294s # goto out; 1294s # } 1294s # if (a == NULL || b == NULL) 1294s # goto out; 1294s # ret = g_variant_equal (a, b); 1294s # out: 1294s # return ret; 1294s # } 1294s # 1294s # G_GNUC_UNUSED static gboolean 1294s # _g_value_equal (const GValue *a, const GValue *b) 1294s # { 1294s # gboolean ret = FALSE; 1294s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1294s # switch (G_VALUE_TYPE (a)) 1294s # { 1294s # case G_TYPE_BOOLEAN: 1294s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1294s # break; 1294s # case G_TYPE_UCHAR: 1294s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1294s # break; 1294s # case G_TYPE_INT: 1294s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1294s # break; 1294s # case G_TYPE_UINT: 1294s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1294s # break; 1294s # case G_TYPE_INT64: 1294s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1294s # break; 1294s # case G_TYPE_UINT64: 1294s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1294s # break; 1294s # case G_TYPE_DOUBLE: 1294s # { 1294s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1294s # gdouble da = g_value_get_double (a); 1294s # gdouble db = g_value_get_double (b); 1294s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1294s # } 1294s # break; 1294s # case G_TYPE_STRING: 1294s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1294s # break; 1294s # case G_TYPE_VARIANT: 1294s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1294s # break; 1294s # default: 1294s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1294s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1294s # else 1294s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1294s # break; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static void 1294s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1294s # GClosure *closure, 1294s # GValue *return_value, 1294s # unsigned int n_param_values, 1294s # const GValue *param_values, 1294s # void *invocation_hint G_GNUC_UNUSED, 1294s # void *marshal_data) 1294s # { 1294s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1294s # (void *data1, 1294s # GDBusMethodInvocation *arg_method_invocation, 1294s # void *data2); 1294s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1294s # GCClosure *cc = (GCClosure*) closure; 1294s # void *data1, *data2; 1294s # gboolean v_return; 1294s # 1294s # g_return_if_fail (return_value != NULL); 1294s # g_return_if_fail (n_param_values == 2); 1294s # 1294s # if (G_CCLOSURE_SWAP_DATA (closure)) 1294s # { 1294s # data1 = closure->data; 1294s # data2 = g_value_peek_pointer (param_values + 0); 1294s # } 1294s # else 1294s # { 1294s # data1 = g_value_peek_pointer (param_values + 0); 1294s # data2 = closure->data; 1294s # } 1294s # 1294s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1294s # (marshal_data ? marshal_data : cc->callback); 1294s # 1294s # v_return = 1294s # callback (data1, 1294s # g_marshal_value_peek_object (param_values + 1), 1294s # data2); 1294s # 1294s # g_value_set_boolean (return_value, v_return); 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ 1294s # * Code for interface org.project.CallableIface 1294s # * ------------------------------------------------------------------------ 1294s # */ 1294s # 1294s # /** 1294s # * SECTION:OrgProjectCallableIface 1294s # * @title: OrgProjectCallableIface 1294s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1294s # * 1294s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1294s # */ 1294s # 1294s # /* ---- Introspection data for org.project.CallableIface ---- */ 1294s # 1294s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "SimpleMethod", 1294s # NULL, 1294s # NULL, 1294s # NULL 1294s # }, 1294s # "handle-simple-method", 1294s # FALSE 1294s # }; 1294s # 1294s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1294s # { 1294s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1294s # NULL 1294s # }; 1294s # 1294s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "org.project.CallableIface", 1294s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1294s # NULL, 1294s # NULL, 1294s # NULL 1294s # }, 1294s # "org-project-callable-iface", 1294s # }; 1294s # 1294s # 1294s # /** 1294s # * org_project_callable_iface_interface_info: 1294s # * 1294s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1294s # * 1294s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1294s # */ 1294s # GDBusInterfaceInfo * 1294s # org_project_callable_iface_interface_info (void) 1294s # { 1294s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_override_properties: 1294s # * @klass: The class structure for a #GObject derived class. 1294s # * @property_id_begin: The property id to assign to the first overridden property. 1294s # * 1294s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1294s # * The properties are overridden in the order they are defined. 1294s # * 1294s # * Returns: The last property id. 1294s # */ 1294s # guint 1294s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1294s # { 1294s # return property_id_begin - 1; 1294s # } 1294s # 1294s # 1294s # inline static void 1294s # org_project_callable_iface_method_marshal_simple_method ( 1294s # GClosure *closure, 1294s # GValue *return_value, 1294s # unsigned int n_param_values, 1294s # const GValue *param_values, 1294s # void *invocation_hint, 1294s # void *marshal_data) 1294s # { 1294s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1294s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1294s # } 1294s # 1294s # 1294s # /** 1294s # * OrgProjectCallableIface: 1294s # * 1294s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1294s # */ 1294s # 1294s # /** 1294s # * OrgProjectCallableIfaceIface: 1294s # * @parent_iface: The parent interface. 1294s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1294s # * 1294s # * Virtual table for the D-Bus interface org.project.CallableIface. 1294s # */ 1294s # 1294s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1294s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1294s # 1294s # static void 1294s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1294s # { 1294s # /* GObject signals for incoming D-Bus method calls: */ 1294s # /** 1294s # * OrgProjectCallableIface::handle-simple-method: 1294s # * @object: A #OrgProjectCallableIface. 1294s # * @invocation: A #GDBusMethodInvocation. 1294s # * 1294s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1294s # * 1294s # * If 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. 1294s # * 1294s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1294s # */ 1294s # g_signal_new ("handle-simple-method", 1294s # G_TYPE_FROM_INTERFACE (iface), 1294s # G_SIGNAL_RUN_LAST, 1294s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1294s # g_signal_accumulator_true_handled, 1294s # NULL, 1294s # org_project_callable_iface_method_marshal_simple_method, 1294s # G_TYPE_BOOLEAN, 1294s # 1, 1294s # G_TYPE_DBUS_METHOD_INVOCATION); 1294s # 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_call_simple_method: 1294s # * @proxy: A #OrgProjectCallableIfaceProxy. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1294s # * 1294s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1294s # */ 1294s # void 1294s # org_project_callable_iface_call_simple_method ( 1294s # OrgProjectCallableIface *proxy, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1294s # "SimpleMethod", 1294s # g_variant_new ("()"), 1294s # G_DBUS_CALL_FLAGS_NONE, 1294s # -1, 1294s # cancellable, 1294s # callback, 1294s # user_data); 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_call_simple_method_finish: 1294s # * @proxy: A #OrgProjectCallableIfaceProxy. 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1294s # * @error: Return location for error or %NULL. 1294s # * 1294s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1294s # * 1294s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1294s # */ 1294s # gboolean 1294s # org_project_callable_iface_call_simple_method_finish ( 1294s # OrgProjectCallableIface *proxy, 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GVariant *_ret; 1294s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1294s # if (_ret == NULL) 1294s # goto _out; 1294s # g_variant_get (_ret, 1294s # "()"); 1294s # g_variant_unref (_ret); 1294s # _out: 1294s # return _ret != NULL; 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_call_simple_method_sync: 1294s # * @proxy: A #OrgProjectCallableIfaceProxy. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL. 1294s # * 1294s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1294s # * 1294s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1294s # * 1294s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1294s # */ 1294s # gboolean 1294s # org_project_callable_iface_call_simple_method_sync ( 1294s # OrgProjectCallableIface *proxy, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GVariant *_ret; 1294s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1294s # "SimpleMethod", 1294s # g_variant_new ("()"), 1294s # G_DBUS_CALL_FLAGS_NONE, 1294s # -1, 1294s # cancellable, 1294s # error); 1294s # if (_ret == NULL) 1294s # goto _out; 1294s # g_variant_get (_ret, 1294s # "()"); 1294s # g_variant_unref (_ret); 1294s # _out: 1294s # return _ret != NULL; 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_complete_simple_method: 1294s # * @object: A #OrgProjectCallableIface. 1294s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1294s # * 1294s # * 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. 1294s # * 1294s # * This method will free @invocation, you cannot use it afterwards. 1294s # */ 1294s # void 1294s # org_project_callable_iface_complete_simple_method ( 1294s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1294s # GDBusMethodInvocation *invocation) 1294s # { 1294s # g_dbus_method_invocation_return_value (invocation, 1294s # g_variant_new ("()")); 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * OrgProjectCallableIfaceProxy: 1294s # * 1294s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * OrgProjectCallableIfaceProxyClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for #OrgProjectCallableIfaceProxy. 1294s # */ 1294s # 1294s # struct _OrgProjectCallableIfaceProxyPrivate 1294s # { 1294s # GData *qdata; 1294s # }; 1294s # 1294s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1294s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1294s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1294s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # org_project_callable_iface_proxy_finalize (GObject *object) 1294s # { 1294s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1294s # g_datalist_clear (&proxy->priv->qdata); 1294s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1294s # guint prop_id G_GNUC_UNUSED, 1294s # GValue *value G_GNUC_UNUSED, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1294s # guint prop_id G_GNUC_UNUSED, 1294s # const GValue *value G_GNUC_UNUSED, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1294s # const gchar *sender_name G_GNUC_UNUSED, 1294s # const gchar *signal_name, 1294s # GVariant *parameters) 1294s # { 1294s # _ExtendedGDBusSignalInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # gsize n; 1294s # guint signal_id; 1294s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1294s # if (info == NULL) 1294s # return; 1294s # num_params = g_variant_n_children (parameters); 1294s # paramv = g_new0 (GValue, num_params + 1); 1294s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1294s # g_value_set_object (¶mv[0], proxy); 1294s # g_variant_iter_init (&iter, parameters); 1294s # n = 1; 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1294s # g_signal_emitv (paramv, signal_id, 0, NULL); 1294s # for (n = 0; n < num_params + 1; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1294s # GVariant *changed_properties, 1294s # const gchar *const *invalidated_properties) 1294s # { 1294s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1294s # guint n; 1294s # const gchar *key; 1294s # GVariantIter *iter; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # g_variant_get (changed_properties, "a{sv}", &iter); 1294s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1294s # g_datalist_remove_data (&proxy->priv->qdata, key); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # g_variant_iter_free (iter); 1294s # for (n = 0; invalidated_properties[n] != NULL; n++) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1294s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1294s # #else 1294s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1294s # #endif 1294s # 1294s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusProxyClass *proxy_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1294s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1294s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1294s # 1294s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1294s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1294s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_proxy_new: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1294s # * 1294s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # org_project_callable_iface_proxy_new ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_proxy_new_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # OrgProjectCallableIface * 1294s # org_project_callable_iface_proxy_new_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_proxy_new_sync: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # OrgProjectCallableIface * 1294s # org_project_callable_iface_proxy_new_sync ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /** 1294s # * org_project_callable_iface_proxy_new_for_bus: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1294s # * 1294s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # org_project_callable_iface_proxy_new_for_bus ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_proxy_new_for_bus_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # OrgProjectCallableIface * 1294s # org_project_callable_iface_proxy_new_for_bus_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_proxy_new_for_bus_sync: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # OrgProjectCallableIface * 1294s # org_project_callable_iface_proxy_new_for_bus_sync ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * OrgProjectCallableIfaceSkeleton: 1294s # * 1294s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * OrgProjectCallableIfaceSkeletonClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1294s # */ 1294s # 1294s # struct _OrgProjectCallableIfaceSkeletonPrivate 1294s # { 1294s # GValue *properties; 1294s # GList *changed_properties; 1294s # GSource *changed_properties_idle_source; 1294s # GMainContext *context; 1294s # GMutex lock; 1294s # }; 1294s # 1294s # static void 1294s # _org_project_callable_iface_skeleton_handle_method_call ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name, 1294s # const gchar *method_name, 1294s # GVariant *parameters, 1294s # GDBusMethodInvocation *invocation, 1294s # gpointer user_data) 1294s # { 1294s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1294s # _ExtendedGDBusMethodInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # guint num_extra; 1294s # gsize n; 1294s # guint signal_id; 1294s # GValue return_value = G_VALUE_INIT; 1294s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1294s # g_assert (info != NULL); 1294s # num_params = g_variant_n_children (parameters); 1294s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1294s # n = 0; 1294s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1294s # g_value_set_object (¶mv[n++], skeleton); 1294s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1294s # g_value_set_object (¶mv[n++], invocation); 1294s # if (info->pass_fdlist) 1294s # { 1294s # #ifdef G_OS_UNIX 1294s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1294s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1294s # #else 1294s # g_assert_not_reached (); 1294s # #endif 1294s # } 1294s # g_variant_iter_init (&iter, parameters); 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1294s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1294s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1294s # if (!g_value_get_boolean (&return_value)) 1294s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1294s # g_value_unset (&return_value); 1294s # for (n = 0; n < num_params + num_extra; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static GVariant * 1294s # _org_project_callable_iface_skeleton_handle_get_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *ret; 1294s # ret = NULL; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # g_value_init (&value, pspec->value_type); 1294s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1294s # g_value_unset (&value); 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _org_project_callable_iface_skeleton_handle_set_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GVariant *variant, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # gboolean ret; 1294s # ret = FALSE; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # if (info->use_gvariant) 1294s # g_value_set_variant (&value, variant); 1294s # else 1294s # g_dbus_gvariant_to_gvalue (variant, &value); 1294s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # g_value_unset (&value); 1294s # ret = TRUE; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1294s # { 1294s # _org_project_callable_iface_skeleton_handle_method_call, 1294s # _org_project_callable_iface_skeleton_handle_get_property, 1294s # _org_project_callable_iface_skeleton_handle_set_property, 1294s # {NULL} 1294s # }; 1294s # 1294s # static GDBusInterfaceInfo * 1294s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return org_project_callable_iface_interface_info (); 1294s # } 1294s # 1294s # static GDBusInterfaceVTable * 1294s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1294s # } 1294s # 1294s # static GVariant * 1294s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1294s # { 1294s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1294s # 1294s # GVariantBuilder builder; 1294s # guint n; 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1294s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #else 1294s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #endif 1294s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1294s # goto out; 1294s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1294s # { 1294s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1294s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1294s # { 1294s # GVariant *value; 1294s # 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); 1294s # if (value != NULL) 1294s # { 1294s # g_variant_take_ref (value); 1294s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1294s # g_variant_unref (value); 1294s # } 1294s # } 1294s # } 1294s # out: 1294s # return g_variant_builder_end (&builder); 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1294s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # org_project_callable_iface_skeleton_finalize (GObject *object) 1294s # { 1294s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1294s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1294s # if (skeleton->priv->changed_properties_idle_source != NULL) 1294s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1294s # g_main_context_unref (skeleton->priv->context); 1294s # g_mutex_clear (&skeleton->priv->lock); 1294s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1294s # #else 1294s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1294s # #endif 1294s # 1294s # g_mutex_init (&skeleton->priv->lock); 1294s # skeleton->priv->context = g_main_context_ref_thread_default (); 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusInterfaceSkeletonClass *skeleton_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1294s # 1294s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1294s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1294s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1294s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1294s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # /** 1294s # * org_project_callable_iface_skeleton_new: 1294s # * 1294s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1294s # */ 1294s # OrgProjectCallableIface * 1294s # org_project_callable_iface_skeleton_new (void) 1294s # { 1294s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ 1294s # * Code for interface org.project.OtherCallableIface 1294s # * ------------------------------------------------------------------------ 1294s # */ 1294s # 1294s # /** 1294s # * SECTION:OrgProjectOtherCallableIface 1294s # * @title: OrgProjectOtherCallableIface 1294s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1294s # * 1294s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1294s # */ 1294s # 1294s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1294s # 1294s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "SimpleMethod", 1294s # NULL, 1294s # NULL, 1294s # NULL 1294s # }, 1294s # "handle-simple-method", 1294s # FALSE 1294s # }; 1294s # 1294s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1294s # { 1294s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1294s # NULL 1294s # }; 1294s # 1294s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1294s # { 1294s # { 1294s # -1, 1294s # (gchar *) "org.project.OtherCallableIface", 1294s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1294s # NULL, 1294s # NULL, 1294s # NULL 1294s # }, 1294s # "org-project-other-callable-iface", 1294s # }; 1294s # 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_interface_info: 1294s # * 1294s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1294s # * 1294s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1294s # */ 1294s # GDBusInterfaceInfo * 1294s # org_project_other_callable_iface_interface_info (void) 1294s # { 1294s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_override_properties: 1294s # * @klass: The class structure for a #GObject derived class. 1294s # * @property_id_begin: The property id to assign to the first overridden property. 1294s # * 1294s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1294s # * The properties are overridden in the order they are defined. 1294s # * 1294s # * Returns: The last property id. 1294s # */ 1294s # guint 1294s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1294s # { 1294s # return property_id_begin - 1; 1294s # } 1294s # 1294s # 1294s # inline static void 1294s # org_project_other_callable_iface_method_marshal_simple_method ( 1294s # GClosure *closure, 1294s # GValue *return_value, 1294s # unsigned int n_param_values, 1294s # const GValue *param_values, 1294s # void *invocation_hint, 1294s # void *marshal_data) 1294s # { 1294s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1294s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1294s # } 1294s # 1294s # 1294s # /** 1294s # * OrgProjectOtherCallableIface: 1294s # * 1294s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1294s # */ 1294s # 1294s # /** 1294s # * OrgProjectOtherCallableIfaceIface: 1294s # * @parent_iface: The parent interface. 1294s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1294s # * 1294s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1294s # */ 1294s # 1294s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1294s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1294s # 1294s # static void 1294s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1294s # { 1294s # /* GObject signals for incoming D-Bus method calls: */ 1294s # /** 1294s # * OrgProjectOtherCallableIface::handle-simple-method: 1294s # * @object: A #OrgProjectOtherCallableIface. 1294s # * @invocation: A #GDBusMethodInvocation. 1294s # * 1294s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1294s # * 1294s # * If 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. 1294s # * 1294s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1294s # */ 1294s # g_signal_new ("handle-simple-method", 1294s # G_TYPE_FROM_INTERFACE (iface), 1294s # G_SIGNAL_RUN_LAST, 1294s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1294s # g_signal_accumulator_true_handled, 1294s # NULL, 1294s # org_project_other_callable_iface_method_marshal_simple_method, 1294s # G_TYPE_BOOLEAN, 1294s # 1, 1294s # G_TYPE_DBUS_METHOD_INVOCATION); 1294s # 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_call_simple_method: 1294s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1294s # * 1294s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1294s # */ 1294s # void 1294s # org_project_other_callable_iface_call_simple_method ( 1294s # OrgProjectOtherCallableIface *proxy, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1294s # "SimpleMethod", 1294s # g_variant_new ("()"), 1294s # G_DBUS_CALL_FLAGS_NONE, 1294s # -1, 1294s # cancellable, 1294s # callback, 1294s # user_data); 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_call_simple_method_finish: 1294s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1294s # * @error: Return location for error or %NULL. 1294s # * 1294s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1294s # * 1294s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1294s # */ 1294s # gboolean 1294s # org_project_other_callable_iface_call_simple_method_finish ( 1294s # OrgProjectOtherCallableIface *proxy, 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GVariant *_ret; 1294s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1294s # if (_ret == NULL) 1294s # goto _out; 1294s # g_variant_get (_ret, 1294s # "()"); 1294s # g_variant_unref (_ret); 1294s # _out: 1294s # return _ret != NULL; 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_call_simple_method_sync: 1294s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL. 1294s # * 1294s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1294s # * 1294s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1294s # * 1294s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1294s # */ 1294s # gboolean 1294s # org_project_other_callable_iface_call_simple_method_sync ( 1294s # OrgProjectOtherCallableIface *proxy, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GVariant *_ret; 1294s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1294s # "SimpleMethod", 1294s # g_variant_new ("()"), 1294s # G_DBUS_CALL_FLAGS_NONE, 1294s # -1, 1294s # cancellable, 1294s # error); 1294s # if (_ret == NULL) 1294s # goto _out; 1294s # g_variant_get (_ret, 1294s # "()"); 1294s # g_variant_unref (_ret); 1294s # _out: 1294s # return _ret != NULL; 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_complete_simple_method: 1294s # * @object: A #OrgProjectOtherCallableIface. 1294s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1294s # * 1294s # * 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. 1294s # * 1294s # * This method will free @invocation, you cannot use it afterwards. 1294s # */ 1294s # void 1294s # org_project_other_callable_iface_complete_simple_method ( 1294s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1294s # GDBusMethodInvocation *invocation) 1294s # { 1294s # g_dbus_method_invocation_return_value (invocation, 1294s # g_variant_new ("()")); 1294s # } 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * OrgProjectOtherCallableIfaceProxy: 1294s # * 1294s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * OrgProjectOtherCallableIfaceProxyClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1294s # */ 1294s # 1294s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1294s # { 1294s # GData *qdata; 1294s # }; 1294s # 1294s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1294s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1294s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1294s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1294s # { 1294s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1294s # g_datalist_clear (&proxy->priv->qdata); 1294s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1294s # guint prop_id G_GNUC_UNUSED, 1294s # GValue *value G_GNUC_UNUSED, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1294s # guint prop_id G_GNUC_UNUSED, 1294s # const GValue *value G_GNUC_UNUSED, 1294s # GParamSpec *pspec G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1294s # const gchar *sender_name G_GNUC_UNUSED, 1294s # const gchar *signal_name, 1294s # GVariant *parameters) 1294s # { 1294s # _ExtendedGDBusSignalInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # gsize n; 1294s # guint signal_id; 1294s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1294s # if (info == NULL) 1294s # return; 1294s # num_params = g_variant_n_children (parameters); 1294s # paramv = g_new0 (GValue, num_params + 1); 1294s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1294s # g_value_set_object (¶mv[0], proxy); 1294s # g_variant_iter_init (&iter, parameters); 1294s # n = 1; 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1294s # g_signal_emitv (paramv, signal_id, 0, NULL); 1294s # for (n = 0; n < num_params + 1; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1294s # GVariant *changed_properties, 1294s # const gchar *const *invalidated_properties) 1294s # { 1294s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1294s # guint n; 1294s # const gchar *key; 1294s # GVariantIter *iter; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # g_variant_get (changed_properties, "a{sv}", &iter); 1294s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1294s # g_datalist_remove_data (&proxy->priv->qdata, key); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # g_variant_iter_free (iter); 1294s # for (n = 0; invalidated_properties[n] != NULL; n++) 1294s # { 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1294s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1294s # if (info != NULL) 1294s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1294s # } 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1294s # #else 1294s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1294s # #endif 1294s # 1294s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusProxyClass *proxy_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1294s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1294s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1294s # 1294s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1294s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1294s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_proxy_new: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1294s # * 1294s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # org_project_other_callable_iface_proxy_new ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_proxy_new_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # OrgProjectOtherCallableIface * 1294s # org_project_other_callable_iface_proxy_new_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_proxy_new_sync: 1294s # * @connection: A #GDBusConnection. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # OrgProjectOtherCallableIface * 1294s # org_project_other_callable_iface_proxy_new_sync ( 1294s # GDBusConnection *connection, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_proxy_new_for_bus: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1294s # * @user_data: User data to pass to @callback. 1294s # * 1294s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1294s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1294s # * 1294s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1294s # */ 1294s # void 1294s # org_project_other_callable_iface_proxy_new_for_bus ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GAsyncReadyCallback callback, 1294s # gpointer user_data) 1294s # { 1294s # 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); 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1294s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # OrgProjectOtherCallableIface * 1294s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1294s # GAsyncResult *res, 1294s # GError **error) 1294s # { 1294s # GObject *ret; 1294s # GObject *source_object; 1294s # source_object = g_async_result_get_source_object (res); 1294s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1294s # g_object_unref (source_object); 1294s # if (ret != NULL) 1294s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1294s # * @bus_type: A #GBusType. 1294s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1294s # * @name: A bus name (well-known or unique). 1294s # * @object_path: An object path. 1294s # * @cancellable: (nullable): A #GCancellable or %NULL. 1294s # * @error: Return location for error or %NULL 1294s # * 1294s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1294s # * 1294s # * The calling thread is blocked until a reply is received. 1294s # * 1294s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1294s # */ 1294s # OrgProjectOtherCallableIface * 1294s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1294s # GBusType bus_type, 1294s # GDBusProxyFlags flags, 1294s # const gchar *name, 1294s # const gchar *object_path, 1294s # GCancellable *cancellable, 1294s # GError **error) 1294s # { 1294s # GInitable *ret; 1294s # 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); 1294s # if (ret != NULL) 1294s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1294s # else 1294s # return NULL; 1294s # } 1294s # 1294s # 1294s # /* ------------------------------------------------------------------------ */ 1294s # 1294s # /** 1294s # * OrgProjectOtherCallableIfaceSkeleton: 1294s # * 1294s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1294s # */ 1294s # 1294s # /** 1294s # * OrgProjectOtherCallableIfaceSkeletonClass: 1294s # * @parent_class: The parent class. 1294s # * 1294s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1294s # */ 1294s # 1294s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1294s # { 1294s # GValue *properties; 1294s # GList *changed_properties; 1294s # GSource *changed_properties_idle_source; 1294s # GMainContext *context; 1294s # GMutex lock; 1294s # }; 1294s # 1294s # static void 1294s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name, 1294s # const gchar *method_name, 1294s # GVariant *parameters, 1294s # GDBusMethodInvocation *invocation, 1294s # gpointer user_data) 1294s # { 1294s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1294s # _ExtendedGDBusMethodInfo *info; 1294s # GVariantIter iter; 1294s # GVariant *child; 1294s # GValue *paramv; 1294s # gsize num_params; 1294s # guint num_extra; 1294s # gsize n; 1294s # guint signal_id; 1294s # GValue return_value = G_VALUE_INIT; 1294s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1294s # g_assert (info != NULL); 1294s # num_params = g_variant_n_children (parameters); 1294s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1294s # n = 0; 1294s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1294s # g_value_set_object (¶mv[n++], skeleton); 1294s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1294s # g_value_set_object (¶mv[n++], invocation); 1294s # if (info->pass_fdlist) 1294s # { 1294s # #ifdef G_OS_UNIX 1294s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1294s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1294s # #else 1294s # g_assert_not_reached (); 1294s # #endif 1294s # } 1294s # g_variant_iter_init (&iter, parameters); 1294s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1294s # { 1294s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1294s # if (arg_info->use_gvariant) 1294s # { 1294s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1294s # g_value_set_variant (¶mv[n], child); 1294s # n++; 1294s # } 1294s # else 1294s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1294s # g_variant_unref (child); 1294s # } 1294s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1294s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1294s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1294s # if (!g_value_get_boolean (&return_value)) 1294s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1294s # g_value_unset (&return_value); 1294s # for (n = 0; n < num_params + num_extra; n++) 1294s # g_value_unset (¶mv[n]); 1294s # g_free (paramv); 1294s # } 1294s # 1294s # static GVariant * 1294s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # GVariant *ret; 1294s # ret = NULL; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # g_value_init (&value, pspec->value_type); 1294s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1294s # g_value_unset (&value); 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static gboolean 1294s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1294s # GDBusConnection *connection G_GNUC_UNUSED, 1294s # const gchar *sender G_GNUC_UNUSED, 1294s # const gchar *object_path G_GNUC_UNUSED, 1294s # const gchar *interface_name G_GNUC_UNUSED, 1294s # const gchar *property_name, 1294s # GVariant *variant, 1294s # GError **error, 1294s # gpointer user_data) 1294s # { 1294s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1294s # GValue value = G_VALUE_INIT; 1294s # GParamSpec *pspec; 1294s # _ExtendedGDBusPropertyInfo *info; 1294s # gboolean ret; 1294s # ret = FALSE; 1294s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1294s # g_assert (info != NULL); 1294s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1294s # if (pspec == NULL) 1294s # { 1294s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1294s # } 1294s # else 1294s # { 1294s # if (info->use_gvariant) 1294s # g_value_set_variant (&value, variant); 1294s # else 1294s # g_dbus_gvariant_to_gvalue (variant, &value); 1294s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1294s # g_value_unset (&value); 1294s # ret = TRUE; 1294s # } 1294s # return ret; 1294s # } 1294s # 1294s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1294s # { 1294s # _org_project_other_callable_iface_skeleton_handle_method_call, 1294s # _org_project_other_callable_iface_skeleton_handle_get_property, 1294s # _org_project_other_callable_iface_skeleton_handle_set_property, 1294s # {NULL} 1294s # }; 1294s # 1294s # static GDBusInterfaceInfo * 1294s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return org_project_other_callable_iface_interface_info (); 1294s # } 1294s # 1294s # static GDBusInterfaceVTable * 1294s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1294s # { 1294s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1294s # } 1294s # 1294s # static GVariant * 1294s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1294s # { 1294s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1294s # 1294s # GVariantBuilder builder; 1294s # guint n; 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1294s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #else 1294s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1294s # #endif 1294s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1294s # goto out; 1294s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1294s # { 1294s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1294s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1294s # { 1294s # GVariant *value; 1294s # 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); 1294s # if (value != NULL) 1294s # { 1294s # g_variant_take_ref (value); 1294s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1294s # g_variant_unref (value); 1294s # } 1294s # } 1294s # } 1294s # out: 1294s # return g_variant_builder_end (&builder); 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1294s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1294s # 1294s # #else 1294s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1294s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1294s # 1294s # #endif 1294s # static void 1294s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1294s # { 1294s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1294s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1294s # if (skeleton->priv->changed_properties_idle_source != NULL) 1294s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1294s # g_main_context_unref (skeleton->priv->context); 1294s # g_mutex_clear (&skeleton->priv->lock); 1294s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1294s # { 1294s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1294s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1294s # #else 1294s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1294s # #endif 1294s # 1294s # g_mutex_init (&skeleton->priv->lock); 1294s # skeleton->priv->context = g_main_context_ref_thread_default (); 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1294s # { 1294s # GObjectClass *gobject_class; 1294s # GDBusInterfaceSkeletonClass *skeleton_class; 1294s # 1294s # gobject_class = G_OBJECT_CLASS (klass); 1294s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1294s # 1294s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1294s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1294s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1294s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1294s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1294s # 1294s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1294s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1294s # #endif 1294s # } 1294s # 1294s # static void 1294s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1294s # { 1294s # } 1294s # 1294s # /** 1294s # * org_project_other_callable_iface_skeleton_new: 1294s # * 1294s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1294s # * 1294s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1294s # */ 1294s # OrgProjectOtherCallableIface * 1294s # org_project_other_callable_iface_skeleton_new (void) 1294s # { 1294s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1294s # } 1294s # Error: 1295s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmpcoyfrdas 1295s # /tmp/tmpcoyfrdas/tmp_kyhgvr1.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmp_kyhgvr1.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # gboolean arg_arg_b, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_boolean (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_b", 1295s # (gchar *) "b", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodB", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-b", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_b: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-b", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_b, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_b: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_b: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_b ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gboolean arg_arg_b, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodB", 1295s # g_variant_new ("(b)", 1295s # arg_arg_b), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_b_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_b_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_b_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_b: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_b_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gboolean arg_arg_b, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodB", 1295s # g_variant_new ("(b)", 1295s # arg_arg_b), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_b: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_b ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmp41a1y1ik.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmp41a1y1ik.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # guchar arg_arg_y, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_uchar (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_y", 1295s # (gchar *) "y", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodY", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-y", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_y: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-y", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_y, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_y: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_y: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_y ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guchar arg_arg_y, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodY", 1295s # g_variant_new ("(y)", 1295s # arg_arg_y), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_y_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_y_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_y_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_y: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_y_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guchar arg_arg_y, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodY", 1295s # g_variant_new ("(y)", 1295s # arg_arg_y), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_y: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_y ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmptnh7kbeg.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmptnh7kbeg.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # gint16 arg_arg_n, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_int (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_n", 1295s # (gchar *) "n", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodN", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-n", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_n: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-n", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_n, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_n: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_n: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_n ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint16 arg_arg_n, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodN", 1295s # g_variant_new ("(n)", 1295s # arg_arg_n), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_n_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_n_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_n_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_n: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_n_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint16 arg_arg_n, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodN", 1295s # g_variant_new ("(n)", 1295s # arg_arg_n), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_n: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_n ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpt6d7c_0n.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpt6d7c_0n.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # guint16 arg_arg_q, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_uint (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_q", 1295s # (gchar *) "q", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodQ", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-q", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_q: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-q", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_q, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_q: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_q: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_q ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint16 arg_arg_q, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodQ", 1295s # g_variant_new ("(q)", 1295s # arg_arg_q), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_q_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_q_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_q_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_q: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_q_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint16 arg_arg_q, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodQ", 1295s # g_variant_new ("(q)", 1295s # arg_arg_q), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_q: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_q ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpopda1cdg.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpopda1cdg.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # gint arg_arg_i, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_int (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_i", 1295s # (gchar *) "i", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodI", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-i", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_i: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-i", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_i, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_i: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_i: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_i ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint arg_arg_i, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodI", 1295s # g_variant_new ("(i)", 1295s # arg_arg_i), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_i_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_i_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_i_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_i: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_i_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint arg_arg_i, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodI", 1295s # g_variant_new ("(i)", 1295s # arg_arg_i), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_i: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_i ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpat7hmo79.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpat7hmo79.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # guint arg_arg_u, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_uint (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_u", 1295s # (gchar *) "u", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodU", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-u", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_u: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-u", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_u, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_u: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_u: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_u ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint arg_arg_u, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodU", 1295s # g_variant_new ("(u)", 1295s # arg_arg_u), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_u_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_u_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_u_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_u: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_u_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint arg_arg_u, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodU", 1295s # g_variant_new ("(u)", 1295s # arg_arg_u), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_u: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_u ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpgn7679kl.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpgn7679kl.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # gint64 arg_arg_x, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_int64 (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_x", 1295s # (gchar *) "x", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodX", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-x", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_x: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-x", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_x, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_x: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_x: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_x ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint64 arg_arg_x, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodX", 1295s # g_variant_new ("(x)", 1295s # arg_arg_x), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_x_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_x_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_x_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_x: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_x_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint64 arg_arg_x, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodX", 1295s # g_variant_new ("(x)", 1295s # arg_arg_x), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_x: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_x ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpycyaqfba.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpycyaqfba.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # guint64 arg_arg_t, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_uint64 (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_t", 1295s # (gchar *) "t", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodT", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-t", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_t: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-t", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_t, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_t: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_t: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_t ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint64 arg_arg_t, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodT", 1295s # g_variant_new ("(t)", 1295s # arg_arg_t), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_t_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_t_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_t_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_t: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_t_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint64 arg_arg_t, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodT", 1295s # g_variant_new ("(t)", 1295s # arg_arg_t), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_t: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_t ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpheojjb48.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpheojjb48.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # gdouble arg_arg_d, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_double (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_d", 1295s # (gchar *) "d", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodD", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-d", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_d: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-d", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_d, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_d: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_d: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_d ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gdouble arg_arg_d, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodD", 1295s # g_variant_new ("(d)", 1295s # arg_arg_d), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_d_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_d_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_d_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_d: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_d_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gdouble arg_arg_d, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodD", 1295s # g_variant_new ("(d)", 1295s # arg_arg_d), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_d: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_d ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmp04d2v65n.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmp04d2v65n.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # const gchar *arg_arg_s, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_string (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_s", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodS", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-s", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_s: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-s", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_s, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_s: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_s: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_s ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *arg_arg_s, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodS", 1295s # g_variant_new ("(s)", 1295s # arg_arg_s), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_s_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_s_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_s_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_s: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_s_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *arg_arg_s, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodS", 1295s # g_variant_new ("(s)", 1295s # arg_arg_s), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_s: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_s ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpq8i0ah86.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpq8i0ah86.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # const gchar *arg_arg_o, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_string (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_o", 1295s # (gchar *) "o", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodO", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-o", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_o: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-o", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_o, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_o: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_o: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_o ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *arg_arg_o, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodO", 1295s # g_variant_new ("(o)", 1295s # arg_arg_o), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_o_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_o_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_o_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_o: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_o_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *arg_arg_o, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodO", 1295s # g_variant_new ("(o)", 1295s # arg_arg_o), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_o: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_o ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpj8izcxpz.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpj8izcxpz.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # const gchar *arg_arg_g, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_string (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_g", 1295s # (gchar *) "g", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodG", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-g", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_g: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-g", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_g, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_g: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_g: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_g ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *arg_arg_g, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodG", 1295s # g_variant_new ("(g)", 1295s # arg_arg_g), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_g_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_g_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_g_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_g: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_g_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *arg_arg_g, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodG", 1295s # g_variant_new ("(g)", 1295s # arg_arg_g), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_g: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_g ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpnopt2qq0.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpnopt2qq0.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # GVariant *arg_arg_h, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_variant (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_h", 1295s # (gchar *) "h", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodH", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-h", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_h: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-h", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_h, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_h: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_h: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_h ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GVariant *arg_arg_h, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodH", 1295s # g_variant_new ("(@h)", 1295s # arg_arg_h), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_h_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_h_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_h_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_h: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_h_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GVariant *arg_arg_h, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodH", 1295s # g_variant_new ("(@h)", 1295s # arg_arg_h), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_h: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_h ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpw12h6quq.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpw12h6quq.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # const gchar *arg_arg_ay, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_string (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_ay", 1295s # (gchar *) "ay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAy", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-ay", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_ay: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-ay", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ay: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_ay: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_ay ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *arg_arg_ay, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAy", 1295s # g_variant_new ("(^ay)", 1295s # arg_arg_ay), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_ay: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *arg_arg_ay, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAy", 1295s # g_variant_new ("(^ay)", 1295s # arg_arg_ay), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_ay: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_ay ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmptovbqgin.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmptovbqgin.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # const gchar *const *arg_arg_as, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_boxed (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_as", 1295s # (gchar *) "as", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAs", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-as", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_as: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-as", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_as, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_as: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_as: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_as ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *const *arg_arg_as, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAs", 1295s # g_variant_new ("(^as)", 1295s # arg_arg_as), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_as_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_as_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_as_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_as: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_as_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *const *arg_arg_as, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAs", 1295s # g_variant_new ("(^as)", 1295s # arg_arg_as), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_as: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_as ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmpq5e7x7bg.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmpq5e7x7bg.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # const gchar *const *arg_arg_ao, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_boxed (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_ao", 1295s # (gchar *) "ao", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAo", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-ao", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_ao: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-ao", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ao: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_ao: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_ao ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *const *arg_arg_ao, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAo", 1295s # g_variant_new ("(^ao)", 1295s # arg_arg_ao), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_ao: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *const *arg_arg_ao, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAo", 1295s # g_variant_new ("(^ao)", 1295s # arg_arg_ao), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_ao: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_ao ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmp36bx522s.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmp36bx522s.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # const gchar *const *arg_arg_aay, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_boxed (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_aay", 1295s # (gchar *) "aay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAay", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-aay", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_aay: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-aay", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_aay: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_aay: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_aay ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *const *arg_arg_aay, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAay", 1295s # g_variant_new ("(^aay)", 1295s # arg_arg_aay), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_aay: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # const gchar *const *arg_arg_aay, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAay", 1295s # g_variant_new ("(^aay)", 1295s # arg_arg_aay), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_aay: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_aay ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpcoyfrdas/tmps1n0juvn.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcoyfrdas/tmps1n0juvn.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # GVariant *arg_arg_asv, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 3); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_variant (param_values + 2), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_asv", 1295s # (gchar *) "a{sv}", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAsv", 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-asv", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_arg_asv: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-asv", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1295s # G_TYPE_BOOLEAN, 1295s # 2, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_asv: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_asv: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_asv ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GVariant *arg_arg_asv, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAsv", 1295s # g_variant_new ("(@a{sv})", 1295s # arg_arg_asv), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @arg_arg_asv: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GVariant *arg_arg_asv, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAsv", 1295s # g_variant_new ("(@a{sv})", 1295s # arg_arg_asv), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_asv: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_asv ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmpnv35z_dp 1295s # /tmp/tmpnv35z_dp/tmpu68jkq9p.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpu68jkq9p.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_b", 1295s # (gchar *) "b", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodB", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-b", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-b", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_b, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_b: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_b ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodB", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_b_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_b_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gboolean *out_arg_b, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(b)", 1295s # out_arg_b); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_b_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_b_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gboolean *out_arg_b, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodB", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(b)", 1295s # out_arg_b); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_b: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_b: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_b ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # gboolean arg_b) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(b)", 1295s # arg_b)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpibbwnbnp.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpibbwnbnp.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_y", 1295s # (gchar *) "y", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodY", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-y", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-y", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_y, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_y: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_y ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodY", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_y_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_y_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guchar *out_arg_y, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(y)", 1295s # out_arg_y); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_y_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_y_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guchar *out_arg_y, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodY", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(y)", 1295s # out_arg_y); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_y: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_y: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_y ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # guchar arg_y) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(y)", 1295s # arg_y)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpblcfx4dq.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpblcfx4dq.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_n", 1295s # (gchar *) "n", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodN", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-n", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-n", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_n, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_n: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_n ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodN", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_n_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_n_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint16 *out_arg_n, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(n)", 1295s # out_arg_n); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_n_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_n_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint16 *out_arg_n, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodN", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(n)", 1295s # out_arg_n); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_n: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_n: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_n ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # gint16 arg_n) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(n)", 1295s # arg_n)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmp3exj7_7h.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmp3exj7_7h.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_q", 1295s # (gchar *) "q", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodQ", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-q", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-q", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_q, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_q: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_q ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodQ", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_q_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_q_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint16 *out_arg_q, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(q)", 1295s # out_arg_q); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_q_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_q_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint16 *out_arg_q, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodQ", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(q)", 1295s # out_arg_q); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_q: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_q: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_q ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # guint16 arg_q) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(q)", 1295s # arg_q)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpnql5bcih.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpnql5bcih.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_i", 1295s # (gchar *) "i", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodI", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-i", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-i", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_i, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_i: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_i ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodI", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_i_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_i_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint *out_arg_i, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(i)", 1295s # out_arg_i); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_i_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_i_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint *out_arg_i, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodI", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(i)", 1295s # out_arg_i); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_i: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_i: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_i ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # gint arg_i) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(i)", 1295s # arg_i)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpvqkg_1fm.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpvqkg_1fm.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_u", 1295s # (gchar *) "u", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodU", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-u", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-u", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_u, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_u: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_u ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodU", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_u_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_u_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint *out_arg_u, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(u)", 1295s # out_arg_u); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_u_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_u_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint *out_arg_u, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodU", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(u)", 1295s # out_arg_u); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_u: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_u: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_u ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # guint arg_u) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(u)", 1295s # arg_u)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpqbkeg34s.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpqbkeg34s.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_x", 1295s # (gchar *) "x", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodX", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-x", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-x", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_x, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_x: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_x ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodX", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_x_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_x_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint64 *out_arg_x, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(x)", 1295s # out_arg_x); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_x_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_x_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gint64 *out_arg_x, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodX", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(x)", 1295s # out_arg_x); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_x: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_x: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_x ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # gint64 arg_x) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(x)", 1295s # arg_x)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpzrc2fp1x.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpzrc2fp1x.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_t", 1295s # (gchar *) "t", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodT", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-t", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-t", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_t, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_t: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_t ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodT", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_t_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_t_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint64 *out_arg_t, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(t)", 1295s # out_arg_t); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_t_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_t_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # guint64 *out_arg_t, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodT", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(t)", 1295s # out_arg_t); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_t: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_t: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_t ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # guint64 arg_t) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(t)", 1295s # arg_t)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpa_37p96x.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpa_37p96x.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_d", 1295s # (gchar *) "d", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodD", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-d", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-d", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_d, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_d: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_d ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodD", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_d_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_d_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gdouble *out_arg_d, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(d)", 1295s # out_arg_d); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_d_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_d_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gdouble *out_arg_d, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodD", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(d)", 1295s # out_arg_d); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_d: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_d: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_d ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # gdouble arg_d) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(d)", 1295s # arg_d)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmprojg6uc9.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmprojg6uc9.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_s", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodS", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-s", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-s", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_s, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_s: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_s ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodS", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_s_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_s_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar **out_arg_s, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(s)", 1295s # out_arg_s); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_s_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_s_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar **out_arg_s, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodS", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(s)", 1295s # out_arg_s); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_s: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_s: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_s ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # const gchar *arg_s) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(s)", 1295s # arg_s)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmp0t4e9z9p.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmp0t4e9z9p.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_o", 1295s # (gchar *) "o", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodO", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-o", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-o", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_o, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_o: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_o ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodO", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_o_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_o_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar **out_arg_o, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(o)", 1295s # out_arg_o); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_o_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_o_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar **out_arg_o, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodO", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(o)", 1295s # out_arg_o); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_o: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_o: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_o ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # const gchar *arg_o) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(o)", 1295s # arg_o)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmp2chl8ka7.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmp2chl8ka7.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_g", 1295s # (gchar *) "g", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodG", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-g", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-g", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_g, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_g: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_g ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodG", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_g_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_g_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar **out_arg_g, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(g)", 1295s # out_arg_g); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_g_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_g_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar **out_arg_g, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodG", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(g)", 1295s # out_arg_g); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_g: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_g: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_g ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # const gchar *arg_g) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(g)", 1295s # arg_g)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpcrny7i1o.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpcrny7i1o.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_h", 1295s # (gchar *) "h", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodH", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-h", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-h", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_h, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_h: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_h ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodH", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_h_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_h_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GVariant **out_arg_h, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(@h)", 1295s # out_arg_h); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_h_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_h_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GVariant **out_arg_h, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodH", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(@h)", 1295s # out_arg_h); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_h: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_h: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_h ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # GVariant *arg_h) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(@h)", 1295s # arg_h)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpmkflsnmh.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpmkflsnmh.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_ay", 1295s # (gchar *) "ay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAy", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-ay", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-ay", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ay: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_ay ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAy", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar **out_arg_ay, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(^ay)", 1295s # out_arg_ay); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar **out_arg_ay, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAy", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(^ay)", 1295s # out_arg_ay); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_ay: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_ay: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_ay ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # const gchar *arg_ay) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(^ay)", 1295s # arg_ay)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpvjvq5cma.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpvjvq5cma.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_as", 1295s # (gchar *) "as", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAs", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-as", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-as", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_as, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_as: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_as ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAs", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_as_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_as_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar ***out_arg_as, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(^as)", 1295s # out_arg_as); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_as_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_as_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar ***out_arg_as, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAs", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(^as)", 1295s # out_arg_as); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_as: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_as: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_as ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # const gchar *const *arg_as) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(^as)", 1295s # arg_as)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmprkeckftc.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmprkeckftc.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_ao", 1295s # (gchar *) "ao", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAo", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-ao", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-ao", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ao: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_ao ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAo", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar ***out_arg_ao, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(^ao)", 1295s # out_arg_ao); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar ***out_arg_ao, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAo", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(^ao)", 1295s # out_arg_ao); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_ao: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_ao: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_ao ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # const gchar *const *arg_ao) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(^ao)", 1295s # arg_ao)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmp83004uab.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmp83004uab.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_aay", 1295s # (gchar *) "aay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAay", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-aay", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-aay", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_aay: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_aay ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAay", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar ***out_arg_aay, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(^aay)", 1295s # out_arg_aay); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # gchar ***out_arg_aay, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAay", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(^aay)", 1295s # out_arg_aay); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_aay: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_aay: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_aay ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # const gchar *const *arg_aay) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(^aay)", 1295s # arg_aay)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s # 1295s # /tmp/tmpnv35z_dp/tmpc1t7olau.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnv35z_dp/tmpc1t7olau.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.UsefulInterface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectUsefulInterface 1295s # * @title: OrgProjectUsefulInterface 1295s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "arg_asv", 1295s # (gchar *) "a{sv}", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SingleArgMethodAsv", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-single-arg-method-asv", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1295s # { 1295s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.UsefulInterface", 1295s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-useful-interface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_useful_interface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1295s # */ 1295s # 1295s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-single-arg-method-asv", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_asv: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_useful_interface_call_single_arg_method_asv ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAsv", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GVariant **out_arg_asv, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(@a{sv})", 1295s # out_arg_asv); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1295s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1295s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1295s # OrgProjectUsefulInterface *proxy, 1295s # GVariant **out_arg_asv, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SingleArgMethodAsv", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(@a{sv})", 1295s # out_arg_asv); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_complete_single_arg_method_asv: 1295s # * @object: A #OrgProjectUsefulInterface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @arg_asv: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_useful_interface_complete_single_arg_method_asv ( 1295s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # GVariant *arg_asv) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(@a{sv})", 1295s # arg_asv)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxy: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1295s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1295s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_useful_interface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeleton: 1295s # * 1295s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectUsefulInterfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_useful_interface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_useful_interface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_useful_interface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1295s # { 1295s # _org_project_useful_interface_skeleton_handle_method_call, 1295s # _org_project_useful_interface_skeleton_handle_get_property, 1295s # _org_project_useful_interface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_useful_interface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_useful_interface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_useful_interface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectUsefulInterface * 1295s # org_project_useful_interface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmp27uej8wk 1295s # /tmp/tmp27uej8wk/tmpoxyypqko.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp27uej8wk/tmpoxyypqko.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 20); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_boolean (param_values + 2), 1295s # g_marshal_value_peek_uchar (param_values + 3), 1295s # g_marshal_value_peek_int (param_values + 4), 1295s # g_marshal_value_peek_uint (param_values + 5), 1295s # g_marshal_value_peek_int (param_values + 6), 1295s # g_marshal_value_peek_uint (param_values + 7), 1295s # g_marshal_value_peek_int64 (param_values + 8), 1295s # g_marshal_value_peek_uint64 (param_values + 9), 1295s # g_marshal_value_peek_double (param_values + 10), 1295s # g_marshal_value_peek_string (param_values + 11), 1295s # g_marshal_value_peek_string (param_values + 12), 1295s # g_marshal_value_peek_string (param_values + 13), 1295s # g_marshal_value_peek_variant (param_values + 14), 1295s # g_marshal_value_peek_string (param_values + 15), 1295s # g_marshal_value_peek_boxed (param_values + 16), 1295s # g_marshal_value_peek_boxed (param_values + 17), 1295s # g_marshal_value_peek_boxed (param_values + 18), 1295s # g_marshal_value_peek_variant (param_values + 19), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.CallableIface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectCallableIface 1295s # * @title: OrgProjectCallableIface 1295s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.CallableIface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_b", 1295s # (gchar *) "b", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_y", 1295s # (gchar *) "y", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_n", 1295s # (gchar *) "n", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_q", 1295s # (gchar *) "q", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_i", 1295s # (gchar *) "i", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_u", 1295s # (gchar *) "u", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_x", 1295s # (gchar *) "x", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_t", 1295s # (gchar *) "t", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_d", 1295s # (gchar *) "d", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_s", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_o", 1295s # (gchar *) "o", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_g", 1295s # (gchar *) "g", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_h", 1295s # (gchar *) "h", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ay", 1295s # (gchar *) "ay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_as", 1295s # (gchar *) "as", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ao", 1295s # (gchar *) "ao", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_aay", 1295s # (gchar *) "aay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_asv", 1295s # (gchar *) "a{sv}", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "MethodWithManyArgs", 1295s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-method-with-many-args", 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_b", 1295s # (gchar *) "b", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_y", 1295s # (gchar *) "y", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_n", 1295s # (gchar *) "n", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_q", 1295s # (gchar *) "q", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_i", 1295s # (gchar *) "i", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_u", 1295s # (gchar *) "u", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_x", 1295s # (gchar *) "x", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_t", 1295s # (gchar *) "t", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_d", 1295s # (gchar *) "d", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_s", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_o", 1295s # (gchar *) "o", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_g", 1295s # (gchar *) "g", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_h", 1295s # (gchar *) "h", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ay", 1295s # (gchar *) "ay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_as", 1295s # (gchar *) "as", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ao", 1295s # (gchar *) "ao", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_aay", 1295s # (gchar *) "aay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_asv", 1295s # (gchar *) "a{sv}", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SameMethodWithManyArgs", 1295s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-same-method-with-many-args", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1295s # { 1295s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1295s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.CallableIface", 1295s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-callable-iface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_callable_iface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_callable_iface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_callable_iface_method_marshal_method_with_many_args ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _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, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # inline static void 1295s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _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, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectCallableIface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1295s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.CallableIface. 1295s # */ 1295s # 1295s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectCallableIface::handle-method-with-many-args: 1295s # * @object: A #OrgProjectCallableIface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_an_b: Argument passed by remote caller. 1295s # * @arg_an_y: Argument passed by remote caller. 1295s # * @arg_an_n: Argument passed by remote caller. 1295s # * @arg_an_q: Argument passed by remote caller. 1295s # * @arg_an_i: Argument passed by remote caller. 1295s # * @arg_an_u: Argument passed by remote caller. 1295s # * @arg_an_x: Argument passed by remote caller. 1295s # * @arg_an_t: Argument passed by remote caller. 1295s # * @arg_an_d: Argument passed by remote caller. 1295s # * @arg_an_s: Argument passed by remote caller. 1295s # * @arg_an_o: Argument passed by remote caller. 1295s # * @arg_an_g: Argument passed by remote caller. 1295s # * @arg_an_h: Argument passed by remote caller. 1295s # * @arg_an_ay: Argument passed by remote caller. 1295s # * @arg_an_as: Argument passed by remote caller. 1295s # * @arg_an_ao: Argument passed by remote caller. 1295s # * @arg_an_aay: Argument passed by remote caller. 1295s # * @arg_an_asv: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-method-with-many-args", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_callable_iface_method_marshal_method_with_many_args, 1295s # G_TYPE_BOOLEAN, 1295s # 19, 1295s # 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); 1295s # 1295s # /** 1295s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1295s # * @object: A #OrgProjectCallableIface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_an_b: Argument passed by remote caller. 1295s # * @arg_an_y: Argument passed by remote caller. 1295s # * @arg_an_n: Argument passed by remote caller. 1295s # * @arg_an_q: Argument passed by remote caller. 1295s # * @arg_an_i: Argument passed by remote caller. 1295s # * @arg_an_u: Argument passed by remote caller. 1295s # * @arg_an_x: Argument passed by remote caller. 1295s # * @arg_an_t: Argument passed by remote caller. 1295s # * @arg_an_d: Argument passed by remote caller. 1295s # * @arg_an_s: Argument passed by remote caller. 1295s # * @arg_an_o: Argument passed by remote caller. 1295s # * @arg_an_g: Argument passed by remote caller. 1295s # * @arg_an_h: Argument passed by remote caller. 1295s # * @arg_an_ay: Argument passed by remote caller. 1295s # * @arg_an_as: Argument passed by remote caller. 1295s # * @arg_an_ao: Argument passed by remote caller. 1295s # * @arg_an_aay: Argument passed by remote caller. 1295s # * @arg_an_asv: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-same-method-with-many-args", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1295s # G_TYPE_BOOLEAN, 1295s # 19, 1295s # 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); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_method_with_many_args: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @arg_an_b: Argument to pass with the method invocation. 1295s # * @arg_an_y: Argument to pass with the method invocation. 1295s # * @arg_an_n: Argument to pass with the method invocation. 1295s # * @arg_an_q: Argument to pass with the method invocation. 1295s # * @arg_an_i: Argument to pass with the method invocation. 1295s # * @arg_an_u: Argument to pass with the method invocation. 1295s # * @arg_an_x: Argument to pass with the method invocation. 1295s # * @arg_an_t: Argument to pass with the method invocation. 1295s # * @arg_an_d: Argument to pass with the method invocation. 1295s # * @arg_an_s: Argument to pass with the method invocation. 1295s # * @arg_an_o: Argument to pass with the method invocation. 1295s # * @arg_an_g: Argument to pass with the method invocation. 1295s # * @arg_an_h: Argument to pass with the method invocation. 1295s # * @arg_an_ay: Argument to pass with the method invocation. 1295s # * @arg_an_as: Argument to pass with the method invocation. 1295s # * @arg_an_ao: Argument to pass with the method invocation. 1295s # * @arg_an_aay: Argument to pass with the method invocation. 1295s # * @arg_an_asv: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_callable_iface_call_method_with_many_args ( 1295s # OrgProjectCallableIface *proxy, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "MethodWithManyArgs", 1295s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # arg_an_b, 1295s # arg_an_y, 1295s # arg_an_n, 1295s # arg_an_q, 1295s # arg_an_i, 1295s # arg_an_u, 1295s # arg_an_x, 1295s # arg_an_t, 1295s # arg_an_d, 1295s # arg_an_s, 1295s # arg_an_o, 1295s # arg_an_g, 1295s # arg_an_h, 1295s # arg_an_ay, 1295s # arg_an_as, 1295s # arg_an_ao, 1295s # arg_an_aay, 1295s # arg_an_asv), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_method_with_many_args_finish: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_callable_iface_call_method_with_many_args_finish ( 1295s # OrgProjectCallableIface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_method_with_many_args_sync: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @arg_an_b: Argument to pass with the method invocation. 1295s # * @arg_an_y: Argument to pass with the method invocation. 1295s # * @arg_an_n: Argument to pass with the method invocation. 1295s # * @arg_an_q: Argument to pass with the method invocation. 1295s # * @arg_an_i: Argument to pass with the method invocation. 1295s # * @arg_an_u: Argument to pass with the method invocation. 1295s # * @arg_an_x: Argument to pass with the method invocation. 1295s # * @arg_an_t: Argument to pass with the method invocation. 1295s # * @arg_an_d: Argument to pass with the method invocation. 1295s # * @arg_an_s: Argument to pass with the method invocation. 1295s # * @arg_an_o: Argument to pass with the method invocation. 1295s # * @arg_an_g: Argument to pass with the method invocation. 1295s # * @arg_an_h: Argument to pass with the method invocation. 1295s # * @arg_an_ay: Argument to pass with the method invocation. 1295s # * @arg_an_as: Argument to pass with the method invocation. 1295s # * @arg_an_ao: Argument to pass with the method invocation. 1295s # * @arg_an_aay: Argument to pass with the method invocation. 1295s # * @arg_an_asv: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_callable_iface_call_method_with_many_args_sync ( 1295s # OrgProjectCallableIface *proxy, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "MethodWithManyArgs", 1295s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # arg_an_b, 1295s # arg_an_y, 1295s # arg_an_n, 1295s # arg_an_q, 1295s # arg_an_i, 1295s # arg_an_u, 1295s # arg_an_x, 1295s # arg_an_t, 1295s # arg_an_d, 1295s # arg_an_s, 1295s # arg_an_o, 1295s # arg_an_g, 1295s # arg_an_h, 1295s # arg_an_ay, 1295s # arg_an_as, 1295s # arg_an_ao, 1295s # arg_an_aay, 1295s # arg_an_asv), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_same_method_with_many_args: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @arg_an_b: Argument to pass with the method invocation. 1295s # * @arg_an_y: Argument to pass with the method invocation. 1295s # * @arg_an_n: Argument to pass with the method invocation. 1295s # * @arg_an_q: Argument to pass with the method invocation. 1295s # * @arg_an_i: Argument to pass with the method invocation. 1295s # * @arg_an_u: Argument to pass with the method invocation. 1295s # * @arg_an_x: Argument to pass with the method invocation. 1295s # * @arg_an_t: Argument to pass with the method invocation. 1295s # * @arg_an_d: Argument to pass with the method invocation. 1295s # * @arg_an_s: Argument to pass with the method invocation. 1295s # * @arg_an_o: Argument to pass with the method invocation. 1295s # * @arg_an_g: Argument to pass with the method invocation. 1295s # * @arg_an_h: Argument to pass with the method invocation. 1295s # * @arg_an_ay: Argument to pass with the method invocation. 1295s # * @arg_an_as: Argument to pass with the method invocation. 1295s # * @arg_an_ao: Argument to pass with the method invocation. 1295s # * @arg_an_aay: Argument to pass with the method invocation. 1295s # * @arg_an_asv: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_callable_iface_call_same_method_with_many_args ( 1295s # OrgProjectCallableIface *proxy, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "SameMethodWithManyArgs", 1295s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # arg_an_b, 1295s # arg_an_y, 1295s # arg_an_n, 1295s # arg_an_q, 1295s # arg_an_i, 1295s # arg_an_u, 1295s # arg_an_x, 1295s # arg_an_t, 1295s # arg_an_d, 1295s # arg_an_s, 1295s # arg_an_o, 1295s # arg_an_g, 1295s # arg_an_h, 1295s # arg_an_ay, 1295s # arg_an_as, 1295s # arg_an_ao, 1295s # arg_an_aay, 1295s # arg_an_asv), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1295s # OrgProjectCallableIface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @arg_an_b: Argument to pass with the method invocation. 1295s # * @arg_an_y: Argument to pass with the method invocation. 1295s # * @arg_an_n: Argument to pass with the method invocation. 1295s # * @arg_an_q: Argument to pass with the method invocation. 1295s # * @arg_an_i: Argument to pass with the method invocation. 1295s # * @arg_an_u: Argument to pass with the method invocation. 1295s # * @arg_an_x: Argument to pass with the method invocation. 1295s # * @arg_an_t: Argument to pass with the method invocation. 1295s # * @arg_an_d: Argument to pass with the method invocation. 1295s # * @arg_an_s: Argument to pass with the method invocation. 1295s # * @arg_an_o: Argument to pass with the method invocation. 1295s # * @arg_an_g: Argument to pass with the method invocation. 1295s # * @arg_an_h: Argument to pass with the method invocation. 1295s # * @arg_an_ay: Argument to pass with the method invocation. 1295s # * @arg_an_as: Argument to pass with the method invocation. 1295s # * @arg_an_ao: Argument to pass with the method invocation. 1295s # * @arg_an_aay: Argument to pass with the method invocation. 1295s # * @arg_an_asv: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1295s # OrgProjectCallableIface *proxy, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "SameMethodWithManyArgs", 1295s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # arg_an_b, 1295s # arg_an_y, 1295s # arg_an_n, 1295s # arg_an_q, 1295s # arg_an_i, 1295s # arg_an_u, 1295s # arg_an_x, 1295s # arg_an_t, 1295s # arg_an_d, 1295s # arg_an_s, 1295s # arg_an_o, 1295s # arg_an_g, 1295s # arg_an_h, 1295s # arg_an_ay, 1295s # arg_an_as, 1295s # arg_an_ao, 1295s # arg_an_aay, 1295s # arg_an_asv), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_complete_method_with_many_args: 1295s # * @object: A #OrgProjectCallableIface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_callable_iface_complete_method_with_many_args ( 1295s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_complete_same_method_with_many_args: 1295s # * @object: A #OrgProjectCallableIface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_callable_iface_complete_same_method_with_many_args ( 1295s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceProxy: 1295s # * 1295s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectCallableIfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectCallableIfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_callable_iface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1295s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1295s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_callable_iface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_callable_iface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceSkeleton: 1295s # * 1295s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectCallableIfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_callable_iface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_callable_iface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_callable_iface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1295s # { 1295s # _org_project_callable_iface_skeleton_handle_method_call, 1295s # _org_project_callable_iface_skeleton_handle_get_property, 1295s # _org_project_callable_iface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_callable_iface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_callable_iface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.OtherCallableIface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectOtherCallableIface 1295s # * @title: OrgProjectOtherCallableIface 1295s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_b", 1295s # (gchar *) "b", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_y", 1295s # (gchar *) "y", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_n", 1295s # (gchar *) "n", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_q", 1295s # (gchar *) "q", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_i", 1295s # (gchar *) "i", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_u", 1295s # (gchar *) "u", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_x", 1295s # (gchar *) "x", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_t", 1295s # (gchar *) "t", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_d", 1295s # (gchar *) "d", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_s", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_o", 1295s # (gchar *) "o", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_g", 1295s # (gchar *) "g", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_h", 1295s # (gchar *) "h", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ay", 1295s # (gchar *) "ay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_as", 1295s # (gchar *) "as", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ao", 1295s # (gchar *) "ao", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_aay", 1295s # (gchar *) "aay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_asv", 1295s # (gchar *) "a{sv}", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1295s # { 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "MethodWithManyArgs", 1295s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "handle-method-with-many-args", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1295s # { 1295s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.OtherCallableIface", 1295s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-other-callable-iface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_other_callable_iface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _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, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectOtherCallableIface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectOtherCallableIfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1295s # */ 1295s # 1295s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1295s # * @object: A #OrgProjectOtherCallableIface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @arg_an_b: Argument passed by remote caller. 1295s # * @arg_an_y: Argument passed by remote caller. 1295s # * @arg_an_n: Argument passed by remote caller. 1295s # * @arg_an_q: Argument passed by remote caller. 1295s # * @arg_an_i: Argument passed by remote caller. 1295s # * @arg_an_u: Argument passed by remote caller. 1295s # * @arg_an_x: Argument passed by remote caller. 1295s # * @arg_an_t: Argument passed by remote caller. 1295s # * @arg_an_d: Argument passed by remote caller. 1295s # * @arg_an_s: Argument passed by remote caller. 1295s # * @arg_an_o: Argument passed by remote caller. 1295s # * @arg_an_g: Argument passed by remote caller. 1295s # * @arg_an_h: Argument passed by remote caller. 1295s # * @arg_an_ay: Argument passed by remote caller. 1295s # * @arg_an_as: Argument passed by remote caller. 1295s # * @arg_an_ao: Argument passed by remote caller. 1295s # * @arg_an_aay: Argument passed by remote caller. 1295s # * @arg_an_asv: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-method-with-many-args", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1295s # G_TYPE_BOOLEAN, 1295s # 19, 1295s # 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); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_call_method_with_many_args: 1295s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1295s # * @arg_an_b: Argument to pass with the method invocation. 1295s # * @arg_an_y: Argument to pass with the method invocation. 1295s # * @arg_an_n: Argument to pass with the method invocation. 1295s # * @arg_an_q: Argument to pass with the method invocation. 1295s # * @arg_an_i: Argument to pass with the method invocation. 1295s # * @arg_an_u: Argument to pass with the method invocation. 1295s # * @arg_an_x: Argument to pass with the method invocation. 1295s # * @arg_an_t: Argument to pass with the method invocation. 1295s # * @arg_an_d: Argument to pass with the method invocation. 1295s # * @arg_an_s: Argument to pass with the method invocation. 1295s # * @arg_an_o: Argument to pass with the method invocation. 1295s # * @arg_an_g: Argument to pass with the method invocation. 1295s # * @arg_an_h: Argument to pass with the method invocation. 1295s # * @arg_an_ay: Argument to pass with the method invocation. 1295s # * @arg_an_as: Argument to pass with the method invocation. 1295s # * @arg_an_ao: Argument to pass with the method invocation. 1295s # * @arg_an_aay: Argument to pass with the method invocation. 1295s # * @arg_an_asv: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_other_callable_iface_call_method_with_many_args ( 1295s # OrgProjectOtherCallableIface *proxy, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "MethodWithManyArgs", 1295s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # arg_an_b, 1295s # arg_an_y, 1295s # arg_an_n, 1295s # arg_an_q, 1295s # arg_an_i, 1295s # arg_an_u, 1295s # arg_an_x, 1295s # arg_an_t, 1295s # arg_an_d, 1295s # arg_an_s, 1295s # arg_an_o, 1295s # arg_an_g, 1295s # arg_an_h, 1295s # arg_an_ay, 1295s # arg_an_as, 1295s # arg_an_ao, 1295s # arg_an_aay, 1295s # arg_an_asv), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1295s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1295s # OrgProjectOtherCallableIface *proxy, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1295s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1295s # * @arg_an_b: Argument to pass with the method invocation. 1295s # * @arg_an_y: Argument to pass with the method invocation. 1295s # * @arg_an_n: Argument to pass with the method invocation. 1295s # * @arg_an_q: Argument to pass with the method invocation. 1295s # * @arg_an_i: Argument to pass with the method invocation. 1295s # * @arg_an_u: Argument to pass with the method invocation. 1295s # * @arg_an_x: Argument to pass with the method invocation. 1295s # * @arg_an_t: Argument to pass with the method invocation. 1295s # * @arg_an_d: Argument to pass with the method invocation. 1295s # * @arg_an_s: Argument to pass with the method invocation. 1295s # * @arg_an_o: Argument to pass with the method invocation. 1295s # * @arg_an_g: Argument to pass with the method invocation. 1295s # * @arg_an_h: Argument to pass with the method invocation. 1295s # * @arg_an_ay: Argument to pass with the method invocation. 1295s # * @arg_an_as: Argument to pass with the method invocation. 1295s # * @arg_an_ao: Argument to pass with the method invocation. 1295s # * @arg_an_aay: Argument to pass with the method invocation. 1295s # * @arg_an_asv: Argument to pass with the method invocation. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1295s # OrgProjectOtherCallableIface *proxy, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "MethodWithManyArgs", 1295s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # arg_an_b, 1295s # arg_an_y, 1295s # arg_an_n, 1295s # arg_an_q, 1295s # arg_an_i, 1295s # arg_an_u, 1295s # arg_an_x, 1295s # arg_an_t, 1295s # arg_an_d, 1295s # arg_an_s, 1295s # arg_an_o, 1295s # arg_an_g, 1295s # arg_an_h, 1295s # arg_an_ay, 1295s # arg_an_as, 1295s # arg_an_ao, 1295s # arg_an_aay, 1295s # arg_an_asv), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "()"); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_complete_method_with_many_args: 1295s # * @object: A #OrgProjectOtherCallableIface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_other_callable_iface_complete_method_with_many_args ( 1295s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("()")); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectOtherCallableIfaceProxy: 1295s # * 1295s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectOtherCallableIfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1295s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1295s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_other_callable_iface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectOtherCallableIface * 1295s # org_project_other_callable_iface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectOtherCallableIface * 1295s # org_project_other_callable_iface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_other_callable_iface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectOtherCallableIface * 1295s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectOtherCallableIface * 1295s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectOtherCallableIfaceSkeleton: 1295s # * 1295s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectOtherCallableIfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1295s # { 1295s # _org_project_other_callable_iface_skeleton_handle_method_call, 1295s # _org_project_other_callable_iface_skeleton_handle_get_property, 1295s # _org_project_other_callable_iface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_other_callable_iface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_other_callable_iface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectOtherCallableIface * 1295s # org_project_other_callable_iface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmp7x_jv1ix 1295s # /tmp/tmp7x_jv1ix/tmpg8iuwxvg.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7x_jv1ix/tmpg8iuwxvg.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 2); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.CallableIface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectCallableIface 1295s # * @title: OrgProjectCallableIface 1295s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for org.project.CallableIface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_b", 1295s # (gchar *) "b", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_y", 1295s # (gchar *) "y", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_n", 1295s # (gchar *) "n", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_q", 1295s # (gchar *) "q", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_i", 1295s # (gchar *) "i", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_u", 1295s # (gchar *) "u", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_x", 1295s # (gchar *) "x", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_t", 1295s # (gchar *) "t", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_d", 1295s # (gchar *) "d", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_s", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_o", 1295s # (gchar *) "o", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_g", 1295s # (gchar *) "g", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_h", 1295s # (gchar *) "h", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ay", 1295s # (gchar *) "ay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_as", 1295s # (gchar *) "as", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ao", 1295s # (gchar *) "ao", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_aay", 1295s # (gchar *) "aay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_asv", 1295s # (gchar *) "a{sv}", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1295s # { 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1295s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "MethodWithManyArgs", 1295s # NULL, 1295s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-method-with-many-args", 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1295s # { 1295s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.CallableIface", 1295s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-callable-iface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_callable_iface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_callable_iface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_callable_iface_method_marshal_method_with_many_args ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectCallableIface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.CallableIface. 1295s # */ 1295s # 1295s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * OrgProjectCallableIface::handle-method-with-many-args: 1295s # * @object: A #OrgProjectCallableIface. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-method-with-many-args", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # org_project_callable_iface_method_marshal_method_with_many_args, 1295s # G_TYPE_BOOLEAN, 1295s # 1, 1295s # G_TYPE_DBUS_METHOD_INVOCATION); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_method_with_many_args: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # org_project_callable_iface_call_method_with_many_args ( 1295s # OrgProjectCallableIface *proxy, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1295s # "MethodWithManyArgs", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_method_with_many_args_finish: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_callable_iface_call_method_with_many_args_finish ( 1295s # OrgProjectCallableIface *proxy, 1295s # gboolean *out_an_b, 1295s # guchar *out_an_y, 1295s # gint16 *out_an_n, 1295s # guint16 *out_an_q, 1295s # gint *out_an_i, 1295s # guint *out_an_u, 1295s # gint64 *out_an_x, 1295s # guint64 *out_an_t, 1295s # gdouble *out_an_d, 1295s # gchar **out_an_s, 1295s # gchar **out_an_o, 1295s # gchar **out_an_g, 1295s # GVariant **out_an_h, 1295s # gchar **out_an_ay, 1295s # gchar ***out_an_as, 1295s # gchar ***out_an_ao, 1295s # gchar ***out_an_aay, 1295s # GVariant **out_an_asv, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # out_an_b, 1295s # out_an_y, 1295s # out_an_n, 1295s # out_an_q, 1295s # out_an_i, 1295s # out_an_u, 1295s # out_an_x, 1295s # out_an_t, 1295s # out_an_d, 1295s # out_an_s, 1295s # out_an_o, 1295s # out_an_g, 1295s # out_an_h, 1295s # out_an_ay, 1295s # out_an_as, 1295s # out_an_ao, 1295s # out_an_aay, 1295s # out_an_asv); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_call_method_with_many_args_sync: 1295s # * @proxy: A #OrgProjectCallableIfaceProxy. 1295s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1295s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # org_project_callable_iface_call_method_with_many_args_sync ( 1295s # OrgProjectCallableIface *proxy, 1295s # gboolean *out_an_b, 1295s # guchar *out_an_y, 1295s # gint16 *out_an_n, 1295s # guint16 *out_an_q, 1295s # gint *out_an_i, 1295s # guint *out_an_u, 1295s # gint64 *out_an_x, 1295s # guint64 *out_an_t, 1295s # gdouble *out_an_d, 1295s # gchar **out_an_s, 1295s # gchar **out_an_o, 1295s # gchar **out_an_g, 1295s # GVariant **out_an_h, 1295s # gchar **out_an_ay, 1295s # gchar ***out_an_as, 1295s # gchar ***out_an_ao, 1295s # gchar ***out_an_aay, 1295s # GVariant **out_an_asv, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1295s # "MethodWithManyArgs", 1295s # g_variant_new ("()"), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # out_an_b, 1295s # out_an_y, 1295s # out_an_n, 1295s # out_an_q, 1295s # out_an_i, 1295s # out_an_u, 1295s # out_an_x, 1295s # out_an_t, 1295s # out_an_d, 1295s # out_an_s, 1295s # out_an_o, 1295s # out_an_g, 1295s # out_an_h, 1295s # out_an_ay, 1295s # out_an_as, 1295s # out_an_ao, 1295s # out_an_aay, 1295s # out_an_asv); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_complete_method_with_many_args: 1295s # * @object: A #OrgProjectCallableIface. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @an_b: Parameter to return. 1295s # * @an_y: Parameter to return. 1295s # * @an_n: Parameter to return. 1295s # * @an_q: Parameter to return. 1295s # * @an_i: Parameter to return. 1295s # * @an_u: Parameter to return. 1295s # * @an_x: Parameter to return. 1295s # * @an_t: Parameter to return. 1295s # * @an_d: Parameter to return. 1295s # * @an_s: Parameter to return. 1295s # * @an_o: Parameter to return. 1295s # * @an_g: Parameter to return. 1295s # * @an_h: Parameter to return. 1295s # * @an_ay: Parameter to return. 1295s # * @an_as: Parameter to return. 1295s # * @an_ao: Parameter to return. 1295s # * @an_aay: Parameter to return. 1295s # * @an_asv: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # org_project_callable_iface_complete_method_with_many_args ( 1295s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # gboolean an_b, 1295s # guchar an_y, 1295s # gint16 an_n, 1295s # guint16 an_q, 1295s # gint an_i, 1295s # guint an_u, 1295s # gint64 an_x, 1295s # guint64 an_t, 1295s # gdouble an_d, 1295s # const gchar *an_s, 1295s # const gchar *an_o, 1295s # const gchar *an_g, 1295s # GVariant *an_h, 1295s # const gchar *an_ay, 1295s # const gchar *const *an_as, 1295s # const gchar *const *an_ao, 1295s # const gchar *const *an_aay, 1295s # GVariant *an_asv) 1295s # { 1295s # g_dbus_method_invocation_return_value (invocation, 1295s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1295s # an_b, 1295s # an_y, 1295s # an_n, 1295s # an_q, 1295s # an_i, 1295s # an_u, 1295s # an_x, 1295s # an_t, 1295s # an_d, 1295s # an_s, 1295s # an_o, 1295s # an_g, 1295s # an_h, 1295s # an_ay, 1295s # an_as, 1295s # an_ao, 1295s # an_aay, 1295s # an_asv)); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceProxy: 1295s # * 1295s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectCallableIfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectCallableIfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_callable_iface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1295s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1295s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_callable_iface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_callable_iface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceSkeleton: 1295s # * 1295s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectCallableIfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectCallableIfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_callable_iface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _org_project_callable_iface_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _org_project_callable_iface_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1295s # { 1295s # _org_project_callable_iface_skeleton_handle_method_call, 1295s # _org_project_callable_iface_skeleton_handle_get_property, 1295s # _org_project_callable_iface_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return org_project_callable_iface_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_callable_iface_skeleton_finalize (GObject *object) 1295s # { 1295s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_callable_iface_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1295s # */ 1295s # OrgProjectCallableIface * 1295s # org_project_callable_iface_skeleton_new (void) 1295s # { 1295s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmptpk_4k1j 1295s # /tmp/tmptpk_4k1j/tmp66xdkus2.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptpk_4k1j/tmp66xdkus2.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1295s # (void *data1, 1295s # GDBusMethodInvocation *arg_method_invocation, 1295s # GUnixFDList *arg_fd_list, 1295s # const gchar *arg_greeting, 1295s # void *data2); 1295s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # gboolean v_return; 1295s # 1295s # g_return_if_fail (return_value != NULL); 1295s # g_return_if_fail (n_param_values == 4); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # v_return = 1295s # callback (data1, 1295s # g_marshal_value_peek_object (param_values + 1), 1295s # g_marshal_value_peek_object (param_values + 2), 1295s # g_marshal_value_peek_string (param_values + 3), 1295s # data2); 1295s # 1295s # g_value_set_boolean (return_value, v_return); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface test.FDPassing 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:TestFDPassing 1295s # * @title: TestFDPassing 1295s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1295s # * 1295s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1295s # */ 1295s # 1295s # /* ---- Introspection data for test.FDPassing ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "greeting", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1295s # { 1295s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "response", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1295s # { 1295s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "HelloFD", 1295s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1295s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "handle-hello-fd", 1295s # TRUE 1295s # }; 1295s # 1295s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1295s # { 1295s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "test.FDPassing", 1295s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1295s # NULL, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "test-fdpassing", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * test_fdpassing_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # test_fdpassing_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # test_fdpassing_method_marshal_hello_fd ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * TestFDPassing: 1295s # * 1295s # * Abstract interface type for the D-Bus interface test.FDPassing. 1295s # */ 1295s # 1295s # /** 1295s # * TestFDPassingIface: 1295s # * @parent_iface: The parent interface. 1295s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1295s # * 1295s # * Virtual table for the D-Bus interface test.FDPassing. 1295s # */ 1295s # 1295s # typedef TestFDPassingIface TestFDPassingInterface; 1295s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # test_fdpassing_default_init (TestFDPassingIface *iface) 1295s # { 1295s # /* GObject signals for incoming D-Bus method calls: */ 1295s # /** 1295s # * TestFDPassing::handle-hello-fd: 1295s # * @object: A #TestFDPassing. 1295s # * @invocation: A #GDBusMethodInvocation. 1295s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1295s # * @arg_greeting: Argument passed by remote caller. 1295s # * 1295s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1295s # * 1295s # * If 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. 1295s # * 1295s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1295s # */ 1295s # g_signal_new ("handle-hello-fd", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1295s # g_signal_accumulator_true_handled, 1295s # NULL, 1295s # test_fdpassing_method_marshal_hello_fd, 1295s # G_TYPE_BOOLEAN, 1295s # 3, 1295s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_call_hello_fd: 1295s # * @proxy: A #TestFDPassingProxy. 1295s # * @arg_greeting: Argument to pass with the method invocation. 1295s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1295s # * 1295s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1295s # */ 1295s # void 1295s # test_fdpassing_call_hello_fd ( 1295s # TestFDPassing *proxy, 1295s # const gchar *arg_greeting, 1295s # GUnixFDList *fd_list, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1295s # "HelloFD", 1295s # g_variant_new ("(s)", 1295s # arg_greeting), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # fd_list, 1295s # cancellable, 1295s # callback, 1295s # user_data); 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_call_hello_fd_finish: 1295s # * @proxy: A #TestFDPassingProxy. 1295s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # test_fdpassing_call_hello_fd_finish ( 1295s # TestFDPassing *proxy, 1295s # gchar **out_response, 1295s # GUnixFDList **out_fd_list, 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(s)", 1295s # out_response); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_call_hello_fd_sync: 1295s # * @proxy: A #TestFDPassingProxy. 1295s # * @arg_greeting: Argument to pass with the method invocation. 1295s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1295s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1295s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL. 1295s # * 1295s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1295s # * 1295s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1295s # * 1295s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1295s # */ 1295s # gboolean 1295s # test_fdpassing_call_hello_fd_sync ( 1295s # TestFDPassing *proxy, 1295s # const gchar *arg_greeting, 1295s # GUnixFDList *fd_list, 1295s # gchar **out_response, 1295s # GUnixFDList **out_fd_list, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GVariant *_ret; 1295s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1295s # "HelloFD", 1295s # g_variant_new ("(s)", 1295s # arg_greeting), 1295s # G_DBUS_CALL_FLAGS_NONE, 1295s # -1, 1295s # fd_list, 1295s # out_fd_list, 1295s # cancellable, 1295s # error); 1295s # if (_ret == NULL) 1295s # goto _out; 1295s # g_variant_get (_ret, 1295s # "(s)", 1295s # out_response); 1295s # g_variant_unref (_ret); 1295s # _out: 1295s # return _ret != NULL; 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_complete_hello_fd: 1295s # * @object: A #TestFDPassing. 1295s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1295s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1295s # * @response: Parameter to return. 1295s # * 1295s # * 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. 1295s # * 1295s # * This method will free @invocation, you cannot use it afterwards. 1295s # */ 1295s # void 1295s # test_fdpassing_complete_hello_fd ( 1295s # TestFDPassing *object G_GNUC_UNUSED, 1295s # GDBusMethodInvocation *invocation, 1295s # GUnixFDList *fd_list, 1295s # const gchar *response) 1295s # { 1295s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1295s # g_variant_new ("(s)", 1295s # response), 1295s # fd_list); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * TestFDPassingProxy: 1295s # * 1295s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * TestFDPassingProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #TestFDPassingProxy. 1295s # */ 1295s # 1295s # struct _TestFDPassingProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (TestFDPassingProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # test_fdpassing_proxy_finalize (GObject *object) 1295s # { 1295s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1295s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1295s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1295s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # test_fdpassing_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with test_fdpassing_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # TestFDPassing * 1295s # test_fdpassing_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return TEST_FDPASSING (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # TestFDPassing * 1295s # test_fdpassing_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return TEST_FDPASSING (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * test_fdpassing_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # test_fdpassing_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # TestFDPassing * 1295s # test_fdpassing_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return TEST_FDPASSING (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # TestFDPassing * 1295s # test_fdpassing_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return TEST_FDPASSING (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * TestFDPassingSkeleton: 1295s # * 1295s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * TestFDPassingSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #TestFDPassingSkeleton. 1295s # */ 1295s # 1295s # struct _TestFDPassingSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _test_fdpassing_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1295s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1295s # if (!g_value_get_boolean (&return_value)) 1295s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1295s # g_value_unset (&return_value); 1295s # for (n = 0; n < num_params + num_extra; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static GVariant * 1295s # _test_fdpassing_skeleton_handle_get_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # GVariant *ret; 1295s # ret = NULL; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # g_value_init (&value, pspec->value_type); 1295s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1295s # g_value_unset (&value); 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _test_fdpassing_skeleton_handle_set_property ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name G_GNUC_UNUSED, 1295s # const gchar *property_name, 1295s # GVariant *variant, 1295s # GError **error, 1295s # gpointer user_data) 1295s # { 1295s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1295s # GValue value = G_VALUE_INIT; 1295s # GParamSpec *pspec; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # gboolean ret; 1295s # ret = FALSE; 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1295s # g_assert (info != NULL); 1295s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1295s # if (pspec == NULL) 1295s # { 1295s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1295s # } 1295s # else 1295s # { 1295s # if (info->use_gvariant) 1295s # g_value_set_variant (&value, variant); 1295s # else 1295s # g_dbus_gvariant_to_gvalue (variant, &value); 1295s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1295s # g_value_unset (&value); 1295s # ret = TRUE; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1295s # { 1295s # _test_fdpassing_skeleton_handle_method_call, 1295s # _test_fdpassing_skeleton_handle_get_property, 1295s # _test_fdpassing_skeleton_handle_set_property, 1295s # {NULL} 1295s # }; 1295s # 1295s # static GDBusInterfaceInfo * 1295s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return test_fdpassing_interface_info (); 1295s # } 1295s # 1295s # static GDBusInterfaceVTable * 1295s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1295s # { 1295s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1295s # } 1295s # 1295s # static GVariant * 1295s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1295s # { 1295s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1295s # 1295s # GVariantBuilder builder; 1295s # guint n; 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1295s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #else 1295s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1295s # #endif 1295s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1295s # goto out; 1295s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1295s # { 1295s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1295s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1295s # { 1295s # GVariant *value; 1295s # 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); 1295s # if (value != NULL) 1295s # { 1295s # g_variant_take_ref (value); 1295s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1295s # g_variant_unref (value); 1295s # } 1295s # } 1295s # } 1295s # out: 1295s # return g_variant_builder_end (&builder); 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1295s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1295s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # test_fdpassing_skeleton_finalize (GObject *object) 1295s # { 1295s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1295s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1295s # if (skeleton->priv->changed_properties_idle_source != NULL) 1295s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1295s # g_main_context_unref (skeleton->priv->context); 1295s # g_mutex_clear (&skeleton->priv->lock); 1295s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1295s # #else 1295s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1295s # #endif 1295s # 1295s # g_mutex_init (&skeleton->priv->lock); 1295s # skeleton->priv->context = g_main_context_ref_thread_default (); 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusInterfaceSkeletonClass *skeleton_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1295s # 1295s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1295s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1295s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1295s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1295s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * test_fdpassing_skeleton_new: 1295s # * 1295s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1295s # * 1295s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1295s # */ 1295s # TestFDPassing * 1295s # test_fdpassing_skeleton_new (void) 1295s # { 1295s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1295s # } 1295s # Error: 1295s ok 15 __main__.TestCodegen.test_generate_rst 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmpz110apzh 1295s # /tmp/tmpz110apzh/tmp58qida9e.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz110apzh/tmp58qida9e.xml', '--generate-rst', 'test'] 1295s # Return code: 0 1295s # Output: 1295s # 1295s # Error: 1295s ok 16 __main__.TestCodegen.test_generate_rst_method 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmpupxl2oi9 1295s # /tmp/tmpupxl2oi9/tmp4pwnogh0.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpupxl2oi9/tmp4pwnogh0.xml', '--generate-rst', 'test'] 1295s # Return code: 0 1295s # Output: 1295s # 1295s # Error: 1295s ok 17 __main__.TestCodegen.test_generate_rst_property 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmpsl91b17j 1295s # /tmp/tmpsl91b17j/tmpgp1sb4rp.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsl91b17j/tmpgp1sb4rp.xml', '--generate-rst', 'test'] 1295s # Return code: 0 1295s # Output: 1295s # 1295s # Error: 1295s ok 18 __main__.TestCodegen.test_generate_rst_signal 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmpexg0c9y_ 1295s # /tmp/tmpexg0c9y_/tmpbz71fbni.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpexg0c9y_/tmpbz71fbni.xml', '--generate-rst', 'test'] 1295s # Return code: 0 1295s # Output: 1295s # 1295s # Error: 1295s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1295s # gdbus-codegen: /usr/bin/gdbus-codegen 1295s # tmpdir: /tmp/tmp4bgf42fb 1295s # /tmp/tmp4bgf42fb/tmpiam1sfaq.xml: 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # 1295s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4bgf42fb/tmpiam1sfaq.xml', '--output', '-', '--body'] 1295s # Return code: 0 1295s # Output: 1295s # /* 1295s # * This file is generated by gdbus-codegen, do not modify it. 1295s # * 1295s # * The license of this code is the same as for the D-Bus interface description 1295s # * it was derived from. Note that it links to GLib, so must comply with the 1295s # * LGPL linking clauses. 1295s # */ 1295s # 1295s # #ifdef HAVE_CONFIG_H 1295s # # include "config.h" 1295s # #endif 1295s # 1295s # #include 1295s # #ifdef G_OS_UNIX 1295s # # include 1295s # #endif 1295s # 1295s # #ifdef G_ENABLE_DEBUG 1295s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1295s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1295s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1295s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1295s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1295s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1295s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1295s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1295s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1295s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1295s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1295s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1295s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1295s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1295s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1295s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1295s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1295s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1295s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1295s # #else /* !G_ENABLE_DEBUG */ 1295s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1295s # * Do not access GValues directly in your code. Instead, use the 1295s # * g_value_get_*() functions 1295s # */ 1295s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1295s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1295s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1295s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1295s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1295s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1295s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1295s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1295s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1295s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1295s # #endif /* !G_ENABLE_DEBUG */ 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusArgInfo parent_struct; 1295s # gboolean use_gvariant; 1295s # } _ExtendedGDBusArgInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusMethodInfo parent_struct; 1295s # const gchar *signal_name; 1295s # gboolean pass_fdlist; 1295s # } _ExtendedGDBusMethodInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusSignalInfo parent_struct; 1295s # const gchar *signal_name; 1295s # } _ExtendedGDBusSignalInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusPropertyInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # guint use_gvariant : 1; 1295s # guint emits_changed_signal : 1; 1295s # } _ExtendedGDBusPropertyInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # GDBusInterfaceInfo parent_struct; 1295s # const gchar *hyphen_name; 1295s # } _ExtendedGDBusInterfaceInfo; 1295s # 1295s # typedef struct 1295s # { 1295s # const _ExtendedGDBusPropertyInfo *info; 1295s # guint prop_id; 1295s # GValue orig_value; /* the value before the change */ 1295s # } ChangedProperty; 1295s # 1295s # static void 1295s # _changed_property_free (ChangedProperty *data) 1295s # { 1295s # g_value_unset (&data->orig_value); 1295s # g_free (data); 1295s # } 1295s # 1295s # static gboolean 1295s # _g_strv_equal0 (gchar **a, gchar **b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # guint n; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # if (g_strv_length (a) != g_strv_length (b)) 1295s # goto out; 1295s # for (n = 0; a[n] != NULL; n++) 1295s # if (g_strcmp0 (a[n], b[n]) != 0) 1295s # goto out; 1295s # ret = TRUE; 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # static gboolean 1295s # _g_variant_equal0 (GVariant *a, GVariant *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # if (a == NULL && b == NULL) 1295s # { 1295s # ret = TRUE; 1295s # goto out; 1295s # } 1295s # if (a == NULL || b == NULL) 1295s # goto out; 1295s # ret = g_variant_equal (a, b); 1295s # out: 1295s # return ret; 1295s # } 1295s # 1295s # G_GNUC_UNUSED static gboolean 1295s # _g_value_equal (const GValue *a, const GValue *b) 1295s # { 1295s # gboolean ret = FALSE; 1295s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1295s # switch (G_VALUE_TYPE (a)) 1295s # { 1295s # case G_TYPE_BOOLEAN: 1295s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1295s # break; 1295s # case G_TYPE_UCHAR: 1295s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1295s # break; 1295s # case G_TYPE_INT: 1295s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1295s # break; 1295s # case G_TYPE_UINT: 1295s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1295s # break; 1295s # case G_TYPE_INT64: 1295s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1295s # break; 1295s # case G_TYPE_UINT64: 1295s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1295s # break; 1295s # case G_TYPE_DOUBLE: 1295s # { 1295s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1295s # gdouble da = g_value_get_double (a); 1295s # gdouble db = g_value_get_double (b); 1295s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1295s # } 1295s # break; 1295s # case G_TYPE_STRING: 1295s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1295s # break; 1295s # case G_TYPE_VARIANT: 1295s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1295s # break; 1295s # default: 1295s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1295s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1295s # else 1295s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1295s # break; 1295s # } 1295s # return ret; 1295s # } 1295s # 1295s # static void 1295s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1295s # GClosure *closure, 1295s # GValue *return_value G_GNUC_UNUSED, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint G_GNUC_UNUSED, 1295s # void *marshal_data) 1295s # { 1295s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1295s # (void *data1, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv, 1295s # void *data2); 1295s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1295s # GCClosure *cc = (GCClosure*) closure; 1295s # void *data1, *data2; 1295s # 1295s # g_return_if_fail (n_param_values == 19); 1295s # 1295s # if (G_CCLOSURE_SWAP_DATA (closure)) 1295s # { 1295s # data1 = closure->data; 1295s # data2 = g_value_peek_pointer (param_values + 0); 1295s # } 1295s # else 1295s # { 1295s # data1 = g_value_peek_pointer (param_values + 0); 1295s # data2 = closure->data; 1295s # } 1295s # 1295s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1295s # (marshal_data ? marshal_data : cc->callback); 1295s # 1295s # callback (data1, 1295s # g_marshal_value_peek_boolean (param_values + 1), 1295s # g_marshal_value_peek_uchar (param_values + 2), 1295s # g_marshal_value_peek_int (param_values + 3), 1295s # g_marshal_value_peek_uint (param_values + 4), 1295s # g_marshal_value_peek_int (param_values + 5), 1295s # g_marshal_value_peek_uint (param_values + 6), 1295s # g_marshal_value_peek_int64 (param_values + 7), 1295s # g_marshal_value_peek_uint64 (param_values + 8), 1295s # g_marshal_value_peek_double (param_values + 9), 1295s # g_marshal_value_peek_string (param_values + 10), 1295s # g_marshal_value_peek_string (param_values + 11), 1295s # g_marshal_value_peek_string (param_values + 12), 1295s # g_marshal_value_peek_variant (param_values + 13), 1295s # g_marshal_value_peek_string (param_values + 14), 1295s # g_marshal_value_peek_boxed (param_values + 15), 1295s # g_marshal_value_peek_boxed (param_values + 16), 1295s # g_marshal_value_peek_boxed (param_values + 17), 1295s # g_marshal_value_peek_variant (param_values + 18), 1295s # data2); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ 1295s # * Code for interface org.project.SignalingIface 1295s # * ------------------------------------------------------------------------ 1295s # */ 1295s # 1295s # /** 1295s # * SECTION:OrgProjectSignalingIface 1295s # * @title: OrgProjectSignalingIface 1295s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1295s # * 1295s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1295s # */ 1295s # 1295s # enum 1295s # { 1295s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1295s # }; 1295s # 1295s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1295s # 1295s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_b", 1295s # (gchar *) "b", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_y", 1295s # (gchar *) "y", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_n", 1295s # (gchar *) "n", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_q", 1295s # (gchar *) "q", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_i", 1295s # (gchar *) "i", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_u", 1295s # (gchar *) "u", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_x", 1295s # (gchar *) "x", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_t", 1295s # (gchar *) "t", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_d", 1295s # (gchar *) "d", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_s", 1295s # (gchar *) "s", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_o", 1295s # (gchar *) "o", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_g", 1295s # (gchar *) "g", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_h", 1295s # (gchar *) "h", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ay", 1295s # (gchar *) "ay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_as", 1295s # (gchar *) "as", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_ao", 1295s # (gchar *) "ao", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_aay", 1295s # (gchar *) "aay", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "an_asv", 1295s # (gchar *) "a{sv}", 1295s # NULL 1295s # }, 1295s # FALSE 1295s # }; 1295s # 1295s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1295s # { 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "SignalWithManyArgs", 1295s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1295s # NULL 1295s # }, 1295s # "signal-with-many-args" 1295s # }; 1295s # 1295s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1295s # { 1295s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1295s # NULL 1295s # }; 1295s # 1295s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1295s # { 1295s # { 1295s # -1, 1295s # (gchar *) "org.project.SignalingIface", 1295s # NULL, 1295s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1295s # NULL, 1295s # NULL 1295s # }, 1295s # "org-project-signaling-iface", 1295s # }; 1295s # 1295s # 1295s # /** 1295s # * org_project_signaling_iface_interface_info: 1295s # * 1295s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1295s # * 1295s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1295s # */ 1295s # GDBusInterfaceInfo * 1295s # org_project_signaling_iface_interface_info (void) 1295s # { 1295s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1295s # } 1295s # 1295s # /** 1295s # * org_project_signaling_iface_override_properties: 1295s # * @klass: The class structure for a #GObject derived class. 1295s # * @property_id_begin: The property id to assign to the first overridden property. 1295s # * 1295s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1295s # * The properties are overridden in the order they are defined. 1295s # * 1295s # * Returns: The last property id. 1295s # */ 1295s # guint 1295s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1295s # { 1295s # return property_id_begin - 1; 1295s # } 1295s # 1295s # 1295s # inline static void 1295s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1295s # GClosure *closure, 1295s # GValue *return_value, 1295s # unsigned int n_param_values, 1295s # const GValue *param_values, 1295s # void *invocation_hint, 1295s # void *marshal_data) 1295s # { 1295s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1295s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1295s # } 1295s # 1295s # 1295s # /** 1295s # * OrgProjectSignalingIface: 1295s # * 1295s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectSignalingIfaceIface: 1295s # * @parent_iface: The parent interface. 1295s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1295s # * 1295s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1295s # */ 1295s # 1295s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1295s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1295s # 1295s # static void 1295s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1295s # { 1295s # /* GObject signals for received D-Bus signals: */ 1295s # /** 1295s # * OrgProjectSignalingIface::signal-with-many-args: 1295s # * @object: A #OrgProjectSignalingIface. 1295s # * @arg_an_b: Argument. 1295s # * @arg_an_y: Argument. 1295s # * @arg_an_n: Argument. 1295s # * @arg_an_q: Argument. 1295s # * @arg_an_i: Argument. 1295s # * @arg_an_u: Argument. 1295s # * @arg_an_x: Argument. 1295s # * @arg_an_t: Argument. 1295s # * @arg_an_d: Argument. 1295s # * @arg_an_s: Argument. 1295s # * @arg_an_o: Argument. 1295s # * @arg_an_g: Argument. 1295s # * @arg_an_h: Argument. 1295s # * @arg_an_ay: Argument. 1295s # * @arg_an_as: Argument. 1295s # * @arg_an_ao: Argument. 1295s # * @arg_an_aay: Argument. 1295s # * @arg_an_asv: Argument. 1295s # * 1295s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1295s # * 1295s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1295s # */ 1295s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1295s # g_signal_new ("signal-with-many-args", 1295s # G_TYPE_FROM_INTERFACE (iface), 1295s # G_SIGNAL_RUN_LAST, 1295s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1295s # NULL, 1295s # NULL, 1295s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1295s # G_TYPE_NONE, 1295s # 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); 1295s # 1295s # } 1295s # 1295s # /** 1295s # * org_project_signaling_iface_emit_signal_with_many_args: 1295s # * @object: A #OrgProjectSignalingIface. 1295s # * @arg_an_b: Argument to pass with the signal. 1295s # * @arg_an_y: Argument to pass with the signal. 1295s # * @arg_an_n: Argument to pass with the signal. 1295s # * @arg_an_q: Argument to pass with the signal. 1295s # * @arg_an_i: Argument to pass with the signal. 1295s # * @arg_an_u: Argument to pass with the signal. 1295s # * @arg_an_x: Argument to pass with the signal. 1295s # * @arg_an_t: Argument to pass with the signal. 1295s # * @arg_an_d: Argument to pass with the signal. 1295s # * @arg_an_s: Argument to pass with the signal. 1295s # * @arg_an_o: Argument to pass with the signal. 1295s # * @arg_an_g: Argument to pass with the signal. 1295s # * @arg_an_h: Argument to pass with the signal. 1295s # * @arg_an_ay: Argument to pass with the signal. 1295s # * @arg_an_as: Argument to pass with the signal. 1295s # * @arg_an_ao: Argument to pass with the signal. 1295s # * @arg_an_aay: Argument to pass with the signal. 1295s # * @arg_an_asv: Argument to pass with the signal. 1295s # * 1295s # * Emits the "SignalWithManyArgs" D-Bus signal. 1295s # */ 1295s # void 1295s # org_project_signaling_iface_emit_signal_with_many_args ( 1295s # OrgProjectSignalingIface *object, 1295s # gboolean arg_an_b, 1295s # guchar arg_an_y, 1295s # gint16 arg_an_n, 1295s # guint16 arg_an_q, 1295s # gint arg_an_i, 1295s # guint arg_an_u, 1295s # gint64 arg_an_x, 1295s # guint64 arg_an_t, 1295s # gdouble arg_an_d, 1295s # const gchar *arg_an_s, 1295s # const gchar *arg_an_o, 1295s # const gchar *arg_an_g, 1295s # GVariant *arg_an_h, 1295s # const gchar *arg_an_ay, 1295s # const gchar *const *arg_an_as, 1295s # const gchar *const *arg_an_ao, 1295s # const gchar *const *arg_an_aay, 1295s # GVariant *arg_an_asv) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectSignalingIfaceProxy: 1295s # * 1295s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectSignalingIfaceProxyClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectSignalingIfaceProxy. 1295s # */ 1295s # 1295s # struct _OrgProjectSignalingIfaceProxyPrivate 1295s # { 1295s # GData *qdata; 1295s # }; 1295s # 1295s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1295s # 1295s # #else 1295s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1295s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1295s # 1295s # #endif 1295s # static void 1295s # org_project_signaling_iface_proxy_finalize (GObject *object) 1295s # { 1295s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1295s # g_datalist_clear (&proxy->priv->qdata); 1295s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1295s # } 1295s # 1295s # static void 1295s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1295s # guint prop_id G_GNUC_UNUSED, 1295s # const GValue *value G_GNUC_UNUSED, 1295s # GParamSpec *pspec G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # static void 1295s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1295s # const gchar *sender_name G_GNUC_UNUSED, 1295s # const gchar *signal_name, 1295s # GVariant *parameters) 1295s # { 1295s # _ExtendedGDBusSignalInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # gsize n; 1295s # guint signal_id; 1295s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1295s # if (info == NULL) 1295s # return; 1295s # num_params = g_variant_n_children (parameters); 1295s # paramv = g_new0 (GValue, num_params + 1); 1295s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1295s # g_value_set_object (¶mv[0], proxy); 1295s # g_variant_iter_init (&iter, parameters); 1295s # n = 1; 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1295s # g_signal_emitv (paramv, signal_id, 0, NULL); 1295s # for (n = 0; n < num_params + 1; n++) 1295s # g_value_unset (¶mv[n]); 1295s # g_free (paramv); 1295s # } 1295s # 1295s # static void 1295s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1295s # GVariant *changed_properties, 1295s # const gchar *const *invalidated_properties) 1295s # { 1295s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1295s # guint n; 1295s # const gchar *key; 1295s # GVariantIter *iter; 1295s # _ExtendedGDBusPropertyInfo *info; 1295s # g_variant_get (changed_properties, "a{sv}", &iter); 1295s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1295s # g_datalist_remove_data (&proxy->priv->qdata, key); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # g_variant_iter_free (iter); 1295s # for (n = 0; invalidated_properties[n] != NULL; n++) 1295s # { 1295s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1295s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1295s # if (info != NULL) 1295s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1295s # } 1295s # } 1295s # 1295s # static void 1295s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1295s # { 1295s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1295s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1295s # #else 1295s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1295s # #endif 1295s # 1295s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1295s # } 1295s # 1295s # static void 1295s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1295s # { 1295s # GObjectClass *gobject_class; 1295s # GDBusProxyClass *proxy_class; 1295s # 1295s # gobject_class = G_OBJECT_CLASS (klass); 1295s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1295s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1295s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1295s # 1295s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1295s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1295s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1295s # 1295s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1295s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1295s # #endif 1295s # } 1295s # 1295s # static void 1295s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1295s # { 1295s # } 1295s # 1295s # /** 1295s # * org_project_signaling_iface_proxy_new: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_signaling_iface_proxy_new ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_signaling_iface_proxy_new_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectSignalingIface * 1295s # org_project_signaling_iface_proxy_new_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_signaling_iface_proxy_new_sync: 1295s # * @connection: A #GDBusConnection. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectSignalingIface * 1295s # org_project_signaling_iface_proxy_new_sync ( 1295s # GDBusConnection *connection, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /** 1295s # * org_project_signaling_iface_proxy_new_for_bus: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1295s # * @user_data: User data to pass to @callback. 1295s # * 1295s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1295s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1295s # * 1295s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1295s # */ 1295s # void 1295s # org_project_signaling_iface_proxy_new_for_bus ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GAsyncReadyCallback callback, 1295s # gpointer user_data) 1295s # { 1295s # 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); 1295s # } 1295s # 1295s # /** 1295s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1295s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectSignalingIface * 1295s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1295s # GAsyncResult *res, 1295s # GError **error) 1295s # { 1295s # GObject *ret; 1295s # GObject *source_object; 1295s # source_object = g_async_result_get_source_object (res); 1295s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1295s # g_object_unref (source_object); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # /** 1295s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1295s # * @bus_type: A #GBusType. 1295s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1295s # * @name: A bus name (well-known or unique). 1295s # * @object_path: An object path. 1295s # * @cancellable: (nullable): A #GCancellable or %NULL. 1295s # * @error: Return location for error or %NULL 1295s # * 1295s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1295s # * 1295s # * The calling thread is blocked until a reply is received. 1295s # * 1295s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1295s # * 1295s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1295s # */ 1295s # OrgProjectSignalingIface * 1295s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1295s # GBusType bus_type, 1295s # GDBusProxyFlags flags, 1295s # const gchar *name, 1295s # const gchar *object_path, 1295s # GCancellable *cancellable, 1295s # GError **error) 1295s # { 1295s # GInitable *ret; 1295s # 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); 1295s # if (ret != NULL) 1295s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1295s # else 1295s # return NULL; 1295s # } 1295s # 1295s # 1295s # /* ------------------------------------------------------------------------ */ 1295s # 1295s # /** 1295s # * OrgProjectSignalingIfaceSkeleton: 1295s # * 1295s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1295s # */ 1295s # 1295s # /** 1295s # * OrgProjectSignalingIfaceSkeletonClass: 1295s # * @parent_class: The parent class. 1295s # * 1295s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1295s # */ 1295s # 1295s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1295s # { 1295s # GValue *properties; 1295s # GList *changed_properties; 1295s # GSource *changed_properties_idle_source; 1295s # GMainContext *context; 1295s # GMutex lock; 1295s # }; 1295s # 1295s # static void 1295s # _org_project_signaling_iface_skeleton_handle_method_call ( 1295s # GDBusConnection *connection G_GNUC_UNUSED, 1295s # const gchar *sender G_GNUC_UNUSED, 1295s # const gchar *object_path G_GNUC_UNUSED, 1295s # const gchar *interface_name, 1295s # const gchar *method_name, 1295s # GVariant *parameters, 1295s # GDBusMethodInvocation *invocation, 1295s # gpointer user_data) 1295s # { 1295s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1295s # _ExtendedGDBusMethodInfo *info; 1295s # GVariantIter iter; 1295s # GVariant *child; 1295s # GValue *paramv; 1295s # gsize num_params; 1295s # guint num_extra; 1295s # gsize n; 1295s # guint signal_id; 1295s # GValue return_value = G_VALUE_INIT; 1295s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1295s # g_assert (info != NULL); 1295s # num_params = g_variant_n_children (parameters); 1295s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1295s # n = 0; 1295s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1295s # g_value_set_object (¶mv[n++], skeleton); 1295s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1295s # g_value_set_object (¶mv[n++], invocation); 1295s # if (info->pass_fdlist) 1295s # { 1295s # #ifdef G_OS_UNIX 1295s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1295s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1295s # #else 1295s # g_assert_not_reached (); 1295s # #endif 1295s # } 1295s # g_variant_iter_init (&iter, parameters); 1295s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1295s # { 1295s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1295s # if (arg_info->use_gvariant) 1295s # { 1295s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1295s # g_value_set_variant (¶mv[n], child); 1295s # n++; 1295s # } 1295s # else 1295s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1295s # g_variant_unref (child); 1295s # } 1295s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1295s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1296s # OrgProjectSignalingIface *object, 1296s # gboolean arg_an_b, 1296s # guchar arg_an_y, 1296s # gint16 arg_an_n, 1296s # guint16 arg_an_q, 1296s # gint arg_an_i, 1296s # guint arg_an_u, 1296s # gint64 arg_an_x, 1296s # guint64 arg_an_t, 1296s # gdouble arg_an_d, 1296s # const gchar *arg_an_s, 1296s # const gchar *arg_an_o, 1296s # const gchar *arg_an_g, 1296s # GVariant *arg_an_h, 1296s # const gchar *arg_an_ay, 1296s # const gchar *const *arg_an_as, 1296s # const gchar *const *arg_an_ao, 1296s # const gchar *const *arg_an_aay, 1296s # GVariant *arg_an_asv) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1296s # arg_an_b, 1296s # arg_an_y, 1296s # arg_an_n, 1296s # arg_an_q, 1296s # arg_an_i, 1296s # arg_an_u, 1296s # arg_an_x, 1296s # arg_an_t, 1296s # arg_an_d, 1296s # arg_an_s, 1296s # arg_an_o, 1296s # arg_an_g, 1296s # arg_an_h, 1296s # arg_an_ay, 1296s # arg_an_as, 1296s # arg_an_ao, 1296s # arg_an_aay, 1296s # arg_an_asv)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmphdmjfezl 1296s # /tmp/tmphdmjfezl/tmpx3q07nwf.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphdmjfezl/tmpx3q07nwf.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static void 1296s # _g_dbus_codegen_marshal_VOID__INT64 ( 1296s # GClosure *closure, 1296s # GValue *return_value G_GNUC_UNUSED, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint G_GNUC_UNUSED, 1296s # void *marshal_data) 1296s # { 1296s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1296s # (void *data1, 1296s # gint64 arg_an_x, 1296s # void *data2); 1296s # _GDbusCodegenMarshalVoid_Int64Func callback; 1296s # GCClosure *cc = (GCClosure*) closure; 1296s # void *data1, *data2; 1296s # 1296s # g_return_if_fail (n_param_values == 2); 1296s # 1296s # if (G_CCLOSURE_SWAP_DATA (closure)) 1296s # { 1296s # data1 = closure->data; 1296s # data2 = g_value_peek_pointer (param_values + 0); 1296s # } 1296s # else 1296s # { 1296s # data1 = g_value_peek_pointer (param_values + 0); 1296s # data2 = closure->data; 1296s # } 1296s # 1296s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1296s # (marshal_data ? marshal_data : cc->callback); 1296s # 1296s # callback (data1, 1296s # g_marshal_value_peek_int64 (param_values + 1), 1296s # data2); 1296s # } 1296s # 1296s # static void 1296s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1296s # GClosure *closure, 1296s # GValue *return_value G_GNUC_UNUSED, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint G_GNUC_UNUSED, 1296s # void *marshal_data) 1296s # { 1296s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1296s # (void *data1, 1296s # guint64 arg_an_t, 1296s # void *data2); 1296s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1296s # GCClosure *cc = (GCClosure*) closure; 1296s # void *data1, *data2; 1296s # 1296s # g_return_if_fail (n_param_values == 2); 1296s # 1296s # if (G_CCLOSURE_SWAP_DATA (closure)) 1296s # { 1296s # data1 = closure->data; 1296s # data2 = g_value_peek_pointer (param_values + 0); 1296s # } 1296s # else 1296s # { 1296s # data1 = g_value_peek_pointer (param_values + 0); 1296s # data2 = closure->data; 1296s # } 1296s # 1296s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1296s # (marshal_data ? marshal_data : cc->callback); 1296s # 1296s # callback (data1, 1296s # g_marshal_value_peek_uint64 (param_values + 1), 1296s # data2); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "NoArgSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "no-arg-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_b", 1296s # (gchar *) "b", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalB", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-b" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_y", 1296s # (gchar *) "y", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalY", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-y" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_n", 1296s # (gchar *) "n", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalN", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-n" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_q", 1296s # (gchar *) "q", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalQ", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-q" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_i", 1296s # (gchar *) "i", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalI", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-i" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_u", 1296s # (gchar *) "u", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalU", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-u" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_x", 1296s # (gchar *) "x", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalX", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-x" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_t", 1296s # (gchar *) "t", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalT", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-t" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_d", 1296s # (gchar *) "d", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalD", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-d" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_s", 1296s # (gchar *) "s", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalS", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-s" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_o", 1296s # (gchar *) "o", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalO", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-o" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_g", 1296s # (gchar *) "g", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalG", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-g" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_h", 1296s # (gchar *) "h", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalH", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-h" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_ay", 1296s # (gchar *) "ay", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAY", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-ay" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_as", 1296s # (gchar *) "as", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAS", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-as" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_ao", 1296s # (gchar *) "ao", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAO", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-ao" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_aay", 1296s # (gchar *) "aay", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAAY", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-aay" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_asv", 1296s # (gchar *) "a{sv}", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalASV", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-asv" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__UCHAR (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__INT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__UINT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__INT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__UINT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__DOUBLE (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__STRING (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__STRING (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__STRING (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VARIANT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__STRING (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__BOXED (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__BOXED (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__BOXED (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VARIANT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1296s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1296s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1296s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1296s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1296s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1296s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1296s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1296s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1296s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1296s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1296s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1296s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1296s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1296s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1296s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1296s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1296s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1296s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::no-arg-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1296s # g_signal_new ("no-arg-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-b: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_b: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1296s # g_signal_new ("single-arg-signal-b", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_BOOLEAN); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-y: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_y: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1296s # g_signal_new ("single-arg-signal-y", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_UCHAR); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-n: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_n: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1296s # g_signal_new ("single-arg-signal-n", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_INT); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-q: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_q: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1296s # g_signal_new ("single-arg-signal-q", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_UINT); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-i: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_i: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1296s # g_signal_new ("single-arg-signal-i", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_INT); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-u: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_u: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1296s # g_signal_new ("single-arg-signal-u", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_UINT); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-x: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_x: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1296s # g_signal_new ("single-arg-signal-x", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_INT64); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-t: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_t: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1296s # g_signal_new ("single-arg-signal-t", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_UINT64); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-d: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_d: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1296s # g_signal_new ("single-arg-signal-d", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_DOUBLE); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-s: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_s: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1296s # g_signal_new ("single-arg-signal-s", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRING); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-o: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_o: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1296s # g_signal_new ("single-arg-signal-o", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRING); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-g: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_g: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1296s # g_signal_new ("single-arg-signal-g", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRING); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-h: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_h: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1296s # g_signal_new ("single-arg-signal-h", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_VARIANT); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-ay: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_ay: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1296s # g_signal_new ("single-arg-signal-ay", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRING); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-as: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_as: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1296s # g_signal_new ("single-arg-signal-as", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRV); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-ao: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_ao: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1296s # g_signal_new ("single-arg-signal-ao", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRV); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-aay: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_aay: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1296s # g_signal_new ("single-arg-signal-aay", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRV); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-asv: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_asv: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1296s # g_signal_new ("single-arg-signal-asv", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_VARIANT); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_no_arg_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "NoArgSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_no_arg_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_b: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_b: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalB" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_b ( 1296s # OrgProjectSignalingIface *object, 1296s # gboolean arg_an_b) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_y: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_y: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalY" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_y ( 1296s # OrgProjectSignalingIface *object, 1296s # guchar arg_an_y) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_n: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_n: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalN" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_n ( 1296s # OrgProjectSignalingIface *object, 1296s # gint16 arg_an_n) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_q: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_q: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalQ" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_q ( 1296s # OrgProjectSignalingIface *object, 1296s # guint16 arg_an_q) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_i: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_i: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalI" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_i ( 1296s # OrgProjectSignalingIface *object, 1296s # gint arg_an_i) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_u: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_u: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalU" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_u ( 1296s # OrgProjectSignalingIface *object, 1296s # guint arg_an_u) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_x: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_x: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalX" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_x ( 1296s # OrgProjectSignalingIface *object, 1296s # gint64 arg_an_x) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_t: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_t: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalT" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_t ( 1296s # OrgProjectSignalingIface *object, 1296s # guint64 arg_an_t) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_d: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_d: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalD" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_d ( 1296s # OrgProjectSignalingIface *object, 1296s # gdouble arg_an_d) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_s: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_s: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalS" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_s ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_an_s) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_o: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_o: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalO" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_o ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_an_o) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_g: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_g: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalG" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_g ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_an_g) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_h: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_h: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalH" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_h ( 1296s # OrgProjectSignalingIface *object, 1296s # GVariant *arg_an_h) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_ay: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAY" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_an_ay) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_as: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_as: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAS" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_as ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_an_as) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_ao: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAO" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_an_ao) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_aay: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_an_aay) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_asv: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalASV" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1296s # OrgProjectSignalingIface *object, 1296s # GVariant *arg_an_asv) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1296s # OrgProjectSignalingIface *object, 1296s # gboolean arg_an_b) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1296s # arg_an_b)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1296s # OrgProjectSignalingIface *object, 1296s # guchar arg_an_y) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1296s # arg_an_y)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1296s # OrgProjectSignalingIface *object, 1296s # gint16 arg_an_n) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1296s # arg_an_n)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1296s # OrgProjectSignalingIface *object, 1296s # guint16 arg_an_q) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1296s # arg_an_q)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1296s # OrgProjectSignalingIface *object, 1296s # gint arg_an_i) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1296s # arg_an_i)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1296s # OrgProjectSignalingIface *object, 1296s # guint arg_an_u) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1296s # arg_an_u)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1296s # OrgProjectSignalingIface *object, 1296s # gint64 arg_an_x) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1296s # arg_an_x)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1296s # OrgProjectSignalingIface *object, 1296s # guint64 arg_an_t) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1296s # arg_an_t)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1296s # OrgProjectSignalingIface *object, 1296s # gdouble arg_an_d) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1296s # arg_an_d)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_an_s) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1296s # arg_an_s)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_an_o) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1296s # arg_an_o)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_an_g) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1296s # arg_an_g)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1296s # OrgProjectSignalingIface *object, 1296s # GVariant *arg_an_h) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1296s # arg_an_h)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_an_ay) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1296s # arg_an_ay)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_an_as) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1296s # arg_an_as)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_an_ao) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1296s # arg_an_ao)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_an_aay) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1296s # arg_an_aay)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1296s # OrgProjectSignalingIface *object, 1296s # GVariant *arg_an_asv) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1296s # arg_an_asv)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1296s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1296s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1296s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1296s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1296s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1296s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1296s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1296s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1296s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1296s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1296s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1296s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1296s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1296s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1296s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1296s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1296s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1296s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpbi1q5s_z 1296s # /tmp/tmpbi1q5s_z/tmp2ipsm1k2.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbi1q5s_z/tmp2ipsm1k2.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.UsefulInterface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectUsefulInterface 1296s # * @title: OrgProjectUsefulInterface 1296s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.UsefulInterface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-useful-interface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_useful_interface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_useful_interface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_useful_interface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_useful_interface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectUsefulInterface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectUsefulInterfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1296s # */ 1296s # 1296s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectUsefulInterface::simple-signal: 1296s # * @object: A #OrgProjectUsefulInterface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_useful_interface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_useful_interface_emit_simple_signal: 1296s # * @object: A #OrgProjectUsefulInterface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_useful_interface_emit_simple_signal ( 1296s # OrgProjectUsefulInterface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectUsefulInterfaceProxy: 1296s # * 1296s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectUsefulInterfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectUsefulInterfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_useful_interface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1296s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1296s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_useful_interface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_useful_interface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # g_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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_useful_interface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectUsefulInterface * 1296s # org_project_useful_interface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_useful_interface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectUsefulInterface * 1296s # org_project_useful_interface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_useful_interface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_useful_interface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # g_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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_useful_interface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectUsefulInterface * 1296s # org_project_useful_interface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_useful_interface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectUsefulInterface * 1296s # org_project_useful_interface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectUsefulInterfaceSkeleton: 1296s # * 1296s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectUsefulInterfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_useful_interface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_useful_interface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_useful_interface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1296s # { 1296s # _org_project_useful_interface_skeleton_handle_method_call, 1296s # _org_project_useful_interface_skeleton_handle_get_property, 1296s # _org_project_useful_interface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_useful_interface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_useful_interface_on_signal_simple_signal ( 1296s # OrgProjectUsefulInterface *object) 1296s # { 1296s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_useful_interface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1296s # } 1296s # 1296s # /** 1296s # * org_project_useful_interface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectUsefulInterface * 1296s # org_project_useful_interface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.OtherIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectOtherIface 1296s # * @title: OrgProjectOtherIface 1296s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.OtherIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.OtherIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-other-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_other_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_other_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_other_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectOtherIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectOtherIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.OtherIface. 1296s # */ 1296s # 1296s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectOtherIface::simple-signal: 1296s # * @object: A #OrgProjectOtherIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_other_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectOtherIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_other_iface_emit_simple_signal ( 1296s # OrgProjectOtherIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectOtherIfaceProxy: 1296s # * 1296s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectOtherIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectOtherIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectOtherIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_other_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_other_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectOtherIface * 1296s # org_project_other_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_OTHER_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectOtherIface * 1296s # org_project_other_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_OTHER_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_other_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_other_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectOtherIface * 1296s # org_project_other_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_OTHER_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectOtherIface * 1296s # org_project_other_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_OTHER_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectOtherIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectOtherIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectOtherIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_other_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_other_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_other_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1296s # { 1296s # _org_project_other_iface_skeleton_handle_method_call, 1296s # _org_project_other_iface_skeleton_handle_get_property, 1296s # _org_project_other_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_other_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_other_iface_on_signal_simple_signal ( 1296s # OrgProjectOtherIface *object) 1296s # { 1296s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_other_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectOtherIface * 1296s # org_project_other_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpucjjd1yj 1296s # /tmp/tmpucjjd1yj/tmpcvtqkx4v.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpucjjd1yj/tmpcvtqkx4v.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.OtherSignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectOtherSignalingIface 1296s # * @title: OrgProjectOtherSignalingIface 1296s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.OtherSignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-other-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_other_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectOtherSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectOtherSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectOtherSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectOtherSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectOtherSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_other_signaling_iface_emit_simple_signal ( 1296s # OrgProjectOtherSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectOtherSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectOtherSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_other_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectOtherSignalingIface * 1296s # org_project_other_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectOtherSignalingIface * 1296s # org_project_other_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_other_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectOtherSignalingIface * 1296s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectOtherSignalingIface * 1296s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectOtherSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_other_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectOtherSignalingIface *object) 1296s # { 1296s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1296s # } 1296s # 1296s # /** 1296s # * org_project_other_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectOtherSignalingIface * 1296s # org_project_other_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmp99eb9hgc 1296s # /tmp/tmp99eb9hgc/tmp1rbrzc4w.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmp1rbrzc4w.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_b", 1296s # (gchar *) "b", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalB", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-b" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-b: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_b: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1296s # g_signal_new ("single-arg-signal-b", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_BOOLEAN); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_b: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_b: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalB" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_b ( 1296s # OrgProjectSignalingIface *object, 1296s # gboolean arg_arg_b) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1296s # OrgProjectSignalingIface *object, 1296s # gboolean arg_arg_b) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1296s # arg_arg_b)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmp1n48kr_8.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmp1n48kr_8.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_y", 1296s # (gchar *) "y", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalY", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-y" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__UCHAR (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-y: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_y: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1296s # g_signal_new ("single-arg-signal-y", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_UCHAR); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_y: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_y: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalY" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_y ( 1296s # OrgProjectSignalingIface *object, 1296s # guchar arg_arg_y) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1296s # OrgProjectSignalingIface *object, 1296s # guchar arg_arg_y) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1296s # arg_arg_y)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpmhe2uhrw.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpmhe2uhrw.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_n", 1296s # (gchar *) "n", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalN", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-n" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__INT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-n: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_n: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1296s # g_signal_new ("single-arg-signal-n", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_INT); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_n: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_n: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalN" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_n ( 1296s # OrgProjectSignalingIface *object, 1296s # gint16 arg_arg_n) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1296s # OrgProjectSignalingIface *object, 1296s # gint16 arg_arg_n) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1296s # arg_arg_n)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmp4l9nrp15.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmp4l9nrp15.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_q", 1296s # (gchar *) "q", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalQ", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-q" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__UINT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-q: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_q: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1296s # g_signal_new ("single-arg-signal-q", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_UINT); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_q: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_q: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalQ" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_q ( 1296s # OrgProjectSignalingIface *object, 1296s # guint16 arg_arg_q) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1296s # OrgProjectSignalingIface *object, 1296s # guint16 arg_arg_q) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1296s # arg_arg_q)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpvgirzciy.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpvgirzciy.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_i", 1296s # (gchar *) "i", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalI", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-i" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__INT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-i: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_i: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1296s # g_signal_new ("single-arg-signal-i", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_INT); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_i: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_i: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalI" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_i ( 1296s # OrgProjectSignalingIface *object, 1296s # gint arg_arg_i) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1296s # OrgProjectSignalingIface *object, 1296s # gint arg_arg_i) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1296s # arg_arg_i)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpcncldb2a.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpcncldb2a.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_u", 1296s # (gchar *) "u", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalU", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-u" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__UINT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-u: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_u: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1296s # g_signal_new ("single-arg-signal-u", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_UINT); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_u: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_u: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalU" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_u ( 1296s # OrgProjectSignalingIface *object, 1296s # guint arg_arg_u) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1296s # OrgProjectSignalingIface *object, 1296s # guint arg_arg_u) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1296s # arg_arg_u)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpbd0_3z5i.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpbd0_3z5i.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static void 1296s # _g_dbus_codegen_marshal_VOID__INT64 ( 1296s # GClosure *closure, 1296s # GValue *return_value G_GNUC_UNUSED, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint G_GNUC_UNUSED, 1296s # void *marshal_data) 1296s # { 1296s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1296s # (void *data1, 1296s # gint64 arg_arg_x, 1296s # void *data2); 1296s # _GDbusCodegenMarshalVoid_Int64Func callback; 1296s # GCClosure *cc = (GCClosure*) closure; 1296s # void *data1, *data2; 1296s # 1296s # g_return_if_fail (n_param_values == 2); 1296s # 1296s # if (G_CCLOSURE_SWAP_DATA (closure)) 1296s # { 1296s # data1 = closure->data; 1296s # data2 = g_value_peek_pointer (param_values + 0); 1296s # } 1296s # else 1296s # { 1296s # data1 = g_value_peek_pointer (param_values + 0); 1296s # data2 = closure->data; 1296s # } 1296s # 1296s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1296s # (marshal_data ? marshal_data : cc->callback); 1296s # 1296s # callback (data1, 1296s # g_marshal_value_peek_int64 (param_values + 1), 1296s # data2); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_x", 1296s # (gchar *) "x", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalX", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-x" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-x: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_x: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1296s # g_signal_new ("single-arg-signal-x", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_INT64); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_x: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_x: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalX" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_x ( 1296s # OrgProjectSignalingIface *object, 1296s # gint64 arg_arg_x) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1296s # OrgProjectSignalingIface *object, 1296s # gint64 arg_arg_x) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1296s # arg_arg_x)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpjmkrkhuc.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpjmkrkhuc.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static void 1296s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1296s # GClosure *closure, 1296s # GValue *return_value G_GNUC_UNUSED, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint G_GNUC_UNUSED, 1296s # void *marshal_data) 1296s # { 1296s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1296s # (void *data1, 1296s # guint64 arg_arg_t, 1296s # void *data2); 1296s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1296s # GCClosure *cc = (GCClosure*) closure; 1296s # void *data1, *data2; 1296s # 1296s # g_return_if_fail (n_param_values == 2); 1296s # 1296s # if (G_CCLOSURE_SWAP_DATA (closure)) 1296s # { 1296s # data1 = closure->data; 1296s # data2 = g_value_peek_pointer (param_values + 0); 1296s # } 1296s # else 1296s # { 1296s # data1 = g_value_peek_pointer (param_values + 0); 1296s # data2 = closure->data; 1296s # } 1296s # 1296s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1296s # (marshal_data ? marshal_data : cc->callback); 1296s # 1296s # callback (data1, 1296s # g_marshal_value_peek_uint64 (param_values + 1), 1296s # data2); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_t", 1296s # (gchar *) "t", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalT", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-t" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-t: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_t: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1296s # g_signal_new ("single-arg-signal-t", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_UINT64); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_t: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_t: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalT" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_t ( 1296s # OrgProjectSignalingIface *object, 1296s # guint64 arg_arg_t) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1296s # OrgProjectSignalingIface *object, 1296s # guint64 arg_arg_t) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1296s # arg_arg_t)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpfuh2dwuy.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpfuh2dwuy.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_d", 1296s # (gchar *) "d", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalD", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-d" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__DOUBLE (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-d: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_d: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1296s # g_signal_new ("single-arg-signal-d", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_DOUBLE); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_d: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_d: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalD" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_d ( 1296s # OrgProjectSignalingIface *object, 1296s # gdouble arg_arg_d) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1296s # OrgProjectSignalingIface *object, 1296s # gdouble arg_arg_d) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1296s # arg_arg_d)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmp2rrkcbgt.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmp2rrkcbgt.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_s", 1296s # (gchar *) "s", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalS", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-s" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__STRING (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-s: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_s: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1296s # g_signal_new ("single-arg-signal-s", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRING); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_s: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_s: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalS" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_s ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_arg_s) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_arg_s) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1296s # arg_arg_s)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpr2ah_rs8.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpr2ah_rs8.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_o", 1296s # (gchar *) "o", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalO", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-o" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__STRING (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-o: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_o: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1296s # g_signal_new ("single-arg-signal-o", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRING); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_o: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_o: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalO" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_o ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_arg_o) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_arg_o) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1296s # arg_arg_o)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmp9owcm1n2.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmp9owcm1n2.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_g", 1296s # (gchar *) "g", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalG", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-g" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__STRING (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-g: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_g: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1296s # g_signal_new ("single-arg-signal-g", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRING); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_g: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_g: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalG" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_g ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_arg_g) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_arg_g) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1296s # arg_arg_g)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmp9o39i8rr.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmp9o39i8rr.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_h", 1296s # (gchar *) "h", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalH", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-h" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VARIANT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-h: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_h: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1296s # g_signal_new ("single-arg-signal-h", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_VARIANT); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_h: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_h: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalH" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_h ( 1296s # OrgProjectSignalingIface *object, 1296s # GVariant *arg_arg_h) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1296s # OrgProjectSignalingIface *object, 1296s # GVariant *arg_arg_h) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1296s # arg_arg_h)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpi9bsckil.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpi9bsckil.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_ay", 1296s # (gchar *) "ay", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAy", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-ay" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__STRING (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-ay: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_ay: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1296s # g_signal_new ("single-arg-signal-ay", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRING); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_ay: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAy" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_arg_ay) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *arg_arg_ay) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1296s # arg_arg_ay)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmph5uwuopi.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmph5uwuopi.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_as", 1296s # (gchar *) "as", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAs", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-as" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__BOXED (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-as: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_as: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1296s # g_signal_new ("single-arg-signal-as", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRV); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_as: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_as: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAs" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_as ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_arg_as) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_arg_as) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1296s # arg_arg_as)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmp6am3get5.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmp6am3get5.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_ao", 1296s # (gchar *) "ao", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAo", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-ao" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__BOXED (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-ao: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_ao: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1296s # g_signal_new ("single-arg-signal-ao", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRV); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_ao: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAo" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_arg_ao) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_arg_ao) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1296s # arg_arg_ao)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpsprxqd7h.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpsprxqd7h.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_aay", 1296s # (gchar *) "aay", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAay", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-aay" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__BOXED (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-aay: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_aay: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1296s # g_signal_new ("single-arg-signal-aay", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_STRV); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_aay: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAay" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_arg_aay) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1296s # OrgProjectSignalingIface *object, 1296s # const gchar *const *arg_arg_aay) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1296s # arg_arg_aay)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s # 1296s # /tmp/tmp99eb9hgc/tmpwx9tp5o_.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp99eb9hgc/tmpwx9tp5o_.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "arg_asv", 1296s # (gchar *) "a{sv}", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SingleArgSignalAsv", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "single-arg-signal-asv" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VARIANT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::single-arg-signal-asv: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_asv: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1296s # g_signal_new ("single-arg-signal-asv", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1296s # G_TYPE_NONE, 1296s # 1, G_TYPE_VARIANT); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_arg_asv: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1296s # OrgProjectSignalingIface *object, 1296s # GVariant *arg_arg_asv) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1296s # OrgProjectSignalingIface *object, 1296s # GVariant *arg_arg_asv) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1296s # arg_arg_asv)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpg95zvy84 1296s # /tmp/tmpg95zvy84/tmpey21tozr.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg95zvy84/tmpey21tozr.xml', '--output', '-', '--body'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifdef HAVE_CONFIG_H 1296s # # include "config.h" 1296s # #endif 1296s # 1296s # #include 1296s # #ifdef G_OS_UNIX 1296s # # include 1296s # #endif 1296s # 1296s # #ifdef G_ENABLE_DEBUG 1296s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1296s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1296s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1296s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1296s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1296s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1296s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1296s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1296s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1296s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1296s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1296s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1296s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1296s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1296s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1296s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1296s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1296s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1296s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1296s # #else /* !G_ENABLE_DEBUG */ 1296s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1296s # * Do not access GValues directly in your code. Instead, use the 1296s # * g_value_get_*() functions 1296s # */ 1296s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1296s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1296s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1296s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1296s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1296s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1296s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1296s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1296s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1296s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1296s # #endif /* !G_ENABLE_DEBUG */ 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusArgInfo parent_struct; 1296s # gboolean use_gvariant; 1296s # } _ExtendedGDBusArgInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusMethodInfo parent_struct; 1296s # const gchar *signal_name; 1296s # gboolean pass_fdlist; 1296s # } _ExtendedGDBusMethodInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusSignalInfo parent_struct; 1296s # const gchar *signal_name; 1296s # } _ExtendedGDBusSignalInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusPropertyInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # guint use_gvariant : 1; 1296s # guint emits_changed_signal : 1; 1296s # } _ExtendedGDBusPropertyInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # GDBusInterfaceInfo parent_struct; 1296s # const gchar *hyphen_name; 1296s # } _ExtendedGDBusInterfaceInfo; 1296s # 1296s # typedef struct 1296s # { 1296s # const _ExtendedGDBusPropertyInfo *info; 1296s # guint prop_id; 1296s # GValue orig_value; /* the value before the change */ 1296s # } ChangedProperty; 1296s # 1296s # static void 1296s # _changed_property_free (ChangedProperty *data) 1296s # { 1296s # g_value_unset (&data->orig_value); 1296s # g_free (data); 1296s # } 1296s # 1296s # static gboolean 1296s # _g_strv_equal0 (gchar **a, gchar **b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # guint n; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # if (g_strv_length (a) != g_strv_length (b)) 1296s # goto out; 1296s # for (n = 0; a[n] != NULL; n++) 1296s # if (g_strcmp0 (a[n], b[n]) != 0) 1296s # goto out; 1296s # ret = TRUE; 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _g_variant_equal0 (GVariant *a, GVariant *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # if (a == NULL && b == NULL) 1296s # { 1296s # ret = TRUE; 1296s # goto out; 1296s # } 1296s # if (a == NULL || b == NULL) 1296s # goto out; 1296s # ret = g_variant_equal (a, b); 1296s # out: 1296s # return ret; 1296s # } 1296s # 1296s # G_GNUC_UNUSED static gboolean 1296s # _g_value_equal (const GValue *a, const GValue *b) 1296s # { 1296s # gboolean ret = FALSE; 1296s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1296s # switch (G_VALUE_TYPE (a)) 1296s # { 1296s # case G_TYPE_BOOLEAN: 1296s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1296s # break; 1296s # case G_TYPE_UCHAR: 1296s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1296s # break; 1296s # case G_TYPE_INT: 1296s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1296s # break; 1296s # case G_TYPE_UINT: 1296s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1296s # break; 1296s # case G_TYPE_INT64: 1296s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1296s # break; 1296s # case G_TYPE_UINT64: 1296s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1296s # break; 1296s # case G_TYPE_DOUBLE: 1296s # { 1296s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1296s # gdouble da = g_value_get_double (a); 1296s # gdouble db = g_value_get_double (b); 1296s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1296s # } 1296s # break; 1296s # case G_TYPE_STRING: 1296s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1296s # break; 1296s # case G_TYPE_VARIANT: 1296s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1296s # break; 1296s # default: 1296s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1296s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1296s # else 1296s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1296s # break; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static void 1296s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1296s # GClosure *closure, 1296s # GValue *return_value G_GNUC_UNUSED, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint G_GNUC_UNUSED, 1296s # void *marshal_data) 1296s # { 1296s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1296s # (void *data1, 1296s # gboolean arg_an_b, 1296s # guchar arg_an_y, 1296s # gint16 arg_an_n, 1296s # guint16 arg_an_q, 1296s # gint arg_an_i, 1296s # guint arg_an_u, 1296s # gint64 arg_an_x, 1296s # guint64 arg_an_t, 1296s # gdouble arg_an_d, 1296s # const gchar *arg_an_s, 1296s # const gchar *arg_an_o, 1296s # const gchar *arg_an_g, 1296s # GVariant *arg_an_h, 1296s # const gchar *arg_an_ay, 1296s # const gchar *const *arg_an_as, 1296s # const gchar *const *arg_an_ao, 1296s # const gchar *const *arg_an_aay, 1296s # GVariant *arg_an_asv, 1296s # void *data2); 1296s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1296s # GCClosure *cc = (GCClosure*) closure; 1296s # void *data1, *data2; 1296s # 1296s # g_return_if_fail (n_param_values == 19); 1296s # 1296s # if (G_CCLOSURE_SWAP_DATA (closure)) 1296s # { 1296s # data1 = closure->data; 1296s # data2 = g_value_peek_pointer (param_values + 0); 1296s # } 1296s # else 1296s # { 1296s # data1 = g_value_peek_pointer (param_values + 0); 1296s # data2 = closure->data; 1296s # } 1296s # 1296s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1296s # (marshal_data ? marshal_data : cc->callback); 1296s # 1296s # callback (data1, 1296s # g_marshal_value_peek_boolean (param_values + 1), 1296s # g_marshal_value_peek_uchar (param_values + 2), 1296s # g_marshal_value_peek_int (param_values + 3), 1296s # g_marshal_value_peek_uint (param_values + 4), 1296s # g_marshal_value_peek_int (param_values + 5), 1296s # g_marshal_value_peek_uint (param_values + 6), 1296s # g_marshal_value_peek_int64 (param_values + 7), 1296s # g_marshal_value_peek_uint64 (param_values + 8), 1296s # g_marshal_value_peek_double (param_values + 9), 1296s # g_marshal_value_peek_string (param_values + 10), 1296s # g_marshal_value_peek_string (param_values + 11), 1296s # g_marshal_value_peek_string (param_values + 12), 1296s # g_marshal_value_peek_variant (param_values + 13), 1296s # g_marshal_value_peek_string (param_values + 14), 1296s # g_marshal_value_peek_boxed (param_values + 15), 1296s # g_marshal_value_peek_boxed (param_values + 16), 1296s # g_marshal_value_peek_boxed (param_values + 17), 1296s # g_marshal_value_peek_variant (param_values + 18), 1296s # data2); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ 1296s # * Code for interface org.project.SignalingIface 1296s # * ------------------------------------------------------------------------ 1296s # */ 1296s # 1296s # /** 1296s # * SECTION:OrgProjectSignalingIface 1296s # * @title: OrgProjectSignalingIface 1296s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1296s # * 1296s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1296s # */ 1296s # 1296s # enum 1296s # { 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1296s # }; 1296s # 1296s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1296s # 1296s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SimpleSignal", 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "simple-signal" 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_b", 1296s # (gchar *) "b", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_y", 1296s # (gchar *) "y", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_n", 1296s # (gchar *) "n", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_q", 1296s # (gchar *) "q", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_i", 1296s # (gchar *) "i", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_u", 1296s # (gchar *) "u", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_x", 1296s # (gchar *) "x", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_t", 1296s # (gchar *) "t", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_d", 1296s # (gchar *) "d", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_s", 1296s # (gchar *) "s", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_o", 1296s # (gchar *) "o", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_g", 1296s # (gchar *) "g", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_h", 1296s # (gchar *) "h", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_ay", 1296s # (gchar *) "ay", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_as", 1296s # (gchar *) "as", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_ao", 1296s # (gchar *) "ao", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_aay", 1296s # (gchar *) "aay", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "an_asv", 1296s # (gchar *) "a{sv}", 1296s # NULL 1296s # }, 1296s # FALSE 1296s # }; 1296s # 1296s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "SignalWithManyArgs", 1296s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1296s # NULL 1296s # }, 1296s # "signal-with-many-args" 1296s # }; 1296s # 1296s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1296s # { 1296s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1296s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1296s # NULL 1296s # }; 1296s # 1296s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1296s # { 1296s # { 1296s # -1, 1296s # (gchar *) "org.project.SignalingIface", 1296s # NULL, 1296s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1296s # NULL, 1296s # NULL 1296s # }, 1296s # "org-project-signaling-iface", 1296s # }; 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_interface_info: 1296s # * 1296s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1296s # * 1296s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1296s # */ 1296s # GDBusInterfaceInfo * 1296s # org_project_signaling_iface_interface_info (void) 1296s # { 1296s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_override_properties: 1296s # * @klass: The class structure for a #GObject derived class. 1296s # * @property_id_begin: The property id to assign to the first overridden property. 1296s # * 1296s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1296s # * The properties are overridden in the order they are defined. 1296s # * 1296s # * Returns: The last property id. 1296s # */ 1296s # guint 1296s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1296s # { 1296s # return property_id_begin - 1; 1296s # } 1296s # 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_simple_signal ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # g_cclosure_marshal_VOID__VOID (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # inline static void 1296s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1296s # GClosure *closure, 1296s # GValue *return_value, 1296s # unsigned int n_param_values, 1296s # const GValue *param_values, 1296s # void *invocation_hint, 1296s # void *marshal_data) 1296s # { 1296s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1296s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1296s # } 1296s # 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface: 1296s # * 1296s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceIface: 1296s # * @parent_iface: The parent interface. 1296s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1296s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1296s # * 1296s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1296s # */ 1296s # 1296s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1296s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1296s # 1296s # static void 1296s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # /* GObject signals for received D-Bus signals: */ 1296s # /** 1296s # * OrgProjectSignalingIface::simple-signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1296s # g_signal_new ("simple-signal", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_simple_signal, 1296s # G_TYPE_NONE, 1296s # 0); 1296s # 1296s # /** 1296s # * OrgProjectSignalingIface::signal-with-many-args: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_b: Argument. 1296s # * @arg_an_y: Argument. 1296s # * @arg_an_n: Argument. 1296s # * @arg_an_q: Argument. 1296s # * @arg_an_i: Argument. 1296s # * @arg_an_u: Argument. 1296s # * @arg_an_x: Argument. 1296s # * @arg_an_t: Argument. 1296s # * @arg_an_d: Argument. 1296s # * @arg_an_s: Argument. 1296s # * @arg_an_o: Argument. 1296s # * @arg_an_g: Argument. 1296s # * @arg_an_h: Argument. 1296s # * @arg_an_ay: Argument. 1296s # * @arg_an_as: Argument. 1296s # * @arg_an_ao: Argument. 1296s # * @arg_an_aay: Argument. 1296s # * @arg_an_asv: Argument. 1296s # * 1296s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1296s # * 1296s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1296s # */ 1296s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1296s # g_signal_new ("signal-with-many-args", 1296s # G_TYPE_FROM_INTERFACE (iface), 1296s # G_SIGNAL_RUN_LAST, 1296s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1296s # NULL, 1296s # NULL, 1296s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1296s # G_TYPE_NONE, 1296s # 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); 1296s # 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_simple_signal: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * 1296s # * Emits the "SimpleSignal" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_emit_signal_with_many_args: 1296s # * @object: A #OrgProjectSignalingIface. 1296s # * @arg_an_b: Argument to pass with the signal. 1296s # * @arg_an_y: Argument to pass with the signal. 1296s # * @arg_an_n: Argument to pass with the signal. 1296s # * @arg_an_q: Argument to pass with the signal. 1296s # * @arg_an_i: Argument to pass with the signal. 1296s # * @arg_an_u: Argument to pass with the signal. 1296s # * @arg_an_x: Argument to pass with the signal. 1296s # * @arg_an_t: Argument to pass with the signal. 1296s # * @arg_an_d: Argument to pass with the signal. 1296s # * @arg_an_s: Argument to pass with the signal. 1296s # * @arg_an_o: Argument to pass with the signal. 1296s # * @arg_an_g: Argument to pass with the signal. 1296s # * @arg_an_h: Argument to pass with the signal. 1296s # * @arg_an_ay: Argument to pass with the signal. 1296s # * @arg_an_as: Argument to pass with the signal. 1296s # * @arg_an_ao: Argument to pass with the signal. 1296s # * @arg_an_aay: Argument to pass with the signal. 1296s # * @arg_an_asv: Argument to pass with the signal. 1296s # * 1296s # * Emits the "SignalWithManyArgs" D-Bus signal. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_emit_signal_with_many_args ( 1296s # OrgProjectSignalingIface *object, 1296s # gboolean arg_an_b, 1296s # guchar arg_an_y, 1296s # gint16 arg_an_n, 1296s # guint16 arg_an_q, 1296s # gint arg_an_i, 1296s # guint arg_an_u, 1296s # gint64 arg_an_x, 1296s # guint64 arg_an_t, 1296s # gdouble arg_an_d, 1296s # const gchar *arg_an_s, 1296s # const gchar *arg_an_o, 1296s # const gchar *arg_an_g, 1296s # GVariant *arg_an_h, 1296s # const gchar *arg_an_ay, 1296s # const gchar *const *arg_an_as, 1296s # const gchar *const *arg_an_ao, 1296s # const gchar *const *arg_an_aay, 1296s # GVariant *arg_an_asv) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxy: 1296s # * 1296s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceProxyClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceProxy. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceProxyPrivate 1296s # { 1296s # GData *qdata; 1296s # }; 1296s # 1296s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_proxy_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1296s # g_datalist_clear (&proxy->priv->qdata); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1296s # guint prop_id G_GNUC_UNUSED, 1296s # const GValue *value G_GNUC_UNUSED, 1296s # GParamSpec *pspec G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1296s # const gchar *sender_name G_GNUC_UNUSED, 1296s # const gchar *signal_name, 1296s # GVariant *parameters) 1296s # { 1296s # _ExtendedGDBusSignalInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # gsize n; 1296s # guint signal_id; 1296s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1296s # if (info == NULL) 1296s # return; 1296s # num_params = g_variant_n_children (parameters); 1296s # paramv = g_new0 (GValue, num_params + 1); 1296s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[0], proxy); 1296s # g_variant_iter_init (&iter, parameters); 1296s # n = 1; 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_signal_emitv (paramv, signal_id, 0, NULL); 1296s # for (n = 0; n < num_params + 1; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1296s # GVariant *changed_properties, 1296s # const gchar *const *invalidated_properties) 1296s # { 1296s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1296s # guint n; 1296s # const gchar *key; 1296s # GVariantIter *iter; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # g_variant_get (changed_properties, "a{sv}", &iter); 1296s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1296s # g_datalist_remove_data (&proxy->priv->qdata, key); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # g_variant_iter_free (iter); 1296s # for (n = 0; invalidated_properties[n] != NULL; n++) 1296s # { 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1296s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1296s # if (info != NULL) 1296s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1296s # } 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1296s # #else 1296s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1296s # #endif 1296s # 1296s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusProxyClass *proxy_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1296s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1296s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1296s # 1296s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1296s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1296s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_sync: 1296s # * @connection: A #GDBusConnection. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_sync ( 1296s # GDBusConnection *connection, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1296s # * @user_data: User data to pass to @callback. 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1296s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1296s # */ 1296s # void 1296s # org_project_signaling_iface_proxy_new_for_bus ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GAsyncReadyCallback callback, 1296s # gpointer user_data) 1296s # { 1296s # 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); 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1296s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1296s # GAsyncResult *res, 1296s # GError **error) 1296s # { 1296s # GObject *ret; 1296s # GObject *source_object; 1296s # source_object = g_async_result_get_source_object (res); 1296s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1296s # g_object_unref (source_object); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1296s # * @bus_type: A #GBusType. 1296s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1296s # * @name: A bus name (well-known or unique). 1296s # * @object_path: An object path. 1296s # * @cancellable: (nullable): A #GCancellable or %NULL. 1296s # * @error: Return location for error or %NULL 1296s # * 1296s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1296s # * 1296s # * The calling thread is blocked until a reply is received. 1296s # * 1296s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1296s # GBusType bus_type, 1296s # GDBusProxyFlags flags, 1296s # const gchar *name, 1296s # const gchar *object_path, 1296s # GCancellable *cancellable, 1296s # GError **error) 1296s # { 1296s # GInitable *ret; 1296s # 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); 1296s # if (ret != NULL) 1296s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1296s # else 1296s # return NULL; 1296s # } 1296s # 1296s # 1296s # /* ------------------------------------------------------------------------ */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeleton: 1296s # * 1296s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1296s # */ 1296s # 1296s # /** 1296s # * OrgProjectSignalingIfaceSkeletonClass: 1296s # * @parent_class: The parent class. 1296s # * 1296s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1296s # */ 1296s # 1296s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1296s # { 1296s # GValue *properties; 1296s # GList *changed_properties; 1296s # GSource *changed_properties_idle_source; 1296s # GMainContext *context; 1296s # GMutex lock; 1296s # }; 1296s # 1296s # static void 1296s # _org_project_signaling_iface_skeleton_handle_method_call ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name, 1296s # const gchar *method_name, 1296s # GVariant *parameters, 1296s # GDBusMethodInvocation *invocation, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # _ExtendedGDBusMethodInfo *info; 1296s # GVariantIter iter; 1296s # GVariant *child; 1296s # GValue *paramv; 1296s # gsize num_params; 1296s # guint num_extra; 1296s # gsize n; 1296s # guint signal_id; 1296s # GValue return_value = G_VALUE_INIT; 1296s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1296s # g_assert (info != NULL); 1296s # num_params = g_variant_n_children (parameters); 1296s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1296s # n = 0; 1296s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_set_object (¶mv[n++], skeleton); 1296s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1296s # g_value_set_object (¶mv[n++], invocation); 1296s # if (info->pass_fdlist) 1296s # { 1296s # #ifdef G_OS_UNIX 1296s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1296s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1296s # #else 1296s # g_assert_not_reached (); 1296s # #endif 1296s # } 1296s # g_variant_iter_init (&iter, parameters); 1296s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1296s # { 1296s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1296s # if (arg_info->use_gvariant) 1296s # { 1296s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1296s # g_value_set_variant (¶mv[n], child); 1296s # n++; 1296s # } 1296s # else 1296s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1296s # g_variant_unref (child); 1296s # } 1296s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1296s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1296s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1296s # if (!g_value_get_boolean (&return_value)) 1296s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1296s # g_value_unset (&return_value); 1296s # for (n = 0; n < num_params + num_extra; n++) 1296s # g_value_unset (¶mv[n]); 1296s # g_free (paramv); 1296s # } 1296s # 1296s # static GVariant * 1296s # _org_project_signaling_iface_skeleton_handle_get_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # GVariant *ret; 1296s # ret = NULL; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # g_value_init (&value, pspec->value_type); 1296s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1296s # g_value_unset (&value); 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static gboolean 1296s # _org_project_signaling_iface_skeleton_handle_set_property ( 1296s # GDBusConnection *connection G_GNUC_UNUSED, 1296s # const gchar *sender G_GNUC_UNUSED, 1296s # const gchar *object_path G_GNUC_UNUSED, 1296s # const gchar *interface_name G_GNUC_UNUSED, 1296s # const gchar *property_name, 1296s # GVariant *variant, 1296s # GError **error, 1296s # gpointer user_data) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1296s # GValue value = G_VALUE_INIT; 1296s # GParamSpec *pspec; 1296s # _ExtendedGDBusPropertyInfo *info; 1296s # gboolean ret; 1296s # ret = FALSE; 1296s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1296s # g_assert (info != NULL); 1296s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1296s # if (pspec == NULL) 1296s # { 1296s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1296s # } 1296s # else 1296s # { 1296s # if (info->use_gvariant) 1296s # g_value_set_variant (&value, variant); 1296s # else 1296s # g_dbus_gvariant_to_gvalue (variant, &value); 1296s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1296s # g_value_unset (&value); 1296s # ret = TRUE; 1296s # } 1296s # return ret; 1296s # } 1296s # 1296s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1296s # { 1296s # _org_project_signaling_iface_skeleton_handle_method_call, 1296s # _org_project_signaling_iface_skeleton_handle_get_property, 1296s # _org_project_signaling_iface_skeleton_handle_set_property, 1296s # {NULL} 1296s # }; 1296s # 1296s # static GDBusInterfaceInfo * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return org_project_signaling_iface_interface_info (); 1296s # } 1296s # 1296s # static GDBusInterfaceVTable * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1296s # { 1296s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1296s # } 1296s # 1296s # static GVariant * 1296s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1296s # 1296s # GVariantBuilder builder; 1296s # guint n; 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1296s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #else 1296s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1296s # #endif 1296s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1296s # goto out; 1296s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1296s # { 1296s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1296s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1296s # { 1296s # GVariant *value; 1296s # 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); 1296s # if (value != NULL) 1296s # { 1296s # g_variant_take_ref (value); 1296s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1296s # g_variant_unref (value); 1296s # } 1296s # } 1296s # } 1296s # out: 1296s # return g_variant_builder_end (&builder); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1296s # { 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_simple_signal ( 1296s # OrgProjectSignalingIface *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void 1296s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1296s # OrgProjectSignalingIface *object, 1296s # gboolean arg_an_b, 1296s # guchar arg_an_y, 1296s # gint16 arg_an_n, 1296s # guint16 arg_an_q, 1296s # gint arg_an_i, 1296s # guint arg_an_u, 1296s # gint64 arg_an_x, 1296s # guint64 arg_an_t, 1296s # gdouble arg_an_d, 1296s # const gchar *arg_an_s, 1296s # const gchar *arg_an_o, 1296s # const gchar *arg_an_g, 1296s # GVariant *arg_an_h, 1296s # const gchar *arg_an_ay, 1296s # const gchar *const *arg_an_as, 1296s # const gchar *const *arg_an_ao, 1296s # const gchar *const *arg_an_aay, 1296s # GVariant *arg_an_asv) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # 1296s # GList *connections, *l; 1296s # GVariant *signal_variant; 1296s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1296s # 1296s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1296s # arg_an_b, 1296s # arg_an_y, 1296s # arg_an_n, 1296s # arg_an_q, 1296s # arg_an_i, 1296s # arg_an_u, 1296s # arg_an_x, 1296s # arg_an_t, 1296s # arg_an_d, 1296s # arg_an_s, 1296s # arg_an_o, 1296s # arg_an_g, 1296s # arg_an_h, 1296s # arg_an_ay, 1296s # arg_an_as, 1296s # arg_an_ao, 1296s # arg_an_aay, 1296s # arg_an_asv)); 1296s # for (l = connections; l != NULL; l = l->next) 1296s # { 1296s # GDBusConnection *connection = l->data; 1296s # g_dbus_connection_emit_signal (connection, 1296s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1296s # signal_variant, NULL); 1296s # } 1296s # g_variant_unref (signal_variant); 1296s # g_list_free_full (connections, g_object_unref); 1296s # } 1296s # 1296s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #else 1296s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1296s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1296s # 1296s # #endif 1296s # static void 1296s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1296s # { 1296s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1296s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1296s # if (skeleton->priv->changed_properties_idle_source != NULL) 1296s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1296s # g_main_context_unref (skeleton->priv->context); 1296s # g_mutex_clear (&skeleton->priv->lock); 1296s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1296s # { 1296s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1296s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1296s # #else 1296s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1296s # #endif 1296s # 1296s # g_mutex_init (&skeleton->priv->lock); 1296s # skeleton->priv->context = g_main_context_ref_thread_default (); 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1296s # { 1296s # GObjectClass *gobject_class; 1296s # GDBusInterfaceSkeletonClass *skeleton_class; 1296s # 1296s # gobject_class = G_OBJECT_CLASS (klass); 1296s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1296s # 1296s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1296s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1296s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1296s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1296s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1296s # 1296s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1296s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1296s # #endif 1296s # } 1296s # 1296s # static void 1296s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1296s # { 1296s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1296s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1296s # } 1296s # 1296s # /** 1296s # * org_project_signaling_iface_skeleton_new: 1296s # * 1296s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1296s # * 1296s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1296s # */ 1296s # OrgProjectSignalingIface * 1296s # org_project_signaling_iface_skeleton_new (void) 1296s # { 1296s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1296s # } 1296s # Error: 1296s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpxk1op5ny 1296s # /tmp/tmpxk1op5ny/tmps51wte_g.xml: 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxk1op5ny/tmps51wte_g.xml', '--generate-docbook', 'test'] 1296s # Return code: 0 1296s # Output: 1296s # 1296s # Error: 1296s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpwawf571_ 1296s # /tmp/tmpwawf571_/tmp2zw2vh7s.xml: 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwawf571_/tmp2zw2vh7s.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1296s # Return code: 1 1296s # Output: 1296s # 1296s # Error: 1296s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 1296s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpd2w7vxas 1296s # /tmp/tmpd2w7vxas/tmpdof78rkk.xml: 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd2w7vxas/tmpdof78rkk.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifndef __STDOUT__ 1296s # #define __STDOUT__ 1296s # 1296s # #include 1296s # 1296s # G_BEGIN_DECLS 1296s # 1296s # 1296s # G_END_DECLS 1296s # 1296s # #endif /* __STDOUT__ */ 1296s # Error: 1296s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmp3wa4fwd6 1296s # /tmp/tmp3wa4fwd6/tmp069cins2.xml: 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3wa4fwd6/tmp069cins2.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1296s # Return code: 1 1296s # Output: 1296s # 1296s # Error: 1296s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 1296s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpzj8cyd01 1296s # /tmp/tmpzj8cyd01/tmpq7yd16ho.xml: 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzj8cyd01/tmpq7yd16ho.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifndef __STDOUT__ 1296s # #define __STDOUT__ 1296s # 1296s # #include 1296s # 1296s # G_BEGIN_DECLS 1296s # 1296s # 1296s # G_END_DECLS 1296s # 1296s # #endif /* __STDOUT__ */ 1296s # Error: 1296s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpdqq44hn1 1296s # /tmp/tmpdqq44hn1/tmpx3ayl9uj.xml: 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdqq44hn1/tmpx3ayl9uj.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifndef __STDOUT__ 1296s # #define __STDOUT__ 1296s # 1296s # #include 1296s # 1296s # G_BEGIN_DECLS 1296s # 1296s # 1296s # G_END_DECLS 1296s # 1296s # #endif /* __STDOUT__ */ 1296s # Error: 1296s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpj5s8mjsz 1296s # /tmp/tmpj5s8mjsz/tmpekbz3mhm.xml: 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj5s8mjsz/tmpekbz3mhm.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1296s # Return code: 1 1296s # Output: 1296s # 1296s # Error: 1296s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 1296s # Executing: glib/codegen.py.test 1296s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1296s # gdbus-codegen: /usr/bin/gdbus-codegen 1296s # tmpdir: /tmp/tmpbj6hj7sa 1296s # /tmp/tmpbj6hj7sa/tmp2cf5e1jr.xml: 1296s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbj6hj7sa/tmp2cf5e1jr.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1296s # Return code: 0 1296s # Output: 1296s # /* 1296s # * This file is generated by gdbus-codegen, do not modify it. 1296s # * 1296s # * The license of this code is the same as for the D-Bus interface description 1296s # * it was derived from. Note that it links to GLib, so must comply with the 1296s # * LGPL linking clauses. 1296s # */ 1296s # 1296s # #ifndef __STDOUT__ 1296s # #define __STDOUT__ 1296s # 1296s # #include 1296s # 1296s # G_BEGIN_DECLS 1296s # 1296s # 1296s # G_END_DECLS 1296s # 1296s # #endif /* __STDOUT__ */ 1296s # Error: 1297s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1297s # gdbus-codegen: /usr/bin/gdbus-codegen 1297s # tmpdir: /tmp/tmp31f9datj 1297s # /tmp/tmp31f9datj/tmp_i1ta1d9.xml: 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp31f9datj/tmp_i1ta1d9.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1297s # Return code: 1 1297s # Output: 1297s # 1297s # Error: 1297s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 1297s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1297s # gdbus-codegen: /usr/bin/gdbus-codegen 1297s # tmpdir: /tmp/tmpjhrn7d4k 1297s # /tmp/tmpjhrn7d4k/tmpmhi5wjps.xml: 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjhrn7d4k/tmpmhi5wjps.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1297s # Return code: 0 1297s # Output: 1297s # /* 1297s # * This file is generated by gdbus-codegen, do not modify it. 1297s # * 1297s # * The license of this code is the same as for the D-Bus interface description 1297s # * it was derived from. Note that it links to GLib, so must comply with the 1297s # * LGPL linking clauses. 1297s # */ 1297s # 1297s # #ifndef __STDOUT__ 1297s # #define __STDOUT__ 1297s # 1297s # #include 1297s # 1297s # G_BEGIN_DECLS 1297s # 1297s # 1297s # G_END_DECLS 1297s # 1297s # #endif /* __STDOUT__ */ 1297s # Error: 1297s ok 35 __main__.TestCodegen.test_help 1297s # gdbus-codegen: /usr/bin/gdbus-codegen 1297s # tmpdir: /tmp/tmp581aajai 1297s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1297s # Return code: 0 1297s # Output: 1297s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1297s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1297s # [--c-generate-autocleanup {none,objects,all}] 1297s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1297s # [--generate-rst OUTFILES] [--pragma-once] 1297s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1297s # [--glib-min-required VERSION] 1297s # [--glib-max-allowed VERSION] 1297s # [--symbol-decorator SYMBOL_DECORATOR] 1297s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1297s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1297s # [--generate-c-code OUTFILES | --header | --body | 1297s # --interface-info-header | --interface-info-body] 1297s # [--output FILE | --output-directory OUTDIR] 1297s # FILE [FILE ...] 1297s # 1297s # D-Bus code and documentation generator 1297s # 1297s # positional arguments: 1297s # FILE D-Bus introspection XML file 1297s # 1297s # options: 1297s # -h, --help show this help message and exit 1297s # --interface-prefix PREFIX 1297s # String to strip from D-Bus interface names for code 1297s # and docs 1297s # --c-namespace NAMESPACE 1297s # The namespace to use for generated C code 1297s # --c-generate-object-manager 1297s # Generate a GDBusObjectManagerClient subclass when 1297s # generating C code 1297s # --c-generate-autocleanup {none,objects,all} 1297s # Generate autocleanup support 1297s # --generate-docbook OUTFILES 1297s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1297s # --generate-md OUTFILES 1297s # Generate Markdown in OUTFILES-org.Project.IFace.md 1297s # --generate-rst OUTFILES 1297s # Generate reStructuredText in OUTFILES- 1297s # org.Project.IFace.rst 1297s # --pragma-once Use "pragma once" as the inclusion guard 1297s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1297s # Add annotation (may be used several times) 1297s # --glib-min-required VERSION 1297s # Minimum version of GLib to be supported by the 1297s # outputted code (default: 2.30) 1297s # --glib-max-allowed VERSION 1297s # Maximum version of GLib to be used by the outputted 1297s # code (default: current GLib version) 1297s # --symbol-decorator SYMBOL_DECORATOR 1297s # Macro used to decorate a symbol in the outputted 1297s # header, possibly to export symbols 1297s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1297s # Additional header required for decorator specified by 1297s # --symbol-decorator 1297s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1297s # Additional define required for decorator specified by 1297s # --symbol-decorator 1297s # --generate-c-code OUTFILES 1297s # Generate C code in OUTFILES.[ch] 1297s # --header Generate C headers 1297s # --body Generate C code 1297s # --interface-info-header 1297s # Generate GDBusInterfaceInfo C header 1297s # --interface-info-body 1297s # Generate GDBusInterfaceInfo C code 1297s # --output FILE Write output into the specified file 1297s # --output-directory OUTDIR 1297s # Location to output generated files 1297s # Error: 1297s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1297s # gdbus-codegen: /usr/bin/gdbus-codegen 1297s # tmpdir: /tmp/tmpozqa0ykb 1297s # /tmp/tmpozqa0ykb/tmpfbhyb4s_.xml: 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpozqa0ykb/tmpfbhyb4s_.xml', '--generate-rst', 'test'] 1297s # Return code: 0 1297s # Output: 1297s # 1297s # Error: 1297s # 1297s # /tmp/tmpozqa0ykb/tmptojmp94c.xml: 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpozqa0ykb/tmptojmp94c.xml', '--generate-md', 'test'] 1297s # Return code: 0 1297s # Output: 1297s # 1297s # Error: 1297s # 1297s # /tmp/tmpozqa0ykb/tmpxz37kwrx.xml: 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpozqa0ykb/tmpxz37kwrx.xml', '--generate-docbook', 'test'] 1297s # Return code: 0 1297s # Output: 1297s # 1297s # Error: 1297s ok 37 __main__.TestCodegen.test_no_args 1297s # gdbus-codegen: /usr/bin/gdbus-codegen 1297s # tmpdir: /tmp/tmpw5ly58aq 1297s # Running: ['/usr/bin/gdbus-codegen'] 1297s # Return code: 2 1297s # Output: 1297s # 1297s # Error: 1297s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1297s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1297s # [--c-generate-autocleanup {none,objects,all}] 1297s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1297s # [--generate-rst OUTFILES] [--pragma-once] 1297s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1297s # [--glib-min-required VERSION] 1297s # [--glib-max-allowed VERSION] 1297s # [--symbol-decorator SYMBOL_DECORATOR] 1297s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1297s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1297s # [--generate-c-code OUTFILES | --header | --body | 1297s # --interface-info-header | --interface-info-body] 1297s # [--output FILE | --output-directory OUTDIR] 1297s # FILE [FILE ...] 1297s # gdbus-codegen: error: the following arguments are required: FILE 1297s ok 38 __main__.TestCodegen.test_reproducible 1297s # gdbus-codegen: /usr/bin/gdbus-codegen 1297s # tmpdir: /tmp/tmpwjh79agf 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwjh79agf/tmpjjx6rsje1.xml', '/tmp/tmpwjh79agf/tmp2cb5_xjr2.xml', '--output', '-', '--header'] 1297s # Return code: 0 1297s # Output: 1297s # /* 1297s # * This file is generated by gdbus-codegen, do not modify it. 1297s # * 1297s # * The license of this code is the same as for the D-Bus interface description 1297s # * it was derived from. Note that it links to GLib, so must comply with the 1297s # * LGPL linking clauses. 1297s # */ 1297s # 1297s # #ifndef __STDOUT__ 1297s # #define __STDOUT__ 1297s # 1297s # #include 1297s # 1297s # G_BEGIN_DECLS 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # /* Declarations for org.project.Bar.Frobnicator */ 1297s # 1297s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1297s # 1297s # struct _OrgProjectBarFrobnicator; 1297s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1297s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1297s # 1297s # struct _OrgProjectBarFrobnicatorIface 1297s # { 1297s # GTypeInterface parent_iface; 1297s # 1297s # gboolean (*handle_random_method) ( 1297s # OrgProjectBarFrobnicator *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # }; 1297s # 1297s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1297s # 1297s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1297s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1297s # 1297s # 1297s # /* D-Bus method call completion functions: */ 1297s # void org_project_bar_frobnicator_complete_random_method ( 1297s # OrgProjectBarFrobnicator *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # 1297s # 1297s # /* D-Bus method calls: */ 1297s # void org_project_bar_frobnicator_call_random_method ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1297s # 1297s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1297s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1297s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1297s # 1297s # struct _OrgProjectBarFrobnicatorProxy 1297s # { 1297s # /*< private >*/ 1297s # GDBusProxy parent_instance; 1297s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1297s # }; 1297s # 1297s # struct _OrgProjectBarFrobnicatorProxyClass 1297s # { 1297s # GDBusProxyClass parent_class; 1297s # }; 1297s # 1297s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1297s # #endif 1297s # 1297s # void org_project_bar_frobnicator_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1297s # 1297s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1297s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1297s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1297s # 1297s # struct _OrgProjectBarFrobnicatorSkeleton 1297s # { 1297s # /*< private >*/ 1297s # GDBusInterfaceSkeleton parent_instance; 1297s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1297s # }; 1297s # 1297s # struct _OrgProjectBarFrobnicatorSkeletonClass 1297s # { 1297s # GDBusInterfaceSkeletonClass parent_class; 1297s # }; 1297s # 1297s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1297s # #endif 1297s # 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # /* Declarations for com.acme.Coyote */ 1297s # 1297s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1297s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1297s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1297s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1297s # 1297s # struct _ComAcmeCoyote; 1297s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1297s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1297s # 1297s # struct _ComAcmeCoyoteIface 1297s # { 1297s # GTypeInterface parent_iface; 1297s # 1297s # 1297s # 1297s # gboolean (*handle_attack) ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # gboolean (*handle_run) ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # gboolean (*handle_sleep) ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1297s # 1297s # void (*surprised) ( 1297s # ComAcmeCoyote *object); 1297s # 1297s # }; 1297s # 1297s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1297s # 1297s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1297s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1297s # 1297s # 1297s # /* D-Bus method call completion functions: */ 1297s # void com_acme_coyote_complete_run ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # void com_acme_coyote_complete_sleep ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # void com_acme_coyote_complete_attack ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # 1297s # 1297s # /* D-Bus signal emissions functions: */ 1297s # void com_acme_coyote_emit_surprised ( 1297s # ComAcmeCoyote *object); 1297s # 1297s # 1297s # 1297s # /* D-Bus method calls: */ 1297s # void com_acme_coyote_call_run ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean com_acme_coyote_call_run_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean com_acme_coyote_call_run_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void com_acme_coyote_call_sleep ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean com_acme_coyote_call_sleep_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean com_acme_coyote_call_sleep_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void com_acme_coyote_call_attack ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean com_acme_coyote_call_attack_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean com_acme_coyote_call_attack_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # 1297s # /* D-Bus property accessors: */ 1297s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1297s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1297s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1297s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1297s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1297s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1297s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1297s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1297s # 1297s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1297s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1297s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1297s # 1297s # struct _ComAcmeCoyoteProxy 1297s # { 1297s # /*< private >*/ 1297s # GDBusProxy parent_instance; 1297s # ComAcmeCoyoteProxyPrivate *priv; 1297s # }; 1297s # 1297s # struct _ComAcmeCoyoteProxyClass 1297s # { 1297s # GDBusProxyClass parent_class; 1297s # }; 1297s # 1297s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1297s # #endif 1297s # 1297s # void com_acme_coyote_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void com_acme_coyote_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1297s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1297s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1297s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1297s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1297s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1297s # 1297s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1297s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1297s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1297s # 1297s # struct _ComAcmeCoyoteSkeleton 1297s # { 1297s # /*< private >*/ 1297s # GDBusInterfaceSkeleton parent_instance; 1297s # ComAcmeCoyoteSkeletonPrivate *priv; 1297s # }; 1297s # 1297s # struct _ComAcmeCoyoteSkeletonClass 1297s # { 1297s # GDBusInterfaceSkeletonClass parent_class; 1297s # }; 1297s # 1297s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1297s # #endif 1297s # 1297s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1297s # 1297s # 1297s # G_END_DECLS 1297s # 1297s # #endif /* __STDOUT__ */ 1297s # Error: 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwjh79agf/tmp2cb5_xjr2.xml', '/tmp/tmpwjh79agf/tmpjjx6rsje1.xml', '--output', '-', '--header'] 1297s # Return code: 0 1297s # Output: 1297s # /* 1297s # * This file is generated by gdbus-codegen, do not modify it. 1297s # * 1297s # * The license of this code is the same as for the D-Bus interface description 1297s # * it was derived from. Note that it links to GLib, so must comply with the 1297s # * LGPL linking clauses. 1297s # */ 1297s # 1297s # #ifndef __STDOUT__ 1297s # #define __STDOUT__ 1297s # 1297s # #include 1297s # 1297s # G_BEGIN_DECLS 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # /* Declarations for org.project.Bar.Frobnicator */ 1297s # 1297s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1297s # 1297s # struct _OrgProjectBarFrobnicator; 1297s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1297s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1297s # 1297s # struct _OrgProjectBarFrobnicatorIface 1297s # { 1297s # GTypeInterface parent_iface; 1297s # 1297s # gboolean (*handle_random_method) ( 1297s # OrgProjectBarFrobnicator *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # }; 1297s # 1297s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1297s # 1297s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1297s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1297s # 1297s # 1297s # /* D-Bus method call completion functions: */ 1297s # void org_project_bar_frobnicator_complete_random_method ( 1297s # OrgProjectBarFrobnicator *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # 1297s # 1297s # /* D-Bus method calls: */ 1297s # void org_project_bar_frobnicator_call_random_method ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1297s # 1297s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1297s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1297s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1297s # 1297s # struct _OrgProjectBarFrobnicatorProxy 1297s # { 1297s # /*< private >*/ 1297s # GDBusProxy parent_instance; 1297s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1297s # }; 1297s # 1297s # struct _OrgProjectBarFrobnicatorProxyClass 1297s # { 1297s # GDBusProxyClass parent_class; 1297s # }; 1297s # 1297s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1297s # #endif 1297s # 1297s # void org_project_bar_frobnicator_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1297s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1297s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1297s # 1297s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1297s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1297s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1297s # 1297s # struct _OrgProjectBarFrobnicatorSkeleton 1297s # { 1297s # /*< private >*/ 1297s # GDBusInterfaceSkeleton parent_instance; 1297s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1297s # }; 1297s # 1297s # struct _OrgProjectBarFrobnicatorSkeletonClass 1297s # { 1297s # GDBusInterfaceSkeletonClass parent_class; 1297s # }; 1297s # 1297s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1297s # #endif 1297s # 1297s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # /* Declarations for com.acme.Coyote */ 1297s # 1297s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1297s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1297s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1297s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1297s # 1297s # struct _ComAcmeCoyote; 1297s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1297s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1297s # 1297s # struct _ComAcmeCoyoteIface 1297s # { 1297s # GTypeInterface parent_iface; 1297s # 1297s # 1297s # 1297s # gboolean (*handle_attack) ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # gboolean (*handle_run) ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # gboolean (*handle_sleep) ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1297s # 1297s # void (*surprised) ( 1297s # ComAcmeCoyote *object); 1297s # 1297s # }; 1297s # 1297s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1297s # 1297s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1297s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1297s # 1297s # 1297s # /* D-Bus method call completion functions: */ 1297s # void com_acme_coyote_complete_run ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # void com_acme_coyote_complete_sleep ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # void com_acme_coyote_complete_attack ( 1297s # ComAcmeCoyote *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # 1297s # 1297s # /* D-Bus signal emissions functions: */ 1297s # void com_acme_coyote_emit_surprised ( 1297s # ComAcmeCoyote *object); 1297s # 1297s # 1297s # 1297s # /* D-Bus method calls: */ 1297s # void com_acme_coyote_call_run ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean com_acme_coyote_call_run_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean com_acme_coyote_call_run_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void com_acme_coyote_call_sleep ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean com_acme_coyote_call_sleep_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean com_acme_coyote_call_sleep_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void com_acme_coyote_call_attack ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean com_acme_coyote_call_attack_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean com_acme_coyote_call_attack_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # 1297s # /* D-Bus property accessors: */ 1297s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1297s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1297s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1297s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1297s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1297s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1297s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1297s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1297s # 1297s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1297s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1297s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1297s # 1297s # struct _ComAcmeCoyoteProxy 1297s # { 1297s # /*< private >*/ 1297s # GDBusProxy parent_instance; 1297s # ComAcmeCoyoteProxyPrivate *priv; 1297s # }; 1297s # 1297s # struct _ComAcmeCoyoteProxyClass 1297s # { 1297s # GDBusProxyClass parent_class; 1297s # }; 1297s # 1297s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1297s # #endif 1297s # 1297s # void com_acme_coyote_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void com_acme_coyote_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1297s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1297s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1297s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1297s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1297s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1297s # 1297s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1297s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1297s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1297s # 1297s # struct _ComAcmeCoyoteSkeleton 1297s # { 1297s # /*< private >*/ 1297s # GDBusInterfaceSkeleton parent_instance; 1297s # ComAcmeCoyoteSkeletonPrivate *priv; 1297s # }; 1297s # 1297s # struct _ComAcmeCoyoteSkeletonClass 1297s # { 1297s # GDBusInterfaceSkeletonClass parent_class; 1297s # }; 1297s # 1297s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1297s # #endif 1297s # 1297s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1297s # 1297s # 1297s # G_END_DECLS 1297s # 1297s # #endif /* __STDOUT__ */ 1297s # Error: 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwjh79agf/tmpjjx6rsje1.xml', '/tmp/tmpwjh79agf/tmp2cb5_xjr2.xml', '--output', '-', '--body'] 1297s # Return code: 0 1297s # Output: 1297s # /* 1297s # * This file is generated by gdbus-codegen, do not modify it. 1297s # * 1297s # * The license of this code is the same as for the D-Bus interface description 1297s # * it was derived from. Note that it links to GLib, so must comply with the 1297s # * LGPL linking clauses. 1297s # */ 1297s # 1297s # #ifdef HAVE_CONFIG_H 1297s # # include "config.h" 1297s # #endif 1297s # 1297s # #include 1297s # #ifdef G_OS_UNIX 1297s # # include 1297s # #endif 1297s # 1297s # #ifdef G_ENABLE_DEBUG 1297s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1297s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1297s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1297s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1297s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1297s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1297s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1297s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1297s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1297s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1297s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1297s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1297s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1297s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1297s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1297s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1297s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1297s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1297s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1297s # #else /* !G_ENABLE_DEBUG */ 1297s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1297s # * Do not access GValues directly in your code. Instead, use the 1297s # * g_value_get_*() functions 1297s # */ 1297s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1297s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1297s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1297s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1297s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1297s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1297s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1297s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1297s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1297s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1297s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1297s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1297s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1297s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1297s # #endif /* !G_ENABLE_DEBUG */ 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusArgInfo parent_struct; 1297s # gboolean use_gvariant; 1297s # } _ExtendedGDBusArgInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusMethodInfo parent_struct; 1297s # const gchar *signal_name; 1297s # gboolean pass_fdlist; 1297s # } _ExtendedGDBusMethodInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusSignalInfo parent_struct; 1297s # const gchar *signal_name; 1297s # } _ExtendedGDBusSignalInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusPropertyInfo parent_struct; 1297s # const gchar *hyphen_name; 1297s # guint use_gvariant : 1; 1297s # guint emits_changed_signal : 1; 1297s # } _ExtendedGDBusPropertyInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusInterfaceInfo parent_struct; 1297s # const gchar *hyphen_name; 1297s # } _ExtendedGDBusInterfaceInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info; 1297s # guint prop_id; 1297s # GValue orig_value; /* the value before the change */ 1297s # } ChangedProperty; 1297s # 1297s # static void 1297s # _changed_property_free (ChangedProperty *data) 1297s # { 1297s # g_value_unset (&data->orig_value); 1297s # g_free (data); 1297s # } 1297s # 1297s # static gboolean 1297s # _g_strv_equal0 (gchar **a, gchar **b) 1297s # { 1297s # gboolean ret = FALSE; 1297s # guint n; 1297s # if (a == NULL && b == NULL) 1297s # { 1297s # ret = TRUE; 1297s # goto out; 1297s # } 1297s # if (a == NULL || b == NULL) 1297s # goto out; 1297s # if (g_strv_length (a) != g_strv_length (b)) 1297s # goto out; 1297s # for (n = 0; a[n] != NULL; n++) 1297s # if (g_strcmp0 (a[n], b[n]) != 0) 1297s # goto out; 1297s # ret = TRUE; 1297s # out: 1297s # return ret; 1297s # } 1297s # 1297s # static gboolean 1297s # _g_variant_equal0 (GVariant *a, GVariant *b) 1297s # { 1297s # gboolean ret = FALSE; 1297s # if (a == NULL && b == NULL) 1297s # { 1297s # ret = TRUE; 1297s # goto out; 1297s # } 1297s # if (a == NULL || b == NULL) 1297s # goto out; 1297s # ret = g_variant_equal (a, b); 1297s # out: 1297s # return ret; 1297s # } 1297s # 1297s # G_GNUC_UNUSED static gboolean 1297s # _g_value_equal (const GValue *a, const GValue *b) 1297s # { 1297s # gboolean ret = FALSE; 1297s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1297s # switch (G_VALUE_TYPE (a)) 1297s # { 1297s # case G_TYPE_BOOLEAN: 1297s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1297s # break; 1297s # case G_TYPE_UCHAR: 1297s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1297s # break; 1297s # case G_TYPE_INT: 1297s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1297s # break; 1297s # case G_TYPE_UINT: 1297s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1297s # break; 1297s # case G_TYPE_INT64: 1297s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1297s # break; 1297s # case G_TYPE_UINT64: 1297s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1297s # break; 1297s # case G_TYPE_DOUBLE: 1297s # { 1297s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1297s # gdouble da = g_value_get_double (a); 1297s # gdouble db = g_value_get_double (b); 1297s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1297s # } 1297s # break; 1297s # case G_TYPE_STRING: 1297s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1297s # break; 1297s # case G_TYPE_VARIANT: 1297s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1297s # break; 1297s # default: 1297s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1297s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1297s # else 1297s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1297s # break; 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static void 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint G_GNUC_UNUSED, 1297s # void *marshal_data) 1297s # { 1297s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1297s # (void *data1, 1297s # GDBusMethodInvocation *arg_method_invocation, 1297s # void *data2); 1297s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1297s # GCClosure *cc = (GCClosure*) closure; 1297s # void *data1, *data2; 1297s # gboolean v_return; 1297s # 1297s # g_return_if_fail (return_value != NULL); 1297s # g_return_if_fail (n_param_values == 2); 1297s # 1297s # if (G_CCLOSURE_SWAP_DATA (closure)) 1297s # { 1297s # data1 = closure->data; 1297s # data2 = g_value_peek_pointer (param_values + 0); 1297s # } 1297s # else 1297s # { 1297s # data1 = g_value_peek_pointer (param_values + 0); 1297s # data2 = closure->data; 1297s # } 1297s # 1297s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1297s # (marshal_data ? marshal_data : cc->callback); 1297s # 1297s # v_return = 1297s # callback (data1, 1297s # g_marshal_value_peek_object (param_values + 1), 1297s # data2); 1297s # 1297s # g_value_set_boolean (return_value, v_return); 1297s # } 1297s # 1297s # /* ------------------------------------------------------------------------ 1297s # * Code for interface org.project.Bar.Frobnicator 1297s # * ------------------------------------------------------------------------ 1297s # */ 1297s # 1297s # /** 1297s # * SECTION:OrgProjectBarFrobnicator 1297s # * @title: OrgProjectBarFrobnicator 1297s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1297s # * 1297s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1297s # */ 1297s # 1297s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1297s # 1297s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "RandomMethod", 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "handle-random-method", 1297s # FALSE 1297s # }; 1297s # 1297s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1297s # { 1297s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1297s # NULL 1297s # }; 1297s # 1297s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "org.project.Bar.Frobnicator", 1297s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "org-project-bar-frobnicator", 1297s # }; 1297s # 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_interface_info: 1297s # * 1297s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1297s # * 1297s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1297s # */ 1297s # GDBusInterfaceInfo * 1297s # org_project_bar_frobnicator_interface_info (void) 1297s # { 1297s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_override_properties: 1297s # * @klass: The class structure for a #GObject derived class. 1297s # * @property_id_begin: The property id to assign to the first overridden property. 1297s # * 1297s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1297s # * The properties are overridden in the order they are defined. 1297s # * 1297s # * Returns: The last property id. 1297s # */ 1297s # guint 1297s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1297s # { 1297s # return property_id_begin - 1; 1297s # } 1297s # 1297s # 1297s # inline static void 1297s # org_project_bar_frobnicator_method_marshal_random_method ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicator: 1297s # * 1297s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1297s # */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorIface: 1297s # * @parent_iface: The parent interface. 1297s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1297s # * 1297s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1297s # */ 1297s # 1297s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1297s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1297s # { 1297s # /* GObject signals for incoming D-Bus method calls: */ 1297s # /** 1297s # * OrgProjectBarFrobnicator::handle-random-method: 1297s # * @object: A #OrgProjectBarFrobnicator. 1297s # * @invocation: A #GDBusMethodInvocation. 1297s # * 1297s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1297s # * 1297s # * If 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. 1297s # * 1297s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1297s # */ 1297s # g_signal_new ("handle-random-method", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1297s # g_signal_accumulator_true_handled, 1297s # NULL, 1297s # org_project_bar_frobnicator_method_marshal_random_method, 1297s # G_TYPE_BOOLEAN, 1297s # 1, 1297s # G_TYPE_DBUS_METHOD_INVOCATION); 1297s # 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_call_random_method: 1297s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1297s # * 1297s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1297s # */ 1297s # void 1297s # org_project_bar_frobnicator_call_random_method ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1297s # "RandomMethod", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # callback, 1297s # user_data); 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_call_random_method_finish: 1297s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # org_project_bar_frobnicator_call_random_method_finish ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_call_random_method_sync: 1297s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1297s # * 1297s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # org_project_bar_frobnicator_call_random_method_sync ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1297s # "RandomMethod", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_complete_random_method: 1297s # * @object: A #OrgProjectBarFrobnicator. 1297s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1297s # * 1297s # * 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. 1297s # * 1297s # * This method will free @invocation, you cannot use it afterwards. 1297s # */ 1297s # void 1297s # org_project_bar_frobnicator_complete_random_method ( 1297s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1297s # GDBusMethodInvocation *invocation) 1297s # { 1297s # g_dbus_method_invocation_return_value (invocation, 1297s # g_variant_new ("()")); 1297s # } 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorProxy: 1297s # * 1297s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1297s # */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorProxyClass: 1297s # * @parent_class: The parent class. 1297s # * 1297s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1297s # */ 1297s # 1297s # struct _OrgProjectBarFrobnicatorProxyPrivate 1297s # { 1297s # GData *qdata; 1297s # }; 1297s # 1297s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1297s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1297s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1297s # 1297s # #else 1297s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1297s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1297s # 1297s # #endif 1297s # static void 1297s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1297s # { 1297s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1297s # g_datalist_clear (&proxy->priv->qdata); 1297s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1297s # guint prop_id G_GNUC_UNUSED, 1297s # GValue *value G_GNUC_UNUSED, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1297s # guint prop_id G_GNUC_UNUSED, 1297s # const GValue *value G_GNUC_UNUSED, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1297s # const gchar *sender_name G_GNUC_UNUSED, 1297s # const gchar *signal_name, 1297s # GVariant *parameters) 1297s # { 1297s # _ExtendedGDBusSignalInfo *info; 1297s # GVariantIter iter; 1297s # GVariant *child; 1297s # GValue *paramv; 1297s # gsize num_params; 1297s # gsize n; 1297s # guint signal_id; 1297s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1297s # if (info == NULL) 1297s # return; 1297s # num_params = g_variant_n_children (parameters); 1297s # paramv = g_new0 (GValue, num_params + 1); 1297s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1297s # g_value_set_object (¶mv[0], proxy); 1297s # g_variant_iter_init (&iter, parameters); 1297s # n = 1; 1297s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1297s # { 1297s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1297s # if (arg_info->use_gvariant) 1297s # { 1297s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1297s # g_value_set_variant (¶mv[n], child); 1297s # n++; 1297s # } 1297s # else 1297s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1297s # g_variant_unref (child); 1297s # } 1297s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1297s # g_signal_emitv (paramv, signal_id, 0, NULL); 1297s # for (n = 0; n < num_params + 1; n++) 1297s # g_value_unset (¶mv[n]); 1297s # g_free (paramv); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1297s # GVariant *changed_properties, 1297s # const gchar *const *invalidated_properties) 1297s # { 1297s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1297s # guint n; 1297s # const gchar *key; 1297s # GVariantIter *iter; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # g_variant_get (changed_properties, "a{sv}", &iter); 1297s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1297s # { 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1297s # g_datalist_remove_data (&proxy->priv->qdata, key); 1297s # if (info != NULL) 1297s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1297s # } 1297s # g_variant_iter_free (iter); 1297s # for (n = 0; invalidated_properties[n] != NULL; n++) 1297s # { 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1297s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1297s # if (info != NULL) 1297s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1297s # } 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1297s # { 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1297s # #else 1297s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1297s # #endif 1297s # 1297s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1297s # { 1297s # GObjectClass *gobject_class; 1297s # GDBusProxyClass *proxy_class; 1297s # 1297s # gobject_class = G_OBJECT_CLASS (klass); 1297s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1297s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1297s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1297s # 1297s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1297s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1297s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1297s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1297s # #endif 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new: 1297s # * @connection: A #GDBusConnection. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1297s # * 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1297s # * 1297s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1297s # */ 1297s # void 1297s # org_project_bar_frobnicator_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # 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); 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_finish: 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GObject *ret; 1297s # GObject *source_object; 1297s # source_object = g_async_result_get_source_object (res); 1297s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1297s # g_object_unref (source_object); 1297s # if (ret != NULL) 1297s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_sync: 1297s # * @connection: A #GDBusConnection. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1297s # * 1297s # * The calling thread is blocked until a reply is received. 1297s # * 1297s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GInitable *ret; 1297s # 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); 1297s # if (ret != NULL) 1297s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_for_bus: 1297s # * @bus_type: A #GBusType. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: A bus name (well-known or unique). 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1297s # * 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1297s # * 1297s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1297s # */ 1297s # void 1297s # org_project_bar_frobnicator_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # 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); 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GObject *ret; 1297s # GObject *source_object; 1297s # source_object = g_async_result_get_source_object (res); 1297s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1297s # g_object_unref (source_object); 1297s # if (ret != NULL) 1297s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1297s # * @bus_type: A #GBusType. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: A bus name (well-known or unique). 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1297s # * 1297s # * The calling thread is blocked until a reply is received. 1297s # * 1297s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GInitable *ret; 1297s # 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); 1297s # if (ret != NULL) 1297s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorSkeleton: 1297s # * 1297s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1297s # */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorSkeletonClass: 1297s # * @parent_class: The parent class. 1297s # * 1297s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1297s # */ 1297s # 1297s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1297s # { 1297s # GValue *properties; 1297s # GList *changed_properties; 1297s # GSource *changed_properties_idle_source; 1297s # GMainContext *context; 1297s # GMutex lock; 1297s # }; 1297s # 1297s # static void 1297s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name, 1297s # const gchar *method_name, 1297s # GVariant *parameters, 1297s # GDBusMethodInvocation *invocation, 1297s # gpointer user_data) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1297s # _ExtendedGDBusMethodInfo *info; 1297s # GVariantIter iter; 1297s # GVariant *child; 1297s # GValue *paramv; 1297s # gsize num_params; 1297s # guint num_extra; 1297s # gsize n; 1297s # guint signal_id; 1297s # GValue return_value = G_VALUE_INIT; 1297s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1297s # g_assert (info != NULL); 1297s # num_params = g_variant_n_children (parameters); 1297s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1297s # n = 0; 1297s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1297s # g_value_set_object (¶mv[n++], skeleton); 1297s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1297s # g_value_set_object (¶mv[n++], invocation); 1297s # if (info->pass_fdlist) 1297s # { 1297s # #ifdef G_OS_UNIX 1297s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1297s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1297s # #else 1297s # g_assert_not_reached (); 1297s # #endif 1297s # } 1297s # g_variant_iter_init (&iter, parameters); 1297s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1297s # { 1297s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1297s # if (arg_info->use_gvariant) 1297s # { 1297s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1297s # g_value_set_variant (¶mv[n], child); 1297s # n++; 1297s # } 1297s # else 1297s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1297s # g_variant_unref (child); 1297s # } 1297s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1297s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1297s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1297s # if (!g_value_get_boolean (&return_value)) 1297s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1297s # g_value_unset (&return_value); 1297s # for (n = 0; n < num_params + num_extra; n++) 1297s # g_value_unset (¶mv[n]); 1297s # g_free (paramv); 1297s # } 1297s # 1297s # static GVariant * 1297s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name G_GNUC_UNUSED, 1297s # const gchar *property_name, 1297s # GError **error, 1297s # gpointer user_data) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1297s # GValue value = G_VALUE_INIT; 1297s # GParamSpec *pspec; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # GVariant *ret; 1297s # ret = NULL; 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1297s # g_assert (info != NULL); 1297s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1297s # if (pspec == NULL) 1297s # { 1297s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1297s # } 1297s # else 1297s # { 1297s # g_value_init (&value, pspec->value_type); 1297s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1297s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1297s # g_value_unset (&value); 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static gboolean 1297s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name G_GNUC_UNUSED, 1297s # const gchar *property_name, 1297s # GVariant *variant, 1297s # GError **error, 1297s # gpointer user_data) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1297s # GValue value = G_VALUE_INIT; 1297s # GParamSpec *pspec; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # gboolean ret; 1297s # ret = FALSE; 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1297s # g_assert (info != NULL); 1297s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1297s # if (pspec == NULL) 1297s # { 1297s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1297s # } 1297s # else 1297s # { 1297s # if (info->use_gvariant) 1297s # g_value_set_variant (&value, variant); 1297s # else 1297s # g_dbus_gvariant_to_gvalue (variant, &value); 1297s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1297s # g_value_unset (&value); 1297s # ret = TRUE; 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1297s # { 1297s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1297s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1297s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1297s # {NULL} 1297s # }; 1297s # 1297s # static GDBusInterfaceInfo * 1297s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1297s # { 1297s # return org_project_bar_frobnicator_interface_info (); 1297s # } 1297s # 1297s # static GDBusInterfaceVTable * 1297s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1297s # { 1297s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1297s # } 1297s # 1297s # static GVariant * 1297s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1297s # 1297s # GVariantBuilder builder; 1297s # guint n; 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1297s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # #else 1297s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # #endif 1297s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1297s # goto out; 1297s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1297s # { 1297s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1297s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1297s # { 1297s # GVariant *value; 1297s # 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); 1297s # if (value != NULL) 1297s # { 1297s # g_variant_take_ref (value); 1297s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1297s # g_variant_unref (value); 1297s # } 1297s # } 1297s # } 1297s # out: 1297s # return g_variant_builder_end (&builder); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1297s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1297s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1297s # 1297s # #else 1297s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1297s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1297s # 1297s # #endif 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1297s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1297s # if (skeleton->priv->changed_properties_idle_source != NULL) 1297s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1297s # g_main_context_unref (skeleton->priv->context); 1297s # g_mutex_clear (&skeleton->priv->lock); 1297s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1297s # { 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1297s # #else 1297s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1297s # #endif 1297s # 1297s # g_mutex_init (&skeleton->priv->lock); 1297s # skeleton->priv->context = g_main_context_ref_thread_default (); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1297s # { 1297s # GObjectClass *gobject_class; 1297s # GDBusInterfaceSkeletonClass *skeleton_class; 1297s # 1297s # gobject_class = G_OBJECT_CLASS (klass); 1297s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1297s # 1297s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1297s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1297s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1297s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1297s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1297s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1297s # #endif 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_skeleton_new: 1297s # * 1297s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_skeleton_new (void) 1297s # { 1297s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1297s # } 1297s # 1297s # /* ------------------------------------------------------------------------ 1297s # * Code for interface com.acme.Coyote 1297s # * ------------------------------------------------------------------------ 1297s # */ 1297s # 1297s # /** 1297s # * SECTION:ComAcmeCoyote 1297s # * @title: ComAcmeCoyote 1297s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1297s # * 1297s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1297s # */ 1297s # 1297s # enum 1297s # { 1297s # _COM_ACME_COYOTE_SURPRISED, 1297s # }; 1297s # 1297s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1297s # 1297s # /* ---- Introspection data for com.acme.Coyote ---- */ 1297s # 1297s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Run", 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "handle-run", 1297s # FALSE 1297s # }; 1297s # 1297s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Sleep", 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "handle-sleep", 1297s # FALSE 1297s # }; 1297s # 1297s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Attack", 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "handle-attack", 1297s # FALSE 1297s # }; 1297s # 1297s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1297s # { 1297s # &_com_acme_coyote_method_info_run.parent_struct, 1297s # &_com_acme_coyote_method_info_sleep.parent_struct, 1297s # &_com_acme_coyote_method_info_attack.parent_struct, 1297s # NULL 1297s # }; 1297s # 1297s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Surprised", 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "surprised" 1297s # }; 1297s # 1297s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1297s # { 1297s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1297s # NULL 1297s # }; 1297s # 1297s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Mood", 1297s # (gchar *) "s", 1297s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1297s # NULL 1297s # }, 1297s # "mood", 1297s # FALSE, 1297s # TRUE 1297s # }; 1297s # 1297s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1297s # { 1297s # &_com_acme_coyote_property_info_mood.parent_struct, 1297s # NULL 1297s # }; 1297s # 1297s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "com.acme.Coyote", 1297s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1297s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1297s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1297s # NULL 1297s # }, 1297s # "com-acme-coyote", 1297s # }; 1297s # 1297s # 1297s # /** 1297s # * com_acme_coyote_interface_info: 1297s # * 1297s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1297s # * 1297s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1297s # */ 1297s # GDBusInterfaceInfo * 1297s # com_acme_coyote_interface_info (void) 1297s # { 1297s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_override_properties: 1297s # * @klass: The class structure for a #GObject derived class. 1297s # * @property_id_begin: The property id to assign to the first overridden property. 1297s # * 1297s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1297s # * The properties are overridden in the order they are defined. 1297s # * 1297s # * Returns: The last property id. 1297s # */ 1297s # guint 1297s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1297s # { 1297s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1297s # return property_id_begin - 1; 1297s # } 1297s # 1297s # 1297s # inline static void 1297s # com_acme_coyote_signal_marshal_surprised ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # g_cclosure_marshal_VOID__VOID (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # inline static void 1297s # com_acme_coyote_method_marshal_run ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # inline static void 1297s # com_acme_coyote_method_marshal_sleep ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # inline static void 1297s # com_acme_coyote_method_marshal_attack ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # 1297s # /** 1297s # * ComAcmeCoyote: 1297s # * 1297s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1297s # */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteIface: 1297s # * @parent_iface: The parent interface. 1297s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1297s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1297s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1297s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1297s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1297s # * 1297s # * Virtual table for the D-Bus interface com.acme.Coyote. 1297s # */ 1297s # 1297s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1297s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1297s # 1297s # static void 1297s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1297s # { 1297s # /* GObject signals for incoming D-Bus method calls: */ 1297s # /** 1297s # * ComAcmeCoyote::handle-run: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: A #GDBusMethodInvocation. 1297s # * 1297s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1297s # * 1297s # * If 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. 1297s # * 1297s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1297s # */ 1297s # g_signal_new ("handle-run", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1297s # g_signal_accumulator_true_handled, 1297s # NULL, 1297s # com_acme_coyote_method_marshal_run, 1297s # G_TYPE_BOOLEAN, 1297s # 1, 1297s # G_TYPE_DBUS_METHOD_INVOCATION); 1297s # 1297s # /** 1297s # * ComAcmeCoyote::handle-sleep: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: A #GDBusMethodInvocation. 1297s # * 1297s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1297s # * 1297s # * If 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. 1297s # * 1297s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1297s # */ 1297s # g_signal_new ("handle-sleep", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1297s # g_signal_accumulator_true_handled, 1297s # NULL, 1297s # com_acme_coyote_method_marshal_sleep, 1297s # G_TYPE_BOOLEAN, 1297s # 1, 1297s # G_TYPE_DBUS_METHOD_INVOCATION); 1297s # 1297s # /** 1297s # * ComAcmeCoyote::handle-attack: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: A #GDBusMethodInvocation. 1297s # * 1297s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1297s # * 1297s # * If 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. 1297s # * 1297s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1297s # */ 1297s # g_signal_new ("handle-attack", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1297s # g_signal_accumulator_true_handled, 1297s # NULL, 1297s # com_acme_coyote_method_marshal_attack, 1297s # G_TYPE_BOOLEAN, 1297s # 1, 1297s # G_TYPE_DBUS_METHOD_INVOCATION); 1297s # 1297s # /* GObject signals for received D-Bus signals: */ 1297s # /** 1297s # * ComAcmeCoyote::surprised: 1297s # * @object: A #ComAcmeCoyote. 1297s # * 1297s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1297s # * 1297s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1297s # */ 1297s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1297s # g_signal_new ("surprised", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1297s # NULL, 1297s # NULL, 1297s # com_acme_coyote_signal_marshal_surprised, 1297s # G_TYPE_NONE, 1297s # 0); 1297s # 1297s # /* GObject properties for D-Bus properties: */ 1297s # /** 1297s # * ComAcmeCoyote:mood: 1297s # * 1297s # * Represents the D-Bus property "Mood". 1297s # * 1297s # * 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. 1297s # */ 1297s # g_object_interface_install_property (iface, 1297s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_get_mood: (skip) 1297s # * @object: A #ComAcmeCoyote. 1297s # * 1297s # * Gets the value of the "Mood" D-Bus property. 1297s # * 1297s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1297s # * 1297s # * 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. 1297s # * 1297s # * 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. 1297s # */ 1297s # const gchar * 1297s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1297s # { 1297s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1297s # 1297s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_dup_mood: (skip) 1297s # * @object: A #ComAcmeCoyote. 1297s # * 1297s # * Gets a copy of the "Mood" D-Bus property. 1297s # * 1297s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1297s # * 1297s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1297s # */ 1297s # gchar * 1297s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1297s # { 1297s # gchar *value; 1297s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1297s # return value; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_set_mood: (skip) 1297s # * @object: A #ComAcmeCoyote. 1297s # * @value: The value to set. 1297s # * 1297s # * Sets the "Mood" D-Bus property to @value. 1297s # * 1297s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1297s # */ 1297s # void 1297s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1297s # { 1297s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_emit_surprised: 1297s # * @object: A #ComAcmeCoyote. 1297s # * 1297s # * Emits the "Surprised" D-Bus signal. 1297s # */ 1297s # void 1297s # com_acme_coyote_emit_surprised ( 1297s # ComAcmeCoyote *object) 1297s # { 1297s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_run: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1297s # */ 1297s # void 1297s # com_acme_coyote_call_run ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1297s # "Run", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # callback, 1297s # user_data); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_run_finish: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_call_run(). 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_run_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_run_sync: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_run_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1297s # "Run", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_sleep: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1297s # */ 1297s # void 1297s # com_acme_coyote_call_sleep ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1297s # "Sleep", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # callback, 1297s # user_data); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_sleep_finish: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_sleep_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_sleep_sync: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_sleep_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1297s # "Sleep", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_attack: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1297s # */ 1297s # void 1297s # com_acme_coyote_call_attack ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1297s # "Attack", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # callback, 1297s # user_data); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_attack_finish: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_call_attack(). 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_attack_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_attack_sync: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_attack_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1297s # "Attack", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_complete_run: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1297s # * 1297s # * 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. 1297s # * 1297s # * This method will free @invocation, you cannot use it afterwards. 1297s # */ 1297s # void 1297s # com_acme_coyote_complete_run ( 1297s # ComAcmeCoyote *object G_GNUC_UNUSED, 1297s # GDBusMethodInvocation *invocation) 1297s # { 1297s # g_dbus_method_invocation_return_value (invocation, 1297s # g_variant_new ("()")); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_complete_sleep: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1297s # * 1297s # * 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. 1297s # * 1297s # * This method will free @invocation, you cannot use it afterwards. 1297s # */ 1297s # void 1297s # com_acme_coyote_complete_sleep ( 1297s # ComAcmeCoyote *object G_GNUC_UNUSED, 1297s # GDBusMethodInvocation *invocation) 1297s # { 1297s # g_dbus_method_invocation_return_value (invocation, 1297s # g_variant_new ("()")); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_complete_attack: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1297s # * 1297s # * 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. 1297s # * 1297s # * This method will free @invocation, you cannot use it afterwards. 1297s # */ 1297s # void 1297s # com_acme_coyote_complete_attack ( 1297s # ComAcmeCoyote *object G_GNUC_UNUSED, 1297s # GDBusMethodInvocation *invocation) 1297s # { 1297s # g_dbus_method_invocation_return_value (invocation, 1297s # g_variant_new ("()")); 1297s # } 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteProxy: 1297s # * 1297s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1297s # */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteProxyClass: 1297s # * @parent_class: The parent class. 1297s # * 1297s # * Class structure for #ComAcmeCoyoteProxy. 1297s # */ 1297s # 1297s # struct _ComAcmeCoyoteProxyPrivate 1297s # { 1297s # GData *qdata; 1297s # }; 1297s # 1297s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1297s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1297s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1297s # 1297s # #else 1297s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1297s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1297s # 1297s # #endif 1297s # static void 1297s # com_acme_coyote_proxy_finalize (GObject *object) 1297s # { 1297s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1297s # g_datalist_clear (&proxy->priv->qdata); 1297s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_get_property (GObject *object, 1297s # guint prop_id, 1297s # GValue *value, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info; 1297s # GVariant *variant; 1297s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1297s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1297s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1297s # if (info->use_gvariant) 1297s # { 1297s # g_value_set_variant (value, variant); 1297s # } 1297s # else 1297s # { 1297s # if (variant != NULL) 1297s # g_dbus_gvariant_to_gvalue (variant, value); 1297s # } 1297s # if (variant != NULL) 1297s # g_variant_unref (variant); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1297s # GAsyncResult *res, 1297s # gpointer user_data) 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info = user_data; 1297s # GError *error; 1297s # GVariant *_ret; 1297s # error = NULL; 1297s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1297s # if (!_ret) 1297s # { 1297s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1297s # info->parent_struct.name, 1297s # error->message, g_quark_to_string (error->domain), error->code); 1297s # g_error_free (error); 1297s # } 1297s # else 1297s # { 1297s # g_variant_unref (_ret); 1297s # } 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_set_property (GObject *object, 1297s # guint prop_id, 1297s # const GValue *value, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info; 1297s # GVariant *variant; 1297s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1297s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1297s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1297s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1297s # "org.freedesktop.DBus.Properties.Set", 1297s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1297s # g_variant_unref (variant); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1297s # const gchar *sender_name G_GNUC_UNUSED, 1297s # const gchar *signal_name, 1297s # GVariant *parameters) 1297s # { 1297s # _ExtendedGDBusSignalInfo *info; 1297s # GVariantIter iter; 1297s # GVariant *child; 1297s # GValue *paramv; 1297s # gsize num_params; 1297s # gsize n; 1297s # guint signal_id; 1297s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1297s # if (info == NULL) 1297s # return; 1297s # num_params = g_variant_n_children (parameters); 1297s # paramv = g_new0 (GValue, num_params + 1); 1297s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1297s # g_value_set_object (¶mv[0], proxy); 1297s # g_variant_iter_init (&iter, parameters); 1297s # n = 1; 1297s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1297s # { 1297s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1297s # if (arg_info->use_gvariant) 1297s # { 1297s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1297s # g_value_set_variant (¶mv[n], child); 1297s # n++; 1297s # } 1297s # else 1297s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1297s # g_variant_unref (child); 1297s # } 1297s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1297s # g_signal_emitv (paramv, signal_id, 0, NULL); 1297s # for (n = 0; n < num_params + 1; n++) 1297s # g_value_unset (¶mv[n]); 1297s # g_free (paramv); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1297s # GVariant *changed_properties, 1297s # const gchar *const *invalidated_properties) 1297s # { 1297s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1297s # guint n; 1297s # const gchar *key; 1297s # GVariantIter *iter; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # g_variant_get (changed_properties, "a{sv}", &iter); 1297s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1297s # { 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1297s # g_datalist_remove_data (&proxy->priv->qdata, key); 1297s # if (info != NULL) 1297s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1297s # } 1297s # g_variant_iter_free (iter); 1297s # for (n = 0; invalidated_properties[n] != NULL; n++) 1297s # { 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1297s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1297s # if (info != NULL) 1297s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1297s # } 1297s # } 1297s # 1297s # static const gchar * 1297s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1297s # { 1297s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1297s # GVariant *variant; 1297s # const gchar *value = NULL; 1297s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1297s # if (variant != NULL) 1297s # { 1297s # value = g_variant_get_string (variant, NULL); 1297s # g_variant_unref (variant); 1297s # } 1297s # return value; 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1297s # { 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1297s # #else 1297s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1297s # #endif 1297s # 1297s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1297s # { 1297s # GObjectClass *gobject_class; 1297s # GDBusProxyClass *proxy_class; 1297s # 1297s # gobject_class = G_OBJECT_CLASS (klass); 1297s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1297s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1297s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1297s # 1297s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1297s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1297s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1297s # 1297s # com_acme_coyote_override_properties (gobject_class, 1); 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1297s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1297s # #endif 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1297s # { 1297s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new: 1297s # * @connection: A #GDBusConnection. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1297s # * 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1297s # */ 1297s # void 1297s # com_acme_coyote_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # 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); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_finish: 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GObject *ret; 1297s # GObject *source_object; 1297s # source_object = g_async_result_get_source_object (res); 1297s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1297s # g_object_unref (source_object); 1297s # if (ret != NULL) 1297s # return COM_ACME_COYOTE (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_sync: 1297s # * @connection: A #GDBusConnection. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1297s # * 1297s # * The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GInitable *ret; 1297s # 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); 1297s # if (ret != NULL) 1297s # return COM_ACME_COYOTE (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_for_bus: 1297s # * @bus_type: A #GBusType. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: A bus name (well-known or unique). 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1297s # * 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1297s # */ 1297s # void 1297s # com_acme_coyote_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # 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); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_for_bus_finish: 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GObject *ret; 1297s # GObject *source_object; 1297s # source_object = g_async_result_get_source_object (res); 1297s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1297s # g_object_unref (source_object); 1297s # if (ret != NULL) 1297s # return COM_ACME_COYOTE (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_for_bus_sync: 1297s # * @bus_type: A #GBusType. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: A bus name (well-known or unique). 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1297s # * 1297s # * The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GInitable *ret; 1297s # 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); 1297s # if (ret != NULL) 1297s # return COM_ACME_COYOTE (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteSkeleton: 1297s # * 1297s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1297s # */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteSkeletonClass: 1297s # * @parent_class: The parent class. 1297s # * 1297s # * Class structure for #ComAcmeCoyoteSkeleton. 1297s # */ 1297s # 1297s # struct _ComAcmeCoyoteSkeletonPrivate 1297s # { 1297s # GValue *properties; 1297s # GList *changed_properties; 1297s # GSource *changed_properties_idle_source; 1297s # GMainContext *context; 1297s # GMutex lock; 1297s # }; 1297s # 1297s # static void 1297s # _com_acme_coyote_skeleton_handle_method_call ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name, 1297s # const gchar *method_name, 1297s # GVariant *parameters, 1297s # GDBusMethodInvocation *invocation, 1297s # gpointer user_data) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1297s # _ExtendedGDBusMethodInfo *info; 1297s # GVariantIter iter; 1297s # GVariant *child; 1297s # GValue *paramv; 1297s # gsize num_params; 1297s # guint num_extra; 1297s # gsize n; 1297s # guint signal_id; 1297s # GValue return_value = G_VALUE_INIT; 1297s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1297s # g_assert (info != NULL); 1297s # num_params = g_variant_n_children (parameters); 1297s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1297s # n = 0; 1297s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1297s # g_value_set_object (¶mv[n++], skeleton); 1297s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1297s # g_value_set_object (¶mv[n++], invocation); 1297s # if (info->pass_fdlist) 1297s # { 1297s # #ifdef G_OS_UNIX 1297s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1297s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1297s # #else 1297s # g_assert_not_reached (); 1297s # #endif 1297s # } 1297s # g_variant_iter_init (&iter, parameters); 1297s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1297s # { 1297s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1297s # if (arg_info->use_gvariant) 1297s # { 1297s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1297s # g_value_set_variant (¶mv[n], child); 1297s # n++; 1297s # } 1297s # else 1297s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1297s # g_variant_unref (child); 1297s # } 1297s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1297s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1297s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1297s # if (!g_value_get_boolean (&return_value)) 1297s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1297s # g_value_unset (&return_value); 1297s # for (n = 0; n < num_params + num_extra; n++) 1297s # g_value_unset (¶mv[n]); 1297s # g_free (paramv); 1297s # } 1297s # 1297s # static GVariant * 1297s # _com_acme_coyote_skeleton_handle_get_property ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name G_GNUC_UNUSED, 1297s # const gchar *property_name, 1297s # GError **error, 1297s # gpointer user_data) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1297s # GValue value = G_VALUE_INIT; 1297s # GParamSpec *pspec; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # GVariant *ret; 1297s # ret = NULL; 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1297s # g_assert (info != NULL); 1297s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1297s # if (pspec == NULL) 1297s # { 1297s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1297s # } 1297s # else 1297s # { 1297s # g_value_init (&value, pspec->value_type); 1297s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1297s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1297s # g_value_unset (&value); 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static gboolean 1297s # _com_acme_coyote_skeleton_handle_set_property ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name G_GNUC_UNUSED, 1297s # const gchar *property_name, 1297s # GVariant *variant, 1297s # GError **error, 1297s # gpointer user_data) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1297s # GValue value = G_VALUE_INIT; 1297s # GParamSpec *pspec; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # gboolean ret; 1297s # ret = FALSE; 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1297s # g_assert (info != NULL); 1297s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1297s # if (pspec == NULL) 1297s # { 1297s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1297s # } 1297s # else 1297s # { 1297s # if (info->use_gvariant) 1297s # g_value_set_variant (&value, variant); 1297s # else 1297s # g_dbus_gvariant_to_gvalue (variant, &value); 1297s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1297s # g_value_unset (&value); 1297s # ret = TRUE; 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1297s # { 1297s # _com_acme_coyote_skeleton_handle_method_call, 1297s # _com_acme_coyote_skeleton_handle_get_property, 1297s # _com_acme_coyote_skeleton_handle_set_property, 1297s # {NULL} 1297s # }; 1297s # 1297s # static GDBusInterfaceInfo * 1297s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1297s # { 1297s # return com_acme_coyote_interface_info (); 1297s # } 1297s # 1297s # static GDBusInterfaceVTable * 1297s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1297s # { 1297s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1297s # } 1297s # 1297s # static GVariant * 1297s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1297s # 1297s # GVariantBuilder builder; 1297s # guint n; 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1297s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # #else 1297s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # #endif 1297s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1297s # goto out; 1297s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1297s # { 1297s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1297s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1297s # { 1297s # GVariant *value; 1297s # 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); 1297s # if (value != NULL) 1297s # { 1297s # g_variant_take_ref (value); 1297s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1297s # g_variant_unref (value); 1297s # } 1297s # } 1297s # } 1297s # out: 1297s # return g_variant_builder_end (&builder); 1297s # } 1297s # 1297s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1297s # gboolean emit_changed = FALSE; 1297s # 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # if (skeleton->priv->changed_properties_idle_source != NULL) 1297s # { 1297s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1297s # skeleton->priv->changed_properties_idle_source = NULL; 1297s # emit_changed = TRUE; 1297s # } 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # 1297s # if (emit_changed) 1297s # _com_acme_coyote_emit_changed (skeleton); 1297s # } 1297s # 1297s # static void 1297s # _com_acme_coyote_on_signal_surprised ( 1297s # ComAcmeCoyote *object) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # 1297s # GList *connections, *l; 1297s # GVariant *signal_variant; 1297s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1297s # 1297s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1297s # for (l = connections; l != NULL; l = l->next) 1297s # { 1297s # GDBusConnection *connection = l->data; 1297s # g_dbus_connection_emit_signal (connection, 1297s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1297s # signal_variant, NULL); 1297s # } 1297s # g_variant_unref (signal_variant); 1297s # g_list_free_full (connections, g_object_unref); 1297s # } 1297s # 1297s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1297s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1297s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1297s # 1297s # #else 1297s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1297s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1297s # 1297s # #endif 1297s # static void 1297s # com_acme_coyote_skeleton_finalize (GObject *object) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # guint n; 1297s # for (n = 0; n < 1; n++) 1297s # g_value_unset (&skeleton->priv->properties[n]); 1297s # g_free (skeleton->priv->properties); 1297s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1297s # if (skeleton->priv->changed_properties_idle_source != NULL) 1297s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1297s # g_main_context_unref (skeleton->priv->context); 1297s # g_mutex_clear (&skeleton->priv->lock); 1297s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_get_property (GObject *object, 1297s # guint prop_id, 1297s # GValue *value, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # } 1297s # 1297s # static gboolean 1297s # _com_acme_coyote_emit_changed (gpointer user_data) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1297s # GList *l; 1297s # GVariantBuilder builder; 1297s # GVariantBuilder invalidated_builder; 1297s # guint num_changes; 1297s # 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1297s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1297s # #else 1297s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1297s # #endif 1297s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1297s # { 1297s # ChangedProperty *cp = l->data; 1297s # GVariant *variant; 1297s # const GValue *cur_value; 1297s # 1297s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1297s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1297s # { 1297s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1297s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1297s # g_variant_unref (variant); 1297s # num_changes++; 1297s # } 1297s # } 1297s # if (num_changes > 0) 1297s # { 1297s # GList *connections, *ll; 1297s # GVariant *signal_variant; 1297s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1297s # &builder, &invalidated_builder)); 1297s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1297s # for (ll = connections; ll != NULL; ll = ll->next) 1297s # { 1297s # GDBusConnection *connection = ll->data; 1297s # 1297s # g_dbus_connection_emit_signal (connection, 1297s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1297s # "org.freedesktop.DBus.Properties", 1297s # "PropertiesChanged", 1297s # signal_variant, 1297s # NULL); 1297s # } 1297s # g_variant_unref (signal_variant); 1297s # g_list_free_full (connections, g_object_unref); 1297s # } 1297s # else 1297s # { 1297s # g_variant_builder_clear (&builder); 1297s # g_variant_builder_clear (&invalidated_builder); 1297s # } 1297s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1297s # skeleton->priv->changed_properties = NULL; 1297s # skeleton->priv->changed_properties_idle_source = NULL; 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # return FALSE; 1297s # } 1297s # 1297s # static void 1297s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1297s # { 1297s # ChangedProperty *cp; 1297s # GList *l; 1297s # cp = NULL; 1297s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1297s # { 1297s # ChangedProperty *i_cp = l->data; 1297s # if (i_cp->info == info) 1297s # { 1297s # cp = i_cp; 1297s # break; 1297s # } 1297s # } 1297s # if (cp == NULL) 1297s # { 1297s # cp = g_new0 (ChangedProperty, 1); 1297s # cp->prop_id = prop_id; 1297s # cp->info = info; 1297s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1297s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1297s # g_value_copy (orig_value, &cp->orig_value); 1297s # } 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_notify (GObject *object, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # if (skeleton->priv->changed_properties != NULL && 1297s # skeleton->priv->changed_properties_idle_source == NULL) 1297s # { 1297s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1297s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1297s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1297s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1297s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1297s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1297s # } 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_set_property (GObject *object, 1297s # guint prop_id, 1297s # const GValue *value, 1297s # GParamSpec *pspec) 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info; 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1297s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # g_object_freeze_notify (object); 1297s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1297s # { 1297s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1297s # info->emits_changed_signal) 1297s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1297s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1297s # g_object_notify_by_pspec (object, pspec); 1297s # } 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # g_object_thaw_notify (object); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1297s # { 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1297s # #else 1297s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1297s # #endif 1297s # 1297s # g_mutex_init (&skeleton->priv->lock); 1297s # skeleton->priv->context = g_main_context_ref_thread_default (); 1297s # skeleton->priv->properties = g_new0 (GValue, 1); 1297s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1297s # } 1297s # 1297s # static const gchar * 1297s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # const gchar *value; 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # return value; 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1297s # { 1297s # GObjectClass *gobject_class; 1297s # GDBusInterfaceSkeletonClass *skeleton_class; 1297s # 1297s # gobject_class = G_OBJECT_CLASS (klass); 1297s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1297s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1297s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1297s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1297s # 1297s # 1297s # com_acme_coyote_override_properties (gobject_class, 1); 1297s # 1297s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1297s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1297s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1297s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1297s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1297s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1297s # #endif 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1297s # { 1297s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1297s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_skeleton_new: 1297s # * 1297s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_skeleton_new (void) 1297s # { 1297s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1297s # } 1297s # Error: 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwjh79agf/tmp2cb5_xjr2.xml', '/tmp/tmpwjh79agf/tmpjjx6rsje1.xml', '--output', '-', '--body'] 1297s # Return code: 0 1297s # Output: 1297s # /* 1297s # * This file is generated by gdbus-codegen, do not modify it. 1297s # * 1297s # * The license of this code is the same as for the D-Bus interface description 1297s # * it was derived from. Note that it links to GLib, so must comply with the 1297s # * LGPL linking clauses. 1297s # */ 1297s # 1297s # #ifdef HAVE_CONFIG_H 1297s # # include "config.h" 1297s # #endif 1297s # 1297s # #include 1297s # #ifdef G_OS_UNIX 1297s # # include 1297s # #endif 1297s # 1297s # #ifdef G_ENABLE_DEBUG 1297s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1297s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1297s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1297s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1297s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1297s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1297s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1297s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1297s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1297s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1297s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1297s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1297s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1297s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1297s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1297s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1297s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1297s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1297s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1297s # #else /* !G_ENABLE_DEBUG */ 1297s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1297s # * Do not access GValues directly in your code. Instead, use the 1297s # * g_value_get_*() functions 1297s # */ 1297s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1297s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1297s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1297s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1297s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1297s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1297s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1297s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1297s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1297s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1297s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1297s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1297s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1297s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1297s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1297s # #endif /* !G_ENABLE_DEBUG */ 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusArgInfo parent_struct; 1297s # gboolean use_gvariant; 1297s # } _ExtendedGDBusArgInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusMethodInfo parent_struct; 1297s # const gchar *signal_name; 1297s # gboolean pass_fdlist; 1297s # } _ExtendedGDBusMethodInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusSignalInfo parent_struct; 1297s # const gchar *signal_name; 1297s # } _ExtendedGDBusSignalInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusPropertyInfo parent_struct; 1297s # const gchar *hyphen_name; 1297s # guint use_gvariant : 1; 1297s # guint emits_changed_signal : 1; 1297s # } _ExtendedGDBusPropertyInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # GDBusInterfaceInfo parent_struct; 1297s # const gchar *hyphen_name; 1297s # } _ExtendedGDBusInterfaceInfo; 1297s # 1297s # typedef struct 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info; 1297s # guint prop_id; 1297s # GValue orig_value; /* the value before the change */ 1297s # } ChangedProperty; 1297s # 1297s # static void 1297s # _changed_property_free (ChangedProperty *data) 1297s # { 1297s # g_value_unset (&data->orig_value); 1297s # g_free (data); 1297s # } 1297s # 1297s # static gboolean 1297s # _g_strv_equal0 (gchar **a, gchar **b) 1297s # { 1297s # gboolean ret = FALSE; 1297s # guint n; 1297s # if (a == NULL && b == NULL) 1297s # { 1297s # ret = TRUE; 1297s # goto out; 1297s # } 1297s # if (a == NULL || b == NULL) 1297s # goto out; 1297s # if (g_strv_length (a) != g_strv_length (b)) 1297s # goto out; 1297s # for (n = 0; a[n] != NULL; n++) 1297s # if (g_strcmp0 (a[n], b[n]) != 0) 1297s # goto out; 1297s # ret = TRUE; 1297s # out: 1297s # return ret; 1297s # } 1297s # 1297s # static gboolean 1297s # _g_variant_equal0 (GVariant *a, GVariant *b) 1297s # { 1297s # gboolean ret = FALSE; 1297s # if (a == NULL && b == NULL) 1297s # { 1297s # ret = TRUE; 1297s # goto out; 1297s # } 1297s # if (a == NULL || b == NULL) 1297s # goto out; 1297s # ret = g_variant_equal (a, b); 1297s # out: 1297s # return ret; 1297s # } 1297s # 1297s # G_GNUC_UNUSED static gboolean 1297s # _g_value_equal (const GValue *a, const GValue *b) 1297s # { 1297s # gboolean ret = FALSE; 1297s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1297s # switch (G_VALUE_TYPE (a)) 1297s # { 1297s # case G_TYPE_BOOLEAN: 1297s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1297s # break; 1297s # case G_TYPE_UCHAR: 1297s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1297s # break; 1297s # case G_TYPE_INT: 1297s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1297s # break; 1297s # case G_TYPE_UINT: 1297s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1297s # break; 1297s # case G_TYPE_INT64: 1297s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1297s # break; 1297s # case G_TYPE_UINT64: 1297s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1297s # break; 1297s # case G_TYPE_DOUBLE: 1297s # { 1297s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1297s # gdouble da = g_value_get_double (a); 1297s # gdouble db = g_value_get_double (b); 1297s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1297s # } 1297s # break; 1297s # case G_TYPE_STRING: 1297s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1297s # break; 1297s # case G_TYPE_VARIANT: 1297s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1297s # break; 1297s # default: 1297s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1297s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1297s # else 1297s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1297s # break; 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static void 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint G_GNUC_UNUSED, 1297s # void *marshal_data) 1297s # { 1297s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1297s # (void *data1, 1297s # GDBusMethodInvocation *arg_method_invocation, 1297s # void *data2); 1297s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1297s # GCClosure *cc = (GCClosure*) closure; 1297s # void *data1, *data2; 1297s # gboolean v_return; 1297s # 1297s # g_return_if_fail (return_value != NULL); 1297s # g_return_if_fail (n_param_values == 2); 1297s # 1297s # if (G_CCLOSURE_SWAP_DATA (closure)) 1297s # { 1297s # data1 = closure->data; 1297s # data2 = g_value_peek_pointer (param_values + 0); 1297s # } 1297s # else 1297s # { 1297s # data1 = g_value_peek_pointer (param_values + 0); 1297s # data2 = closure->data; 1297s # } 1297s # 1297s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1297s # (marshal_data ? marshal_data : cc->callback); 1297s # 1297s # v_return = 1297s # callback (data1, 1297s # g_marshal_value_peek_object (param_values + 1), 1297s # data2); 1297s # 1297s # g_value_set_boolean (return_value, v_return); 1297s # } 1297s # 1297s # /* ------------------------------------------------------------------------ 1297s # * Code for interface org.project.Bar.Frobnicator 1297s # * ------------------------------------------------------------------------ 1297s # */ 1297s # 1297s # /** 1297s # * SECTION:OrgProjectBarFrobnicator 1297s # * @title: OrgProjectBarFrobnicator 1297s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1297s # * 1297s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1297s # */ 1297s # 1297s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1297s # 1297s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "RandomMethod", 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "handle-random-method", 1297s # FALSE 1297s # }; 1297s # 1297s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1297s # { 1297s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1297s # NULL 1297s # }; 1297s # 1297s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "org.project.Bar.Frobnicator", 1297s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "org-project-bar-frobnicator", 1297s # }; 1297s # 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_interface_info: 1297s # * 1297s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1297s # * 1297s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1297s # */ 1297s # GDBusInterfaceInfo * 1297s # org_project_bar_frobnicator_interface_info (void) 1297s # { 1297s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_override_properties: 1297s # * @klass: The class structure for a #GObject derived class. 1297s # * @property_id_begin: The property id to assign to the first overridden property. 1297s # * 1297s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1297s # * The properties are overridden in the order they are defined. 1297s # * 1297s # * Returns: The last property id. 1297s # */ 1297s # guint 1297s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1297s # { 1297s # return property_id_begin - 1; 1297s # } 1297s # 1297s # 1297s # inline static void 1297s # org_project_bar_frobnicator_method_marshal_random_method ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicator: 1297s # * 1297s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1297s # */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorIface: 1297s # * @parent_iface: The parent interface. 1297s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1297s # * 1297s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1297s # */ 1297s # 1297s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1297s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1297s # { 1297s # /* GObject signals for incoming D-Bus method calls: */ 1297s # /** 1297s # * OrgProjectBarFrobnicator::handle-random-method: 1297s # * @object: A #OrgProjectBarFrobnicator. 1297s # * @invocation: A #GDBusMethodInvocation. 1297s # * 1297s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1297s # * 1297s # * If 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. 1297s # * 1297s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1297s # */ 1297s # g_signal_new ("handle-random-method", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1297s # g_signal_accumulator_true_handled, 1297s # NULL, 1297s # org_project_bar_frobnicator_method_marshal_random_method, 1297s # G_TYPE_BOOLEAN, 1297s # 1, 1297s # G_TYPE_DBUS_METHOD_INVOCATION); 1297s # 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_call_random_method: 1297s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1297s # * 1297s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1297s # */ 1297s # void 1297s # org_project_bar_frobnicator_call_random_method ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1297s # "RandomMethod", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # callback, 1297s # user_data); 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_call_random_method_finish: 1297s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # org_project_bar_frobnicator_call_random_method_finish ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_call_random_method_sync: 1297s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1297s # * 1297s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # org_project_bar_frobnicator_call_random_method_sync ( 1297s # OrgProjectBarFrobnicator *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1297s # "RandomMethod", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_complete_random_method: 1297s # * @object: A #OrgProjectBarFrobnicator. 1297s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1297s # * 1297s # * 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. 1297s # * 1297s # * This method will free @invocation, you cannot use it afterwards. 1297s # */ 1297s # void 1297s # org_project_bar_frobnicator_complete_random_method ( 1297s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1297s # GDBusMethodInvocation *invocation) 1297s # { 1297s # g_dbus_method_invocation_return_value (invocation, 1297s # g_variant_new ("()")); 1297s # } 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorProxy: 1297s # * 1297s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1297s # */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorProxyClass: 1297s # * @parent_class: The parent class. 1297s # * 1297s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1297s # */ 1297s # 1297s # struct _OrgProjectBarFrobnicatorProxyPrivate 1297s # { 1297s # GData *qdata; 1297s # }; 1297s # 1297s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1297s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1297s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1297s # 1297s # #else 1297s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1297s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1297s # 1297s # #endif 1297s # static void 1297s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1297s # { 1297s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1297s # g_datalist_clear (&proxy->priv->qdata); 1297s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1297s # guint prop_id G_GNUC_UNUSED, 1297s # GValue *value G_GNUC_UNUSED, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1297s # guint prop_id G_GNUC_UNUSED, 1297s # const GValue *value G_GNUC_UNUSED, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1297s # const gchar *sender_name G_GNUC_UNUSED, 1297s # const gchar *signal_name, 1297s # GVariant *parameters) 1297s # { 1297s # _ExtendedGDBusSignalInfo *info; 1297s # GVariantIter iter; 1297s # GVariant *child; 1297s # GValue *paramv; 1297s # gsize num_params; 1297s # gsize n; 1297s # guint signal_id; 1297s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1297s # if (info == NULL) 1297s # return; 1297s # num_params = g_variant_n_children (parameters); 1297s # paramv = g_new0 (GValue, num_params + 1); 1297s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1297s # g_value_set_object (¶mv[0], proxy); 1297s # g_variant_iter_init (&iter, parameters); 1297s # n = 1; 1297s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1297s # { 1297s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1297s # if (arg_info->use_gvariant) 1297s # { 1297s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1297s # g_value_set_variant (¶mv[n], child); 1297s # n++; 1297s # } 1297s # else 1297s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1297s # g_variant_unref (child); 1297s # } 1297s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1297s # g_signal_emitv (paramv, signal_id, 0, NULL); 1297s # for (n = 0; n < num_params + 1; n++) 1297s # g_value_unset (¶mv[n]); 1297s # g_free (paramv); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1297s # GVariant *changed_properties, 1297s # const gchar *const *invalidated_properties) 1297s # { 1297s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1297s # guint n; 1297s # const gchar *key; 1297s # GVariantIter *iter; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # g_variant_get (changed_properties, "a{sv}", &iter); 1297s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1297s # { 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1297s # g_datalist_remove_data (&proxy->priv->qdata, key); 1297s # if (info != NULL) 1297s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1297s # } 1297s # g_variant_iter_free (iter); 1297s # for (n = 0; invalidated_properties[n] != NULL; n++) 1297s # { 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1297s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1297s # if (info != NULL) 1297s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1297s # } 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1297s # { 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1297s # #else 1297s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1297s # #endif 1297s # 1297s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1297s # { 1297s # GObjectClass *gobject_class; 1297s # GDBusProxyClass *proxy_class; 1297s # 1297s # gobject_class = G_OBJECT_CLASS (klass); 1297s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1297s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1297s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1297s # 1297s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1297s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1297s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1297s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1297s # #endif 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new: 1297s # * @connection: A #GDBusConnection. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1297s # * 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1297s # * 1297s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1297s # */ 1297s # void 1297s # org_project_bar_frobnicator_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # 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); 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_finish: 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GObject *ret; 1297s # GObject *source_object; 1297s # source_object = g_async_result_get_source_object (res); 1297s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1297s # g_object_unref (source_object); 1297s # if (ret != NULL) 1297s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_sync: 1297s # * @connection: A #GDBusConnection. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1297s # * 1297s # * The calling thread is blocked until a reply is received. 1297s # * 1297s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GInitable *ret; 1297s # 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); 1297s # if (ret != NULL) 1297s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_for_bus: 1297s # * @bus_type: A #GBusType. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: A bus name (well-known or unique). 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1297s # * 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1297s # * 1297s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1297s # */ 1297s # void 1297s # org_project_bar_frobnicator_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # 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); 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GObject *ret; 1297s # GObject *source_object; 1297s # source_object = g_async_result_get_source_object (res); 1297s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1297s # g_object_unref (source_object); 1297s # if (ret != NULL) 1297s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1297s # * @bus_type: A #GBusType. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: A bus name (well-known or unique). 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1297s # * 1297s # * The calling thread is blocked until a reply is received. 1297s # * 1297s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GInitable *ret; 1297s # 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); 1297s # if (ret != NULL) 1297s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorSkeleton: 1297s # * 1297s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1297s # */ 1297s # 1297s # /** 1297s # * OrgProjectBarFrobnicatorSkeletonClass: 1297s # * @parent_class: The parent class. 1297s # * 1297s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1297s # */ 1297s # 1297s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1297s # { 1297s # GValue *properties; 1297s # GList *changed_properties; 1297s # GSource *changed_properties_idle_source; 1297s # GMainContext *context; 1297s # GMutex lock; 1297s # }; 1297s # 1297s # static void 1297s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name, 1297s # const gchar *method_name, 1297s # GVariant *parameters, 1297s # GDBusMethodInvocation *invocation, 1297s # gpointer user_data) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1297s # _ExtendedGDBusMethodInfo *info; 1297s # GVariantIter iter; 1297s # GVariant *child; 1297s # GValue *paramv; 1297s # gsize num_params; 1297s # guint num_extra; 1297s # gsize n; 1297s # guint signal_id; 1297s # GValue return_value = G_VALUE_INIT; 1297s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1297s # g_assert (info != NULL); 1297s # num_params = g_variant_n_children (parameters); 1297s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1297s # n = 0; 1297s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1297s # g_value_set_object (¶mv[n++], skeleton); 1297s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1297s # g_value_set_object (¶mv[n++], invocation); 1297s # if (info->pass_fdlist) 1297s # { 1297s # #ifdef G_OS_UNIX 1297s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1297s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1297s # #else 1297s # g_assert_not_reached (); 1297s # #endif 1297s # } 1297s # g_variant_iter_init (&iter, parameters); 1297s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1297s # { 1297s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1297s # if (arg_info->use_gvariant) 1297s # { 1297s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1297s # g_value_set_variant (¶mv[n], child); 1297s # n++; 1297s # } 1297s # else 1297s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1297s # g_variant_unref (child); 1297s # } 1297s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1297s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1297s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1297s # if (!g_value_get_boolean (&return_value)) 1297s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1297s # g_value_unset (&return_value); 1297s # for (n = 0; n < num_params + num_extra; n++) 1297s # g_value_unset (¶mv[n]); 1297s # g_free (paramv); 1297s # } 1297s # 1297s # static GVariant * 1297s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name G_GNUC_UNUSED, 1297s # const gchar *property_name, 1297s # GError **error, 1297s # gpointer user_data) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1297s # GValue value = G_VALUE_INIT; 1297s # GParamSpec *pspec; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # GVariant *ret; 1297s # ret = NULL; 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1297s # g_assert (info != NULL); 1297s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1297s # if (pspec == NULL) 1297s # { 1297s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1297s # } 1297s # else 1297s # { 1297s # g_value_init (&value, pspec->value_type); 1297s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1297s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1297s # g_value_unset (&value); 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static gboolean 1297s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name G_GNUC_UNUSED, 1297s # const gchar *property_name, 1297s # GVariant *variant, 1297s # GError **error, 1297s # gpointer user_data) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1297s # GValue value = G_VALUE_INIT; 1297s # GParamSpec *pspec; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # gboolean ret; 1297s # ret = FALSE; 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1297s # g_assert (info != NULL); 1297s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1297s # if (pspec == NULL) 1297s # { 1297s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1297s # } 1297s # else 1297s # { 1297s # if (info->use_gvariant) 1297s # g_value_set_variant (&value, variant); 1297s # else 1297s # g_dbus_gvariant_to_gvalue (variant, &value); 1297s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1297s # g_value_unset (&value); 1297s # ret = TRUE; 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1297s # { 1297s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1297s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1297s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1297s # {NULL} 1297s # }; 1297s # 1297s # static GDBusInterfaceInfo * 1297s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1297s # { 1297s # return org_project_bar_frobnicator_interface_info (); 1297s # } 1297s # 1297s # static GDBusInterfaceVTable * 1297s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1297s # { 1297s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1297s # } 1297s # 1297s # static GVariant * 1297s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1297s # 1297s # GVariantBuilder builder; 1297s # guint n; 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1297s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # #else 1297s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # #endif 1297s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1297s # goto out; 1297s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1297s # { 1297s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1297s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1297s # { 1297s # GVariant *value; 1297s # 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); 1297s # if (value != NULL) 1297s # { 1297s # g_variant_take_ref (value); 1297s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1297s # g_variant_unref (value); 1297s # } 1297s # } 1297s # } 1297s # out: 1297s # return g_variant_builder_end (&builder); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1297s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1297s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1297s # 1297s # #else 1297s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1297s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1297s # 1297s # #endif 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1297s # { 1297s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1297s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1297s # if (skeleton->priv->changed_properties_idle_source != NULL) 1297s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1297s # g_main_context_unref (skeleton->priv->context); 1297s # g_mutex_clear (&skeleton->priv->lock); 1297s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1297s # { 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1297s # #else 1297s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1297s # #endif 1297s # 1297s # g_mutex_init (&skeleton->priv->lock); 1297s # skeleton->priv->context = g_main_context_ref_thread_default (); 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1297s # { 1297s # GObjectClass *gobject_class; 1297s # GDBusInterfaceSkeletonClass *skeleton_class; 1297s # 1297s # gobject_class = G_OBJECT_CLASS (klass); 1297s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1297s # 1297s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1297s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1297s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1297s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1297s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1297s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1297s # #endif 1297s # } 1297s # 1297s # static void 1297s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1297s # { 1297s # } 1297s # 1297s # /** 1297s # * org_project_bar_frobnicator_skeleton_new: 1297s # * 1297s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1297s # * 1297s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1297s # */ 1297s # OrgProjectBarFrobnicator * 1297s # org_project_bar_frobnicator_skeleton_new (void) 1297s # { 1297s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1297s # } 1297s # 1297s # /* ------------------------------------------------------------------------ 1297s # * Code for interface com.acme.Coyote 1297s # * ------------------------------------------------------------------------ 1297s # */ 1297s # 1297s # /** 1297s # * SECTION:ComAcmeCoyote 1297s # * @title: ComAcmeCoyote 1297s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1297s # * 1297s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1297s # */ 1297s # 1297s # enum 1297s # { 1297s # _COM_ACME_COYOTE_SURPRISED, 1297s # }; 1297s # 1297s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1297s # 1297s # /* ---- Introspection data for com.acme.Coyote ---- */ 1297s # 1297s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Run", 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "handle-run", 1297s # FALSE 1297s # }; 1297s # 1297s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Sleep", 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "handle-sleep", 1297s # FALSE 1297s # }; 1297s # 1297s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Attack", 1297s # NULL, 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "handle-attack", 1297s # FALSE 1297s # }; 1297s # 1297s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1297s # { 1297s # &_com_acme_coyote_method_info_run.parent_struct, 1297s # &_com_acme_coyote_method_info_sleep.parent_struct, 1297s # &_com_acme_coyote_method_info_attack.parent_struct, 1297s # NULL 1297s # }; 1297s # 1297s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Surprised", 1297s # NULL, 1297s # NULL 1297s # }, 1297s # "surprised" 1297s # }; 1297s # 1297s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1297s # { 1297s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1297s # NULL 1297s # }; 1297s # 1297s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "Mood", 1297s # (gchar *) "s", 1297s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1297s # NULL 1297s # }, 1297s # "mood", 1297s # FALSE, 1297s # TRUE 1297s # }; 1297s # 1297s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1297s # { 1297s # &_com_acme_coyote_property_info_mood.parent_struct, 1297s # NULL 1297s # }; 1297s # 1297s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1297s # { 1297s # { 1297s # -1, 1297s # (gchar *) "com.acme.Coyote", 1297s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1297s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1297s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1297s # NULL 1297s # }, 1297s # "com-acme-coyote", 1297s # }; 1297s # 1297s # 1297s # /** 1297s # * com_acme_coyote_interface_info: 1297s # * 1297s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1297s # * 1297s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1297s # */ 1297s # GDBusInterfaceInfo * 1297s # com_acme_coyote_interface_info (void) 1297s # { 1297s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_override_properties: 1297s # * @klass: The class structure for a #GObject derived class. 1297s # * @property_id_begin: The property id to assign to the first overridden property. 1297s # * 1297s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1297s # * The properties are overridden in the order they are defined. 1297s # * 1297s # * Returns: The last property id. 1297s # */ 1297s # guint 1297s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1297s # { 1297s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1297s # return property_id_begin - 1; 1297s # } 1297s # 1297s # 1297s # inline static void 1297s # com_acme_coyote_signal_marshal_surprised ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # g_cclosure_marshal_VOID__VOID (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # inline static void 1297s # com_acme_coyote_method_marshal_run ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # inline static void 1297s # com_acme_coyote_method_marshal_sleep ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # inline static void 1297s # com_acme_coyote_method_marshal_attack ( 1297s # GClosure *closure, 1297s # GValue *return_value, 1297s # unsigned int n_param_values, 1297s # const GValue *param_values, 1297s # void *invocation_hint, 1297s # void *marshal_data) 1297s # { 1297s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1297s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1297s # } 1297s # 1297s # 1297s # /** 1297s # * ComAcmeCoyote: 1297s # * 1297s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1297s # */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteIface: 1297s # * @parent_iface: The parent interface. 1297s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1297s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1297s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1297s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1297s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1297s # * 1297s # * Virtual table for the D-Bus interface com.acme.Coyote. 1297s # */ 1297s # 1297s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1297s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1297s # 1297s # static void 1297s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1297s # { 1297s # /* GObject signals for incoming D-Bus method calls: */ 1297s # /** 1297s # * ComAcmeCoyote::handle-run: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: A #GDBusMethodInvocation. 1297s # * 1297s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1297s # * 1297s # * If 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. 1297s # * 1297s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1297s # */ 1297s # g_signal_new ("handle-run", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1297s # g_signal_accumulator_true_handled, 1297s # NULL, 1297s # com_acme_coyote_method_marshal_run, 1297s # G_TYPE_BOOLEAN, 1297s # 1, 1297s # G_TYPE_DBUS_METHOD_INVOCATION); 1297s # 1297s # /** 1297s # * ComAcmeCoyote::handle-sleep: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: A #GDBusMethodInvocation. 1297s # * 1297s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1297s # * 1297s # * If 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. 1297s # * 1297s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1297s # */ 1297s # g_signal_new ("handle-sleep", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1297s # g_signal_accumulator_true_handled, 1297s # NULL, 1297s # com_acme_coyote_method_marshal_sleep, 1297s # G_TYPE_BOOLEAN, 1297s # 1, 1297s # G_TYPE_DBUS_METHOD_INVOCATION); 1297s # 1297s # /** 1297s # * ComAcmeCoyote::handle-attack: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: A #GDBusMethodInvocation. 1297s # * 1297s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1297s # * 1297s # * If 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. 1297s # * 1297s # * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. 1297s # */ 1297s # g_signal_new ("handle-attack", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1297s # g_signal_accumulator_true_handled, 1297s # NULL, 1297s # com_acme_coyote_method_marshal_attack, 1297s # G_TYPE_BOOLEAN, 1297s # 1, 1297s # G_TYPE_DBUS_METHOD_INVOCATION); 1297s # 1297s # /* GObject signals for received D-Bus signals: */ 1297s # /** 1297s # * ComAcmeCoyote::surprised: 1297s # * @object: A #ComAcmeCoyote. 1297s # * 1297s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1297s # * 1297s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 1297s # */ 1297s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1297s # g_signal_new ("surprised", 1297s # G_TYPE_FROM_INTERFACE (iface), 1297s # G_SIGNAL_RUN_LAST, 1297s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1297s # NULL, 1297s # NULL, 1297s # com_acme_coyote_signal_marshal_surprised, 1297s # G_TYPE_NONE, 1297s # 0); 1297s # 1297s # /* GObject properties for D-Bus properties: */ 1297s # /** 1297s # * ComAcmeCoyote:mood: 1297s # * 1297s # * Represents the D-Bus property "Mood". 1297s # * 1297s # * 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. 1297s # */ 1297s # g_object_interface_install_property (iface, 1297s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_get_mood: (skip) 1297s # * @object: A #ComAcmeCoyote. 1297s # * 1297s # * Gets the value of the "Mood" D-Bus property. 1297s # * 1297s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1297s # * 1297s # * 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. 1297s # * 1297s # * 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. 1297s # */ 1297s # const gchar * 1297s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1297s # { 1297s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1297s # 1297s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_dup_mood: (skip) 1297s # * @object: A #ComAcmeCoyote. 1297s # * 1297s # * Gets a copy of the "Mood" D-Bus property. 1297s # * 1297s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1297s # * 1297s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1297s # */ 1297s # gchar * 1297s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1297s # { 1297s # gchar *value; 1297s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1297s # return value; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_set_mood: (skip) 1297s # * @object: A #ComAcmeCoyote. 1297s # * @value: The value to set. 1297s # * 1297s # * Sets the "Mood" D-Bus property to @value. 1297s # * 1297s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1297s # */ 1297s # void 1297s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1297s # { 1297s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_emit_surprised: 1297s # * @object: A #ComAcmeCoyote. 1297s # * 1297s # * Emits the "Surprised" D-Bus signal. 1297s # */ 1297s # void 1297s # com_acme_coyote_emit_surprised ( 1297s # ComAcmeCoyote *object) 1297s # { 1297s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_run: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1297s # */ 1297s # void 1297s # com_acme_coyote_call_run ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1297s # "Run", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # callback, 1297s # user_data); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_run_finish: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_call_run(). 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_run_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_run_sync: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_run_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1297s # "Run", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_sleep: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1297s # */ 1297s # void 1297s # com_acme_coyote_call_sleep ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1297s # "Sleep", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # callback, 1297s # user_data); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_sleep_finish: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_sleep_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_sleep_sync: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_sleep_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1297s # "Sleep", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_attack: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1297s # */ 1297s # void 1297s # com_acme_coyote_call_attack ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1297s # "Attack", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # callback, 1297s # user_data); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_attack_finish: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_call_attack(). 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_attack_finish ( 1297s # ComAcmeCoyote *proxy, 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_call_attack_sync: 1297s # * @proxy: A #ComAcmeCoyoteProxy. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL. 1297s # * 1297s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1297s # * 1297s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1297s # */ 1297s # gboolean 1297s # com_acme_coyote_call_attack_sync ( 1297s # ComAcmeCoyote *proxy, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GVariant *_ret; 1297s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1297s # "Attack", 1297s # g_variant_new ("()"), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # cancellable, 1297s # error); 1297s # if (_ret == NULL) 1297s # goto _out; 1297s # g_variant_get (_ret, 1297s # "()"); 1297s # g_variant_unref (_ret); 1297s # _out: 1297s # return _ret != NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_complete_run: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1297s # * 1297s # * 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. 1297s # * 1297s # * This method will free @invocation, you cannot use it afterwards. 1297s # */ 1297s # void 1297s # com_acme_coyote_complete_run ( 1297s # ComAcmeCoyote *object G_GNUC_UNUSED, 1297s # GDBusMethodInvocation *invocation) 1297s # { 1297s # g_dbus_method_invocation_return_value (invocation, 1297s # g_variant_new ("()")); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_complete_sleep: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1297s # * 1297s # * 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. 1297s # * 1297s # * This method will free @invocation, you cannot use it afterwards. 1297s # */ 1297s # void 1297s # com_acme_coyote_complete_sleep ( 1297s # ComAcmeCoyote *object G_GNUC_UNUSED, 1297s # GDBusMethodInvocation *invocation) 1297s # { 1297s # g_dbus_method_invocation_return_value (invocation, 1297s # g_variant_new ("()")); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_complete_attack: 1297s # * @object: A #ComAcmeCoyote. 1297s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1297s # * 1297s # * 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. 1297s # * 1297s # * This method will free @invocation, you cannot use it afterwards. 1297s # */ 1297s # void 1297s # com_acme_coyote_complete_attack ( 1297s # ComAcmeCoyote *object G_GNUC_UNUSED, 1297s # GDBusMethodInvocation *invocation) 1297s # { 1297s # g_dbus_method_invocation_return_value (invocation, 1297s # g_variant_new ("()")); 1297s # } 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteProxy: 1297s # * 1297s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1297s # */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteProxyClass: 1297s # * @parent_class: The parent class. 1297s # * 1297s # * Class structure for #ComAcmeCoyoteProxy. 1297s # */ 1297s # 1297s # struct _ComAcmeCoyoteProxyPrivate 1297s # { 1297s # GData *qdata; 1297s # }; 1297s # 1297s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1297s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1297s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1297s # 1297s # #else 1297s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1297s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1297s # 1297s # #endif 1297s # static void 1297s # com_acme_coyote_proxy_finalize (GObject *object) 1297s # { 1297s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1297s # g_datalist_clear (&proxy->priv->qdata); 1297s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_get_property (GObject *object, 1297s # guint prop_id, 1297s # GValue *value, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info; 1297s # GVariant *variant; 1297s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1297s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1297s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1297s # if (info->use_gvariant) 1297s # { 1297s # g_value_set_variant (value, variant); 1297s # } 1297s # else 1297s # { 1297s # if (variant != NULL) 1297s # g_dbus_gvariant_to_gvalue (variant, value); 1297s # } 1297s # if (variant != NULL) 1297s # g_variant_unref (variant); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1297s # GAsyncResult *res, 1297s # gpointer user_data) 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info = user_data; 1297s # GError *error; 1297s # GVariant *_ret; 1297s # error = NULL; 1297s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1297s # if (!_ret) 1297s # { 1297s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1297s # info->parent_struct.name, 1297s # error->message, g_quark_to_string (error->domain), error->code); 1297s # g_error_free (error); 1297s # } 1297s # else 1297s # { 1297s # g_variant_unref (_ret); 1297s # } 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_set_property (GObject *object, 1297s # guint prop_id, 1297s # const GValue *value, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info; 1297s # GVariant *variant; 1297s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1297s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1297s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1297s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1297s # "org.freedesktop.DBus.Properties.Set", 1297s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1297s # G_DBUS_CALL_FLAGS_NONE, 1297s # -1, 1297s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1297s # g_variant_unref (variant); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1297s # const gchar *sender_name G_GNUC_UNUSED, 1297s # const gchar *signal_name, 1297s # GVariant *parameters) 1297s # { 1297s # _ExtendedGDBusSignalInfo *info; 1297s # GVariantIter iter; 1297s # GVariant *child; 1297s # GValue *paramv; 1297s # gsize num_params; 1297s # gsize n; 1297s # guint signal_id; 1297s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1297s # if (info == NULL) 1297s # return; 1297s # num_params = g_variant_n_children (parameters); 1297s # paramv = g_new0 (GValue, num_params + 1); 1297s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1297s # g_value_set_object (¶mv[0], proxy); 1297s # g_variant_iter_init (&iter, parameters); 1297s # n = 1; 1297s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1297s # { 1297s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1297s # if (arg_info->use_gvariant) 1297s # { 1297s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1297s # g_value_set_variant (¶mv[n], child); 1297s # n++; 1297s # } 1297s # else 1297s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1297s # g_variant_unref (child); 1297s # } 1297s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1297s # g_signal_emitv (paramv, signal_id, 0, NULL); 1297s # for (n = 0; n < num_params + 1; n++) 1297s # g_value_unset (¶mv[n]); 1297s # g_free (paramv); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1297s # GVariant *changed_properties, 1297s # const gchar *const *invalidated_properties) 1297s # { 1297s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1297s # guint n; 1297s # const gchar *key; 1297s # GVariantIter *iter; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # g_variant_get (changed_properties, "a{sv}", &iter); 1297s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1297s # { 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1297s # g_datalist_remove_data (&proxy->priv->qdata, key); 1297s # if (info != NULL) 1297s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1297s # } 1297s # g_variant_iter_free (iter); 1297s # for (n = 0; invalidated_properties[n] != NULL; n++) 1297s # { 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1297s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1297s # if (info != NULL) 1297s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1297s # } 1297s # } 1297s # 1297s # static const gchar * 1297s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1297s # { 1297s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1297s # GVariant *variant; 1297s # const gchar *value = NULL; 1297s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1297s # if (variant != NULL) 1297s # { 1297s # value = g_variant_get_string (variant, NULL); 1297s # g_variant_unref (variant); 1297s # } 1297s # return value; 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1297s # { 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1297s # #else 1297s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1297s # #endif 1297s # 1297s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1297s # { 1297s # GObjectClass *gobject_class; 1297s # GDBusProxyClass *proxy_class; 1297s # 1297s # gobject_class = G_OBJECT_CLASS (klass); 1297s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1297s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1297s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1297s # 1297s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1297s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1297s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1297s # 1297s # com_acme_coyote_override_properties (gobject_class, 1); 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1297s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1297s # #endif 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1297s # { 1297s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new: 1297s # * @connection: A #GDBusConnection. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1297s # * 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1297s # */ 1297s # void 1297s # com_acme_coyote_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # 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); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_finish: 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GObject *ret; 1297s # GObject *source_object; 1297s # source_object = g_async_result_get_source_object (res); 1297s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1297s # g_object_unref (source_object); 1297s # if (ret != NULL) 1297s # return COM_ACME_COYOTE (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_sync: 1297s # * @connection: A #GDBusConnection. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1297s # * 1297s # * The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GInitable *ret; 1297s # 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); 1297s # if (ret != NULL) 1297s # return COM_ACME_COYOTE (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_for_bus: 1297s # * @bus_type: A #GBusType. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: A bus name (well-known or unique). 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1297s # * @user_data: User data to pass to @callback. 1297s # * 1297s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1297s # * 1297s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1297s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1297s # * 1297s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1297s # */ 1297s # void 1297s # com_acme_coyote_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data) 1297s # { 1297s # 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); 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_for_bus_finish: 1297s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error) 1297s # { 1297s # GObject *ret; 1297s # GObject *source_object; 1297s # source_object = g_async_result_get_source_object (res); 1297s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1297s # g_object_unref (source_object); 1297s # if (ret != NULL) 1297s # return COM_ACME_COYOTE (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_proxy_new_for_bus_sync: 1297s # * @bus_type: A #GBusType. 1297s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1297s # * @name: A bus name (well-known or unique). 1297s # * @object_path: An object path. 1297s # * @cancellable: (nullable): A #GCancellable or %NULL. 1297s # * @error: Return location for error or %NULL 1297s # * 1297s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1297s # * 1297s # * The calling thread is blocked until a reply is received. 1297s # * 1297s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error) 1297s # { 1297s # GInitable *ret; 1297s # 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); 1297s # if (ret != NULL) 1297s # return COM_ACME_COYOTE (ret); 1297s # else 1297s # return NULL; 1297s # } 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteSkeleton: 1297s # * 1297s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1297s # */ 1297s # 1297s # /** 1297s # * ComAcmeCoyoteSkeletonClass: 1297s # * @parent_class: The parent class. 1297s # * 1297s # * Class structure for #ComAcmeCoyoteSkeleton. 1297s # */ 1297s # 1297s # struct _ComAcmeCoyoteSkeletonPrivate 1297s # { 1297s # GValue *properties; 1297s # GList *changed_properties; 1297s # GSource *changed_properties_idle_source; 1297s # GMainContext *context; 1297s # GMutex lock; 1297s # }; 1297s # 1297s # static void 1297s # _com_acme_coyote_skeleton_handle_method_call ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name, 1297s # const gchar *method_name, 1297s # GVariant *parameters, 1297s # GDBusMethodInvocation *invocation, 1297s # gpointer user_data) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1297s # _ExtendedGDBusMethodInfo *info; 1297s # GVariantIter iter; 1297s # GVariant *child; 1297s # GValue *paramv; 1297s # gsize num_params; 1297s # guint num_extra; 1297s # gsize n; 1297s # guint signal_id; 1297s # GValue return_value = G_VALUE_INIT; 1297s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1297s # g_assert (info != NULL); 1297s # num_params = g_variant_n_children (parameters); 1297s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1297s # n = 0; 1297s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1297s # g_value_set_object (¶mv[n++], skeleton); 1297s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1297s # g_value_set_object (¶mv[n++], invocation); 1297s # if (info->pass_fdlist) 1297s # { 1297s # #ifdef G_OS_UNIX 1297s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1297s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1297s # #else 1297s # g_assert_not_reached (); 1297s # #endif 1297s # } 1297s # g_variant_iter_init (&iter, parameters); 1297s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1297s # { 1297s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1297s # if (arg_info->use_gvariant) 1297s # { 1297s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1297s # g_value_set_variant (¶mv[n], child); 1297s # n++; 1297s # } 1297s # else 1297s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1297s # g_variant_unref (child); 1297s # } 1297s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1297s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1297s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1297s # if (!g_value_get_boolean (&return_value)) 1297s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1297s # g_value_unset (&return_value); 1297s # for (n = 0; n < num_params + num_extra; n++) 1297s # g_value_unset (¶mv[n]); 1297s # g_free (paramv); 1297s # } 1297s # 1297s # static GVariant * 1297s # _com_acme_coyote_skeleton_handle_get_property ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name G_GNUC_UNUSED, 1297s # const gchar *property_name, 1297s # GError **error, 1297s # gpointer user_data) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1297s # GValue value = G_VALUE_INIT; 1297s # GParamSpec *pspec; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # GVariant *ret; 1297s # ret = NULL; 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1297s # g_assert (info != NULL); 1297s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1297s # if (pspec == NULL) 1297s # { 1297s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1297s # } 1297s # else 1297s # { 1297s # g_value_init (&value, pspec->value_type); 1297s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1297s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1297s # g_value_unset (&value); 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static gboolean 1297s # _com_acme_coyote_skeleton_handle_set_property ( 1297s # GDBusConnection *connection G_GNUC_UNUSED, 1297s # const gchar *sender G_GNUC_UNUSED, 1297s # const gchar *object_path G_GNUC_UNUSED, 1297s # const gchar *interface_name G_GNUC_UNUSED, 1297s # const gchar *property_name, 1297s # GVariant *variant, 1297s # GError **error, 1297s # gpointer user_data) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1297s # GValue value = G_VALUE_INIT; 1297s # GParamSpec *pspec; 1297s # _ExtendedGDBusPropertyInfo *info; 1297s # gboolean ret; 1297s # ret = FALSE; 1297s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1297s # g_assert (info != NULL); 1297s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1297s # if (pspec == NULL) 1297s # { 1297s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1297s # } 1297s # else 1297s # { 1297s # if (info->use_gvariant) 1297s # g_value_set_variant (&value, variant); 1297s # else 1297s # g_dbus_gvariant_to_gvalue (variant, &value); 1297s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1297s # g_value_unset (&value); 1297s # ret = TRUE; 1297s # } 1297s # return ret; 1297s # } 1297s # 1297s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1297s # { 1297s # _com_acme_coyote_skeleton_handle_method_call, 1297s # _com_acme_coyote_skeleton_handle_get_property, 1297s # _com_acme_coyote_skeleton_handle_set_property, 1297s # {NULL} 1297s # }; 1297s # 1297s # static GDBusInterfaceInfo * 1297s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1297s # { 1297s # return com_acme_coyote_interface_info (); 1297s # } 1297s # 1297s # static GDBusInterfaceVTable * 1297s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1297s # { 1297s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1297s # } 1297s # 1297s # static GVariant * 1297s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1297s # 1297s # GVariantBuilder builder; 1297s # guint n; 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1297s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # #else 1297s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # #endif 1297s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1297s # goto out; 1297s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1297s # { 1297s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1297s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1297s # { 1297s # GVariant *value; 1297s # 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); 1297s # if (value != NULL) 1297s # { 1297s # g_variant_take_ref (value); 1297s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1297s # g_variant_unref (value); 1297s # } 1297s # } 1297s # } 1297s # out: 1297s # return g_variant_builder_end (&builder); 1297s # } 1297s # 1297s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1297s # gboolean emit_changed = FALSE; 1297s # 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # if (skeleton->priv->changed_properties_idle_source != NULL) 1297s # { 1297s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1297s # skeleton->priv->changed_properties_idle_source = NULL; 1297s # emit_changed = TRUE; 1297s # } 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # 1297s # if (emit_changed) 1297s # _com_acme_coyote_emit_changed (skeleton); 1297s # } 1297s # 1297s # static void 1297s # _com_acme_coyote_on_signal_surprised ( 1297s # ComAcmeCoyote *object) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # 1297s # GList *connections, *l; 1297s # GVariant *signal_variant; 1297s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1297s # 1297s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1297s # for (l = connections; l != NULL; l = l->next) 1297s # { 1297s # GDBusConnection *connection = l->data; 1297s # g_dbus_connection_emit_signal (connection, 1297s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1297s # signal_variant, NULL); 1297s # } 1297s # g_variant_unref (signal_variant); 1297s # g_list_free_full (connections, g_object_unref); 1297s # } 1297s # 1297s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1297s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1297s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1297s # 1297s # #else 1297s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1297s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1297s # 1297s # #endif 1297s # static void 1297s # com_acme_coyote_skeleton_finalize (GObject *object) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # guint n; 1297s # for (n = 0; n < 1; n++) 1297s # g_value_unset (&skeleton->priv->properties[n]); 1297s # g_free (skeleton->priv->properties); 1297s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1297s # if (skeleton->priv->changed_properties_idle_source != NULL) 1297s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1297s # g_main_context_unref (skeleton->priv->context); 1297s # g_mutex_clear (&skeleton->priv->lock); 1297s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_get_property (GObject *object, 1297s # guint prop_id, 1297s # GValue *value, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # } 1297s # 1297s # static gboolean 1297s # _com_acme_coyote_emit_changed (gpointer user_data) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1297s # GList *l; 1297s # GVariantBuilder builder; 1297s # GVariantBuilder invalidated_builder; 1297s # guint num_changes; 1297s # 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1297s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1297s # #else 1297s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1297s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1297s # #endif 1297s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1297s # { 1297s # ChangedProperty *cp = l->data; 1297s # GVariant *variant; 1297s # const GValue *cur_value; 1297s # 1297s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1297s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1297s # { 1297s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1297s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1297s # g_variant_unref (variant); 1297s # num_changes++; 1297s # } 1297s # } 1297s # if (num_changes > 0) 1297s # { 1297s # GList *connections, *ll; 1297s # GVariant *signal_variant; 1297s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1297s # &builder, &invalidated_builder)); 1297s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1297s # for (ll = connections; ll != NULL; ll = ll->next) 1297s # { 1297s # GDBusConnection *connection = ll->data; 1297s # 1297s # g_dbus_connection_emit_signal (connection, 1297s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1297s # "org.freedesktop.DBus.Properties", 1297s # "PropertiesChanged", 1297s # signal_variant, 1297s # NULL); 1297s # } 1297s # g_variant_unref (signal_variant); 1297s # g_list_free_full (connections, g_object_unref); 1297s # } 1297s # else 1297s # { 1297s # g_variant_builder_clear (&builder); 1297s # g_variant_builder_clear (&invalidated_builder); 1297s # } 1297s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1297s # skeleton->priv->changed_properties = NULL; 1297s # skeleton->priv->changed_properties_idle_source = NULL; 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # return FALSE; 1297s # } 1297s # 1297s # static void 1297s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1297s # { 1297s # ChangedProperty *cp; 1297s # GList *l; 1297s # cp = NULL; 1297s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1297s # { 1297s # ChangedProperty *i_cp = l->data; 1297s # if (i_cp->info == info) 1297s # { 1297s # cp = i_cp; 1297s # break; 1297s # } 1297s # } 1297s # if (cp == NULL) 1297s # { 1297s # cp = g_new0 (ChangedProperty, 1); 1297s # cp->prop_id = prop_id; 1297s # cp->info = info; 1297s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1297s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1297s # g_value_copy (orig_value, &cp->orig_value); 1297s # } 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_notify (GObject *object, 1297s # GParamSpec *pspec G_GNUC_UNUSED) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # if (skeleton->priv->changed_properties != NULL && 1297s # skeleton->priv->changed_properties_idle_source == NULL) 1297s # { 1297s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1297s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1297s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1297s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1297s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1297s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1297s # } 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_set_property (GObject *object, 1297s # guint prop_id, 1297s # const GValue *value, 1297s # GParamSpec *pspec) 1297s # { 1297s # const _ExtendedGDBusPropertyInfo *info; 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1297s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # g_object_freeze_notify (object); 1297s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1297s # { 1297s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1297s # info->emits_changed_signal) 1297s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1297s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1297s # g_object_notify_by_pspec (object, pspec); 1297s # } 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # g_object_thaw_notify (object); 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1297s # { 1297s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1297s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1297s # #else 1297s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1297s # #endif 1297s # 1297s # g_mutex_init (&skeleton->priv->lock); 1297s # skeleton->priv->context = g_main_context_ref_thread_default (); 1297s # skeleton->priv->properties = g_new0 (GValue, 1); 1297s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1297s # } 1297s # 1297s # static const gchar * 1297s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1297s # { 1297s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1297s # const gchar *value; 1297s # g_mutex_lock (&skeleton->priv->lock); 1297s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1297s # g_mutex_unlock (&skeleton->priv->lock); 1297s # return value; 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1297s # { 1297s # GObjectClass *gobject_class; 1297s # GDBusInterfaceSkeletonClass *skeleton_class; 1297s # 1297s # gobject_class = G_OBJECT_CLASS (klass); 1297s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1297s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1297s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1297s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1297s # 1297s # 1297s # com_acme_coyote_override_properties (gobject_class, 1); 1297s # 1297s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1297s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1297s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1297s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1297s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1297s # 1297s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1297s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1297s # #endif 1297s # } 1297s # 1297s # static void 1297s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1297s # { 1297s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1297s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1297s # } 1297s # 1297s # /** 1297s # * com_acme_coyote_skeleton_new: 1297s # * 1297s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1297s # * 1297s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1297s # */ 1297s # ComAcmeCoyote * 1297s # com_acme_coyote_skeleton_new (void) 1297s # { 1297s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1297s # } 1297s # Error: 1297s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1297s # gdbus-codegen: /usr/bin/gdbus-codegen 1297s # tmpdir: /tmp/tmpdnhlkvjg 1297s # /tmp/tmpdnhlkvjg/tmpiiutxmut.xml: 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdnhlkvjg/tmpiiutxmut.xml', '--output', '-', '--header'] 1297s # Return code: 0 1297s # Output: 1297s # /* 1297s # * This file is generated by gdbus-codegen, do not modify it. 1297s # * 1297s # * The license of this code is the same as for the D-Bus interface description 1297s # * it was derived from. Note that it links to GLib, so must comply with the 1297s # * LGPL linking clauses. 1297s # */ 1297s # 1297s # #ifndef __STDOUT__ 1297s # #define __STDOUT__ 1297s # 1297s # #include 1297s # 1297s # G_BEGIN_DECLS 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # /* Declarations for FDPassing */ 1297s # 1297s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1297s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1297s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1297s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1297s # 1297s # struct _FDPassing; 1297s # typedef struct _FDPassing FDPassing; 1297s # typedef struct _FDPassingIface FDPassingIface; 1297s # 1297s # struct _FDPassingIface 1297s # { 1297s # GTypeInterface parent_iface; 1297s # 1297s # gboolean (*handle_hello_fd) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # const gchar *arg_greeting); 1297s # 1297s # gboolean (*handle_no_annotation) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale); 1297s # 1297s # gboolean (*handle_no_annotation_nested) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GVariant *arg_files); 1297s # 1297s # }; 1297s # 1297s # GType fdpassing_get_type (void) G_GNUC_CONST; 1297s # 1297s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1297s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1297s # 1297s # 1297s # /* D-Bus method call completion functions: */ 1297s # void fdpassing_complete_hello_fd ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # const gchar *response); 1297s # 1297s # void fdpassing_complete_no_annotation ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GVariant *response, 1297s # const gchar *response_locale); 1297s # 1297s # void fdpassing_complete_no_annotation_nested ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # 1297s # 1297s # /* D-Bus method calls: */ 1297s # void fdpassing_call_hello_fd ( 1297s # FDPassing *proxy, 1297s # const gchar *arg_greeting, 1297s # GUnixFDList *fd_list, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_hello_fd_finish ( 1297s # FDPassing *proxy, 1297s # gchar **out_response, 1297s # GUnixFDList **out_fd_list, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_hello_fd_sync ( 1297s # FDPassing *proxy, 1297s # const gchar *arg_greeting, 1297s # GUnixFDList *fd_list, 1297s # gchar **out_response, 1297s # GUnixFDList **out_fd_list, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_call_no_annotation ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_no_annotation_finish ( 1297s # FDPassing *proxy, 1297s # GVariant **out_response, 1297s # gchar **out_response_locale, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_no_annotation_sync ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale, 1297s # GVariant **out_response, 1297s # gchar **out_response_locale, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_call_no_annotation_nested ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_files, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_no_annotation_nested_finish ( 1297s # FDPassing *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_no_annotation_nested_sync ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_files, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1297s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1297s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1297s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1297s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1297s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1297s # 1297s # typedef struct _FDPassingProxy FDPassingProxy; 1297s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1297s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1297s # 1297s # struct _FDPassingProxy 1297s # { 1297s # /*< private >*/ 1297s # GDBusProxy parent_instance; 1297s # FDPassingProxyPrivate *priv; 1297s # }; 1297s # 1297s # struct _FDPassingProxyClass 1297s # { 1297s # GDBusProxyClass parent_class; 1297s # }; 1297s # 1297s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1297s # #endif 1297s # 1297s # void fdpassing_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # FDPassing *fdpassing_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # FDPassing *fdpassing_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1297s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1297s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1297s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1297s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1297s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1297s # 1297s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1297s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1297s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1297s # 1297s # struct _FDPassingSkeleton 1297s # { 1297s # /*< private >*/ 1297s # GDBusInterfaceSkeleton parent_instance; 1297s # FDPassingSkeletonPrivate *priv; 1297s # }; 1297s # 1297s # struct _FDPassingSkeletonClass 1297s # { 1297s # GDBusInterfaceSkeletonClass parent_class; 1297s # }; 1297s # 1297s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1297s # #endif 1297s # 1297s # FDPassing *fdpassing_skeleton_new (void); 1297s # 1297s # 1297s # G_END_DECLS 1297s # 1297s # #endif /* __STDOUT__ */ 1297s # Error: 1297s # 1297s # /tmp/tmpdnhlkvjg/tmpgv5f1jyy.xml: 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdnhlkvjg/tmpgv5f1jyy.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1297s # Return code: 0 1297s # Output: 1297s # /* 1297s # * This file is generated by gdbus-codegen, do not modify it. 1297s # * 1297s # * The license of this code is the same as for the D-Bus interface description 1297s # * it was derived from. Note that it links to GLib, so must comply with the 1297s # * LGPL linking clauses. 1297s # */ 1297s # 1297s # #ifndef __STDOUT__ 1297s # #define __STDOUT__ 1297s # 1297s # #include 1297s # 1297s # G_BEGIN_DECLS 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # /* Declarations for FDPassing */ 1297s # 1297s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1297s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1297s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1297s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1297s # 1297s # struct _FDPassing; 1297s # typedef struct _FDPassing FDPassing; 1297s # typedef struct _FDPassingIface FDPassingIface; 1297s # 1297s # struct _FDPassingIface 1297s # { 1297s # GTypeInterface parent_iface; 1297s # 1297s # gboolean (*handle_hello_fd) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # const gchar *arg_greeting); 1297s # 1297s # gboolean (*handle_no_annotation) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale); 1297s # 1297s # gboolean (*handle_no_annotation_nested) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GVariant *arg_files); 1297s # 1297s # }; 1297s # 1297s # GType fdpassing_get_type (void) G_GNUC_CONST; 1297s # 1297s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1297s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1297s # 1297s # 1297s # /* D-Bus method call completion functions: */ 1297s # void fdpassing_complete_hello_fd ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # const gchar *response); 1297s # 1297s # void fdpassing_complete_no_annotation ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GVariant *response, 1297s # const gchar *response_locale); 1297s # 1297s # void fdpassing_complete_no_annotation_nested ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation); 1297s # 1297s # 1297s # 1297s # /* D-Bus method calls: */ 1297s # void fdpassing_call_hello_fd ( 1297s # FDPassing *proxy, 1297s # const gchar *arg_greeting, 1297s # GUnixFDList *fd_list, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_hello_fd_finish ( 1297s # FDPassing *proxy, 1297s # gchar **out_response, 1297s # GUnixFDList **out_fd_list, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_hello_fd_sync ( 1297s # FDPassing *proxy, 1297s # const gchar *arg_greeting, 1297s # GUnixFDList *fd_list, 1297s # gchar **out_response, 1297s # GUnixFDList **out_fd_list, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_call_no_annotation ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_no_annotation_finish ( 1297s # FDPassing *proxy, 1297s # GVariant **out_response, 1297s # gchar **out_response_locale, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_no_annotation_sync ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale, 1297s # GVariant **out_response, 1297s # gchar **out_response_locale, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_call_no_annotation_nested ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_files, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_no_annotation_nested_finish ( 1297s # FDPassing *proxy, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_no_annotation_nested_sync ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_files, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1297s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1297s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1297s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1297s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1297s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1297s # 1297s # typedef struct _FDPassingProxy FDPassingProxy; 1297s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1297s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1297s # 1297s # struct _FDPassingProxy 1297s # { 1297s # /*< private >*/ 1297s # GDBusProxy parent_instance; 1297s # FDPassingProxyPrivate *priv; 1297s # }; 1297s # 1297s # struct _FDPassingProxyClass 1297s # { 1297s # GDBusProxyClass parent_class; 1297s # }; 1297s # 1297s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1297s # #endif 1297s # 1297s # void fdpassing_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # FDPassing *fdpassing_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # FDPassing *fdpassing_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s ok - glib/codegen.py.test 1297s # Running test: glib/gthash.test 1297s # GError **error); 1297s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1297s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1297s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1297s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1297s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1297s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1297s # 1297s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1297s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1297s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1297s # 1297s # struct _FDPassingSkeleton 1297s # { 1297s # /*< private >*/ 1297s # GDBusInterfaceSkeleton parent_instance; 1297s # FDPassingSkeletonPrivate *priv; 1297s # }; 1297s # 1297s # struct _FDPassingSkeletonClass 1297s # { 1297s # GDBusInterfaceSkeletonClass parent_class; 1297s # }; 1297s # 1297s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1297s # #endif 1297s # 1297s # FDPassing *fdpassing_skeleton_new (void); 1297s # 1297s # 1297s # G_END_DECLS 1297s # 1297s # #endif /* __STDOUT__ */ 1297s # Error: 1297s # 1297s # /tmp/tmpdnhlkvjg/tmpzfz2xmv3.xml: 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # 1297s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdnhlkvjg/tmpzfz2xmv3.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1297s # Return code: 0 1297s # Output: 1297s # /* 1297s # * This file is generated by gdbus-codegen, do not modify it. 1297s # * 1297s # * The license of this code is the same as for the D-Bus interface description 1297s # * it was derived from. Note that it links to GLib, so must comply with the 1297s # * LGPL linking clauses. 1297s # */ 1297s # 1297s # #ifndef __STDOUT__ 1297s # #define __STDOUT__ 1297s # 1297s # #include 1297s # 1297s # G_BEGIN_DECLS 1297s # 1297s # 1297s # /* ------------------------------------------------------------------------ */ 1297s # /* Declarations for FDPassing */ 1297s # 1297s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1297s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1297s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1297s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1297s # 1297s # struct _FDPassing; 1297s # typedef struct _FDPassing FDPassing; 1297s # typedef struct _FDPassingIface FDPassingIface; 1297s # 1297s # struct _FDPassingIface 1297s # { 1297s # GTypeInterface parent_iface; 1297s # 1297s # gboolean (*handle_hello_fd) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # const gchar *arg_greeting); 1297s # 1297s # gboolean (*handle_no_annotation) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale); 1297s # 1297s # gboolean (*handle_no_annotation_nested) ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # GVariant *arg_files); 1297s # 1297s # }; 1297s # 1297s # GType fdpassing_get_type (void) G_GNUC_CONST; 1297s # 1297s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1297s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1297s # 1297s # 1297s # /* D-Bus method call completion functions: */ 1297s # void fdpassing_complete_hello_fd ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # const gchar *response); 1297s # 1297s # void fdpassing_complete_no_annotation ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list, 1297s # GVariant *response, 1297s # const gchar *response_locale); 1297s # 1297s # void fdpassing_complete_no_annotation_nested ( 1297s # FDPassing *object, 1297s # GDBusMethodInvocation *invocation, 1297s # GUnixFDList *fd_list); 1297s # 1297s # 1297s # 1297s # /* D-Bus method calls: */ 1297s # void fdpassing_call_hello_fd ( 1297s # FDPassing *proxy, 1297s # const gchar *arg_greeting, 1297s # GDBusCallFlags call_flags, 1297s # gint timeout_msec, 1297s # GUnixFDList *fd_list, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_hello_fd_finish ( 1297s # FDPassing *proxy, 1297s # gchar **out_response, 1297s # GUnixFDList **out_fd_list, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_hello_fd_sync ( 1297s # FDPassing *proxy, 1297s # const gchar *arg_greeting, 1297s # GDBusCallFlags call_flags, 1297s # gint timeout_msec, 1297s # GUnixFDList *fd_list, 1297s # gchar **out_response, 1297s # GUnixFDList **out_fd_list, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_call_no_annotation ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale, 1297s # GDBusCallFlags call_flags, 1297s # gint timeout_msec, 1297s # GUnixFDList *fd_list, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_no_annotation_finish ( 1297s # FDPassing *proxy, 1297s # GVariant **out_response, 1297s # gchar **out_response_locale, 1297s # GUnixFDList **out_fd_list, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_no_annotation_sync ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_greeting, 1297s # const gchar *arg_greeting_locale, 1297s # GDBusCallFlags call_flags, 1297s # gint timeout_msec, 1297s # GUnixFDList *fd_list, 1297s # GVariant **out_response, 1297s # gchar **out_response_locale, 1297s # GUnixFDList **out_fd_list, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_call_no_annotation_nested ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_files, 1297s # GDBusCallFlags call_flags, 1297s # gint timeout_msec, 1297s # GUnixFDList *fd_list, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # 1297s # gboolean fdpassing_call_no_annotation_nested_finish ( 1297s # FDPassing *proxy, 1297s # GUnixFDList **out_fd_list, 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # 1297s # gboolean fdpassing_call_no_annotation_nested_sync ( 1297s # FDPassing *proxy, 1297s # GVariant *arg_files, 1297s # GDBusCallFlags call_flags, 1297s # gint timeout_msec, 1297s # GUnixFDList *fd_list, 1297s # GUnixFDList **out_fd_list, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1297s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1297s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1297s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1297s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1297s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1297s # 1297s # typedef struct _FDPassingProxy FDPassingProxy; 1297s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1297s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1297s # 1297s # struct _FDPassingProxy 1297s # { 1297s # /*< private >*/ 1297s # GDBusProxy parent_instance; 1297s # FDPassingProxyPrivate *priv; 1297s # }; 1297s # 1297s # struct _FDPassingProxyClass 1297s # { 1297s # GDBusProxyClass parent_class; 1297s # }; 1297s # 1297s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1297s # #endif 1297s # 1297s # void fdpassing_proxy_new ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # FDPassing *fdpassing_proxy_new_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # FDPassing *fdpassing_proxy_new_sync ( 1297s # GDBusConnection *connection, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # void fdpassing_proxy_new_for_bus ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GAsyncReadyCallback callback, 1297s # gpointer user_data); 1297s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1297s # GAsyncResult *res, 1297s # GError **error); 1297s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1297s # GBusType bus_type, 1297s # GDBusProxyFlags flags, 1297s # const gchar *name, 1297s # const gchar *object_path, 1297s # GCancellable *cancellable, 1297s # GError **error); 1297s # 1297s # 1297s # /* ---- */ 1297s # 1297s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1297s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1297s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1297s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1297s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1297s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1297s # 1297s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1297s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1297s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1297s # 1297s # struct _FDPassingSkeleton 1297s # { 1297s # /*< private >*/ 1297s # GDBusInterfaceSkeleton parent_instance; 1297s # FDPassingSkeletonPrivate *priv; 1297s # }; 1297s # 1297s # struct _FDPassingSkeletonClass 1297s # { 1297s # GDBusInterfaceSkeletonClass parent_class; 1297s # }; 1297s # 1297s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1297s # 1297s # #if GLIB_CHECK_VERSION(2, 44, 0) 1297s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1297s # #endif 1297s # 1297s # FDPassing *fdpassing_skeleton_new (void); 1297s # 1297s # 1297s # G_END_DECLS 1297s # 1297s # #endif /* __STDOUT__ */ 1297s # Error: 1297s 1..39 1297s TAP version 14 1297s # random seed: R02See125b12de7471f3b6578a6f0170f55f 1297s 1..1 1297s # Start of gthash tests 1297s ok 1 /gthash/build-retrieve 1297s # End of gthash tests 1297s ok - glib/gthash.test 1297s # Running test: glib/onceinit.test 1297s TAP version 14 1297s # random seed: R02Sa68695e477986f4bf290029b7061bb38 1297s 1..1 1297s # Start of thread tests 1297s ok 1 /thread/onceinit 1297s # End of thread tests 1297s ok - glib/onceinit.test 1297s # Running test: glib/search-utils.test 1297s TAP version 14 1297s # random seed: R02Sf042e85356f182288a108ca4b8133498 1297s # GLib-DEBUG: Current user locale: C.UTF-8 1297s 1..6 1297s # Start of search tests 1297s # GLib-DEBUG: Started 1297s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1297s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1297s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1297s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1297s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1297s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1297s ok 1 /search/basic 1297s # GLib-DEBUG: Started 1297s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1297s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1297s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1297s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1297s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1297s ok 2 /search/composed 1297s # GLib-DEBUG: Started 1297s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1297s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1297s ok 3 /search/decomposed 1297s # GLib-DEBUG: Started 1297s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1297s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1297s ok 4 /search/turkish 1297s # GLib-DEBUG: Started 1297s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1297s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1297s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1297s ok 5 /search/c_locale_unicode 1297s # GLib-DEBUG: Started 1297s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1297s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1297s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1297s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1297s ok 6 /search/multi_words 1297s # End of search tests 1297s ok - glib/search-utils.test 1297s # Running test: glib/array-test.test 1297s TAP version 14 1297s # random seed: R02Sde71b9c3a63e4e6cba42ff5f304f866a 1297s 1..120 1297s # Start of array tests 1297s ok 1 /array/ref-count 1297s ok 2 /array/steal 1297s ok 3 /array/clear-func 1297s ok 4 /array/binary-search 1297s ok 5 /array/overflow-append-vals 1297s ok 6 /array/overflow-set-size 1297s # Start of new tests 1297s ok 7 /array/new/zero-terminated 1297s ok 8 /array/new/take 1297s ok 9 /array/new/take-zero-terminated 1297s # Start of take tests 1297s ok 10 /array/new/take/empty 1297s ok 11 /array/new/take/overflow 1297s ok 12 /array/new/take/zero-size 1297s # End of take tests 1297s # Start of take-zero-terminated tests 1297s ok 13 /array/new/take-zero-terminated/zero-size 1297s ok 14 /array/new/take-zero-terminated/null 1297s # End of take-zero-terminated tests 1297s # End of new tests 1297s # Start of copy tests 1297s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1297s ok 15 /array/copy/sized 1297s ok 16 /array/copy/zero-terminated 1297s ok 17 /array/copy/non-zero-terminated-no-clear 1297s ok 18 /array/copy/non-zero-terminated-clear 1297s ok 19 /array/copy/zero-terminated-no-clear 1297s ok 20 /array/copy/zero-terminated-clear 1297s # End of copy tests 1297s # Start of remove-range tests 1297s ok 21 /array/remove-range/zero-terminated-null 1297s ok 22 /array/remove-range/non-zero-terminated-no-clear 1297s ok 23 /array/remove-range/non-zero-terminated-clear 1297s ok 24 /array/remove-range/zero-terminated-no-clear 1297s ok 25 /array/remove-range/zero-terminated-clear 1297s # End of remove-range tests 1297s # Start of set-size tests 1297s ok 26 /array/set-size/zero-terminated-null 1297s ok 27 /array/set-size/non-zero-terminated-no-clear 1297s ok 28 /array/set-size/non-zero-terminated-clear 1297s ok 29 /array/set-size/zero-terminated-no-clear 1297s ok 30 /array/set-size/zero-terminated-clear 1297s # Start of sized tests 1297s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1297s ok 32 /array/set-size/sized/non-zero-terminated-clear 1297s ok 33 /array/set-size/sized/zero-terminated-no-clear 1297s ok 34 /array/set-size/sized/zero-terminated-clear 1297s # End of sized tests 1297s # End of set-size tests 1297s # Start of append-val tests 1297s ok 35 /array/append-val/non-zero-terminated-no-clear 1297s ok 36 /array/append-val/non-zero-terminated-clear 1297s ok 37 /array/append-val/zero-terminated-no-clear 1297s ok 38 /array/append-val/zero-terminated-clear 1297s # End of append-val tests 1297s # Start of prepend-val tests 1297s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1297s ok 40 /array/prepend-val/non-zero-terminated-clear 1297s ok 41 /array/prepend-val/zero-terminated-no-clear 1297s ok 42 /array/prepend-val/zero-terminated-clear 1297s # End of prepend-val tests 1297s # Start of prepend-vals tests 1297s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1297s ok 44 /array/prepend-vals/non-zero-terminated-clear 1297s ok 45 /array/prepend-vals/zero-terminated-no-clear 1297s ok 46 /array/prepend-vals/zero-terminated-clear 1297s # End of prepend-vals tests 1297s # Start of insert-vals tests 1297s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1297s ok 48 /array/insert-vals/non-zero-terminated-clear 1297s ok 49 /array/insert-vals/zero-terminated-no-clear 1297s ok 50 /array/insert-vals/zero-terminated-clear 1297s # End of insert-vals tests 1297s # Start of remove-index tests 1297s ok 51 /array/remove-index/non-zero-terminated-no-clear 1297s ok 52 /array/remove-index/non-zero-terminated-clear 1297s ok 53 /array/remove-index/zero-terminated-no-clear 1297s ok 54 /array/remove-index/zero-terminated-clear 1297s # End of remove-index tests 1297s # Start of remove-index-fast tests 1297s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1297s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1297s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1297s ok 58 /array/remove-index-fast/zero-terminated-clear 1297s # End of remove-index-fast tests 1297s # Start of sort tests 1297s ok 59 /array/sort/non-zero-terminated-no-clear 1297s ok 60 /array/sort/non-zero-terminated-clear 1297s ok 61 /array/sort/zero-terminated-no-clear 1297s ok 62 /array/sort/zero-terminated-clear 1297s # End of sort tests 1297s # Start of sort-with-data tests 1297s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1297s ok 64 /array/sort-with-data/non-zero-terminated-clear 1297s ok 65 /array/sort-with-data/zero-terminated-no-clear 1297s ok 66 /array/sort-with-data/zero-terminated-clear 1297s # End of sort-with-data tests 1297s # End of array tests 1297s # Start of pointerarray tests 1297s ok 67 /pointerarray/add 1297s ok 68 /pointerarray/insert 1297s ok 69 /pointerarray/new-take 1297s ok 70 /pointerarray/new-take-null-terminated 1297s ok 71 /pointerarray/new-from-array 1297s ok 72 /pointerarray/new-from-null-terminated-array 1297s ok 73 /pointerarray/free-func 1297s ok 74 /pointerarray/array_extend_and_steal 1297s ok 75 /pointerarray/sort 1297s ok 76 /pointerarray/sort-with-data 1297s ok 77 /pointerarray/sort-values 1297s ok 78 /pointerarray/sort-values-with-data 1297s ok 79 /pointerarray/remove-range 1297s ok 80 /pointerarray/steal 1297s # Start of free tests 1297s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1297s ok 81 /pointerarray/free/null-terminated 1297s # End of free tests 1297s # Start of new-take tests 1297s ok 82 /pointerarray/new-take/empty 1297s ok 83 /pointerarray/new-take/overflow 1297s ok 84 /pointerarray/new-take/with-free-func 1297s # End of new-take tests 1297s # Start of new-take-null-terminated tests 1297s ok 85 /pointerarray/new-take-null-terminated/empty 1297s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1297s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1297s # End of new-take-null-terminated tests 1297s # Start of new-from-array tests 1297s ok 88 /pointerarray/new-from-array/empty 1297s ok 89 /pointerarray/new-from-array/overflow 1297s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1297s # End of new-from-array tests 1297s # Start of new-from-null-terminated-array tests 1297s ok 91 /pointerarray/new-from-null-terminated-array/empty 1297s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1297s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1297s # End of new-from-null-terminated-array tests 1297s # Start of ref-count tests 1297s ok 94 /pointerarray/ref-count/not-null-terminated 1297s ok 95 /pointerarray/ref-count/null-terminated 1297s # End of ref-count tests 1297s # Start of array_copy tests 1297s # /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 1297s ok 96 /pointerarray/array_copy/not-null-terminated 1297s # /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 1297s ok 97 /pointerarray/array_copy/null-terminated 1297s # End of array_copy tests 1297s # Start of array_extend tests 1297s ok 98 /pointerarray/array_extend/not-null-terminated 1297s ok 99 /pointerarray/array_extend/null-terminated 1297s # End of array_extend tests 1297s # Start of sort tests 1297s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1297s ok 100 /pointerarray/sort/example 1297s # End of sort tests 1297s # Start of sort-with-data tests 1297s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1297s ok 101 /pointerarray/sort-with-data/example 1297s # End of sort-with-data tests 1297s # Start of sort-values tests 1297s ok 102 /pointerarray/sort-values/example 1297s # End of sort-values tests 1297s # Start of sort-values-with-data tests 1297s ok 103 /pointerarray/sort-values-with-data/example 1297s # End of sort-values-with-data tests 1297s # Start of find tests 1297s ok 104 /pointerarray/find/empty 1297s ok 105 /pointerarray/find/non-empty 1297s # End of find tests 1297s # Start of steal_index tests 1297s ok 106 /pointerarray/steal_index/not-null-terminated 1297s ok 107 /pointerarray/steal_index/null-terminated 1297s # End of steal_index tests 1297s # End of pointerarray tests 1297s # Start of bytearray tests 1297s ok 108 /bytearray/steal 1297s ok 109 /bytearray/append 1297s ok - glib/array-test.test 1297s ok 110 /bytearray/prepend 1297s ok 111 /bytearray/remove 1297s ok 112 /bytearray/remove-fast 1297s ok 113 /bytearray/remove-range 1297s ok 114 /bytearray/ref-count 1297s ok 115 /bytearray/set-size 1297s ok 116 /bytearray/sort 1297s ok 117 /bytearray/sort-with-data 1297s ok 118 /bytearray/new-take 1297s ok 119 /bytearray/new-take-overflow 1297s ok 120 /bytearray/free-to-bytes 1297s # End of bytearray tests 1297s # Running test: glib/list.test 1297s TAP version 14 1297s # random seed: R02Sd31195851abd4721e89e692c0c85ebe9 1297s 1..20 1297s # Start of list tests 1297s ok 1 /list/sort 1297s ok 2 /list/sort-with-data 1297s ok 3 /list/insert-before-link 1297s ok 4 /list/insert-sorted 1297s ok 5 /list/insert-sorted-with-data 1297s ok 6 /list/reverse 1297s ok 7 /list/nth 1297s ok 8 /list/concat 1297s ok 9 /list/remove 1297s ok 10 /list/remove-all 1297s ok 11 /list/first-last 1297s ok 12 /list/insert 1297s ok 13 /list/free-full 1297s ok 14 /list/copy 1297s ok 15 /list/copy-deep 1297s ok 16 /list/delete-link 1297s ok 17 /list/prepend 1297s ok 18 /list/position 1297s ok - glib/list.test 1297s ok 19 /list/double-free 1297s # Start of sort tests 1297s ok 20 /list/sort/stable 1297s # End of sort tests 1297s # End of list tests 1297s # Running test: glib/readwrite.test 1297s TAP version 14 1297s # random seed: R02S0ea89b57d0bba00c66c0decc8d7076ea 1297s 1..3 1297s # Start of readwrite tests 1297s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1297s ok 1 /readwrite/test_g_file_open_readwrite 1297s ok 2 /readwrite/test_g_file_create_readwrite 1297s ok 3 /readwrite/test_g_file_replace_readwrite 1297s # End of readwrite tests 1297s ok - glib/readwrite.test 1297s # Running test: glib/signals-refcount4.test 1297s TAP version 14 1297s # random seed: R02S6745edb6ea7fad57c8adaef7ff280bd4 1297s 1..1 1297s # Start of gobject tests 1297s # Start of refcount tests 1297s # init 0x789f6c8d4a0 1297s # 1297s # init 0x789f6c85580 1297s # 1301s # Executing: glib/signals-refcount4.test 1302s ok - glib/signals-refcount4.test 1302s # dispose 0x789f6c8d4a0! 1302s # 1302s # dispose 0x789f6c85580! 1302s # 1302s ok 1 /gobject/refcount/signals 1302s # slow test /gobject/refcount/signals executed in 5.00 secs 1302s # End of refcount tests 1302s # End of gobject tests 1302s # Running test: glib/deftype.test 1302s ok - glib/deftype.test 1302s # Running test: glib/utf8-performance.test 1302s TAP version 14 1302s # random seed: R02S3f6e57bdf62a2930522e589756dbe31e 1302s 1..36 1302s # Start of utf8 tests 1302s # Start of perf tests 1302s # Start of get_char tests 1302s # max perf: 43.0 MB/s 1302s ok 1 /utf8/perf/get_char/ascii 1302s # max perf: inf MB/s 1302s ok 2 /utf8/perf/get_char/latin1 1302s # max perf: inf MB/s 1302s ok 3 /utf8/perf/get_char/cyrillic 1302s # max perf: inf MB/s 1302s ok 4 /utf8/perf/get_char/han 1302s # End of get_char tests 1302s # Start of get_char-backwards tests 1302s # max perf: 43.0 MB/s 1302s ok 5 /utf8/perf/get_char-backwards/ascii 1302s # max perf: inf MB/s 1302s ok 6 /utf8/perf/get_char-backwards/latin1 1302s # max perf: 160.0 MB/s 1302s ok 7 /utf8/perf/get_char-backwards/cyrillic 1302s # max perf: 156.0 MB/s 1302s ok 8 /utf8/perf/get_char-backwards/han 1302s # End of get_char-backwards tests 1302s # Start of get_char_validated tests 1302s # max perf: inf MB/s 1302s ok 9 /utf8/perf/get_char_validated/ascii 1302s # max perf: inf MB/s 1302s ok 10 /utf8/perf/get_char_validated/latin1 1302s # max perf: 160.0 MB/s 1302s ok 11 /utf8/perf/get_char_validated/cyrillic 1302s # max perf: 156.0 MB/s 1302s ok 12 /utf8/perf/get_char_validated/han 1302s # End of get_char_validated tests 1302s # Start of utf8_to_ucs4 tests 1302s # max perf: 43.0 MB/s 1302s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1302s # max perf: 67.0 MB/s 1302s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1302s # max perf: 160.0 MB/s 1302s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1302s # max perf: inf MB/s 1302s ok 16 /utf8/perf/utf8_to_ucs4/han 1302s # End of utf8_to_ucs4 tests 1302s # Start of utf8_to_ucs4-sized tests 1302s # max perf: 43.0 MB/s 1302s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1302s # max perf: 67.0 MB/s 1302s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1302s # max perf: 160.0 MB/s 1302s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1302s # max perf: 156.0 MB/s 1302s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1302s # End of utf8_to_ucs4-sized tests 1302s # Start of utf8_to_ucs4_fast tests 1302s # max perf: inf MB/s 1302s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1302s # max perf: inf MB/s 1302s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1302s # max perf: 160.0 MB/s 1302s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1302s # max perf: 156.0 MB/s 1302s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1302s # End of utf8_to_ucs4_fast tests 1302s # Start of utf8_to_ucs4_fast-sized tests 1302s # max perf: inf MB/s 1302s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1302s # max perf: inf MB/s 1302s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1302s # max perf: 160.0 MB/s 1302s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1302s # max perf: inf MB/s 1302s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1302s # End of utf8_to_ucs4_fast-sized tests 1302s # Start of utf8_validate tests 1302s # max perf: inf MB/s 1302s ok 29 /utf8/perf/utf8_validate/ascii 1302s # max perf: 67.0 MB/s 1302s ok 30 /utf8/perf/utf8_validate/latin1 1302s # max perf: inf MB/s 1302s ok 31 /utf8/perf/utf8_validate/cyrillic 1302s # max perf: inf MB/s 1302s ok 32 /utf8/perf/utf8_validate/han 1302s # End of utf8_validate tests 1302s # Start of utf8_validate-sized tests 1302s # max perf: inf MB/s 1302s ok 33 /utf8/perf/utf8_validate-sized/ascii 1302s # max perf: inf MB/s 1302s ok 34 /utf8/perf/utf8_validate-sized/latin1 1302s # max perf: inf MB/s 1302s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1302s # max perf: inf MB/s 1302s ok 36 /utf8/perf/utf8_validate-sized/han 1302s # End of utf8_validate-sized tests 1302s # End of perf tests 1302s # End of utf8 tests 1302s TAP version 14 1302s # random seed: R02S521751eb09d8f741197d03be332628f3 1302s 1..68 1302s # Start of GDateTime tests 1302s # Bug Reference: http://bugzilla.gnome.org/702674 1302s ok 1 /GDateTime/invalid 1302s ok 2 /GDateTime/add_days 1302s ok 3 /GDateTime/add_full 1302s ok 4 /GDateTime/add_hours 1302s ok 5 /GDateTime/add_minutes 1302s ok 6 /GDateTime/add_months 1302s ok 7 /GDateTime/add_seconds 1302s ok 8 /GDateTime/add_weeks 1302s ok 9 /GDateTime/add_years 1302s ok 10 /GDateTime/compare 1302s ok 11 /GDateTime/diff 1302s ok 12 /GDateTime/equal 1302s ok 13 /GDateTime/get_day_of_week 1302s ok 14 /GDateTime/get_day_of_month 1302s ok 15 /GDateTime/get_day_of_year 1302s ok 16 /GDateTime/get_hour 1302s ok 17 /GDateTime/get_microsecond 1302s ok 18 /GDateTime/get_minute 1302s ok 19 /GDateTime/get_month 1302s ok 20 /GDateTime/get_second 1302s ok 21 /GDateTime/get_utc_offset 1302s ok 22 /GDateTime/get_year 1302s ok 23 /GDateTime/hash 1302s ok 24 /GDateTime/new_from_unix 1302s ok 25 /GDateTime/new_from_unix_utc 1302s ok 26 /GDateTime/new_from_timeval 1302s ok 27 /GDateTime/new_from_timeval_utc 1302s ok 28 /GDateTime/new_from_iso8601 1302s ok 29 /GDateTime/new_full 1302s ok 30 /GDateTime/now 1302s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1302s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1302s # %a -> expected: Sat 1302s # %a -> actual: Sat 1302s ok - glib/utf8-performance.test 1302s # Running test: glib/gdatetime.test 1302s # %A -> expected: Saturday 1302s # %A -> actual: Saturday 1302s # %b -> expected: Oct 1302s # %b -> actual: Oct 1302s # %B -> expected: October 1302s # %B -> actual: October 1302s # %d -> expected: 24 1302s # %d -> actual: 24 1302s # %d -> expected: 01 1302s # %d -> actual: 01 1302s # %e -> expected: 24 1302s # %e -> actual: 24 1302s # %e -> expected:  1 1302s # %e -> actual:  1 1302s # %f -> expected: 001000 1302s # %f -> actual: 001000 1302s # %h -> expected: Oct 1302s # %h -> actual: Oct 1302s # %H -> expected: 00 1302s # %H -> actual: 00 1302s # %H -> expected: 15 1302s # %H -> actual: 15 1302s # %I -> expected: 12 1302s # %I -> actual: 12 1302s # %I -> expected: 12 1302s # %I -> actual: 12 1302s # %I -> expected: 03 1302s # %I -> actual: 03 1302s # %j -> expected: 297 1302s # %j -> actual: 297 1302s # %k -> expected:  0 1302s # %k -> actual:  0 1302s # %k -> expected: 13 1302s # %k -> actual: 13 1302s # %l -> expected: 12 1302s # %l -> actual: 12 1302s # %I -> expected: 12 1302s # %I -> actual: 12 1302s # %l -> expected:  1 1302s # %l -> actual:  1 1302s # %l -> expected: 10 1302s # %l -> actual: 10 1302s # %m -> expected: 10 1302s # %m -> actual: 10 1302s # %M -> expected: 00 1302s # %M -> actual: 00 1302s # %p -> expected: AM 1302s # %p -> actual: AM 1302s # %p -> expected: PM 1302s # %p -> actual: PM 1302s # %P -> expected: am 1302s # %P -> actual: am 1302s # %P -> expected: pm 1302s # %P -> actual: pm 1302s # %r -> expected: 12:00:00 AM 1302s # %r -> actual: 12:00:00 AM 1302s # %r -> expected: 01:13:13 PM 1302s # %r -> actual: 01:13:13 PM 1302s # %R -> expected: 00:00 1302s # %R -> actual: 00:00 1302s # %R -> expected: 13:13 1302s # %R -> actual: 13:13 1302s # %S -> expected: 00 1302s # %S -> actual: 00 1302s # %t -> expected: 1302s # %t -> actual: 1302s # %u -> expected: 6 1302s # %u -> actual: 6 1302s # %x -> expected: 10/24/09 1302s # %x -> actual: 10/24/09 1302s # %X -> expected: 00:00:00 1302s # %X -> actual: 00:00:00 1302s # %X -> expected: 13:14:15 1302s # %X -> actual: 13:14:15 1302s # %y -> expected: 09 1302s # %y -> actual: 09 1302s # %Y -> expected: 2009 1302s # %Y -> actual: 2009 1302s # %% -> expected: % 1302s # %% -> actual: % 1302s # % -> expected: 1302s # % -> actual: 1302s # %9 -> expected: (null) 1302s # %9 -> actual: (null) 1302s # %Z -> expected: UTC 1302s # %Z -> actual: UTC 1302s # %#Z %Z -> expected: utc UTC 1302s # %#Z %Z -> actual: utc UTC 1302s ok 32 /GDateTime/printf 1302s # %a -> expected: 土 1302s # %a -> actual: 土 1302s # %A -> expected: 土曜日 1302s # %A -> actual: 土曜日 1302s # %b -> expected: 10月 1302s # %b -> actual: 10月 1302s # %B -> expected: 10月 1302s # %B -> actual: 10月 1302s # %c -> expected: 2009年10月24日 00時00分00秒 1302s # %c -> actual: 2009年10月24日 00時00分00秒 1302s # %C -> expected: 20 1302s # %C -> actual: 20 1302s # %d -> expected: 24 1302s # %d -> actual: 24 1302s # %d -> expected: 01 1302s # %d -> actual: 01 1302s # %e -> expected: 24 1302s # %e -> actual: 24 1302s # %h -> expected: 10月 1302s # %h -> actual: 10月 1302s # %H -> expected: 00 1302s # %H -> actual: 00 1302s # %H -> expected: 15 1302s # %H -> actual: 15 1302s # %I -> expected: 12 1302s # %I -> actual: 12 1302s # %I -> expected: 12 1302s # %I -> actual: 12 1302s # %I -> expected: 03 1302s # %I -> actual: 03 1302s # %j -> expected: 297 1302s # %j -> actual: 297 1302s # %k -> expected:  0 1302s # %k -> actual:  0 1302s # %k -> expected: 13 1302s # %k -> actual: 13 1302s # %l -> expected: 12 1302s # %l -> actual: 12 1302s # %I -> expected: 12 1302s # %I -> actual: 12 1302s # %l -> expected:  1 1302s # %l -> actual:  1 1302s # %l -> expected: 10 1302s # %l -> actual: 10 1302s # %m -> expected: 10 1302s # %m -> actual: 10 1302s # %M -> expected: 00 1302s # %M -> actual: 00 1302s # %p -> expected: 午前 1302s # %p -> actual: 午前 1302s # %p -> expected: 午後 1302s # %p -> actual: 午後 1302s # %P -> expected: 午前 1302s # %P -> actual: 午前 1302s # %P -> expected: 午後 1302s # %P -> actual: 午後 1302s # %r -> expected: 午前12時00分00秒 1302s # %r -> actual: 午前12時00分00秒 1302s # %r -> expected: 午後01時13分13秒 1302s # %r -> actual: 午後01時13分13秒 1302s # %R -> expected: 00:00 1302s # %R -> actual: 00:00 1302s # %R -> expected: 13:13 1302s # %R -> actual: 13:13 1302s # %S -> expected: 00 1302s # %S -> actual: 00 1302s # %t -> expected: 1302s # %t -> actual: 1302s # %u -> expected: 6 1302s # %u -> actual: 6 1302s # %x -> expected: 2009年10月24日 1302s # %x -> actual: 2009年10月24日 1302s # %X -> expected: 00時00分00秒 1302s # %X -> actual: 00時00分00秒 1302s # %X -> expected: 13時14分15秒 1302s # %X -> actual: 13時14分15秒 1302s # %y -> expected: 09 1302s # %y -> actual: 09 1302s # %Y -> expected: 2009 1302s # %Y -> actual: 2009 1302s # %% -> expected: % 1302s # %% -> actual: % 1302s # % -> expected: 1302s # % -> actual: 1302s # %9 -> expected: (null) 1302s # %9 -> actual: (null) 1302s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1302s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1302s # %EC -> expected: 平成 1302s # %EC -> actual: 平成 1302s # %Ex -> expected: 平成21年10月24日 1302s # %Ex -> actual: 平成21年10月24日 1302s # %EX -> expected: 00時00分00秒 1302s # %EX -> actual: 00時00分00秒 1302s # %Ey -> expected: 21 1302s # %Ey -> actual: 21 1302s # %EY -> expected: 平成21年 1302s # %EY -> actual: 平成21年 1302s ok 33 /GDateTime/non_utf8_printf 1302s # ąśćł -> expected: ąśćł 1302s # ąśćł -> actual: ąśćł 1302s # %H∶%M -> expected: 23∶15 1302s # %H∶%M -> actual: 23∶15 1302s # %H∶%M -> expected: 23∶15 1302s # %H∶%M -> actual: 23∶15 1302s ok 34 /GDateTime/format_unrepresentable 1302s ok 35 /GDateTime/format_iso8601 1302s ok 36 /GDateTime/strftime 1302s # %d -> expected: 01 1302s # %d -> actual: 01 1302s # %_d -> expected: 1 1302s # %_d -> actual: 1 1302s # %-d -> expected: 1 1302s # %-d -> actual: 1 1302s # %0d -> expected: 01 1302s # %0d -> actual: 01 1302s # %d -> expected: 21 1302s # %d -> actual: 21 1302s # %_d -> expected: 21 1302s # %_d -> actual: 21 1302s # %-d -> expected: 21 1302s # %-d -> actual: 21 1302s # %0d -> expected: 21 1302s # %0d -> actual: 21 1302s # %e -> expected:  1 1302s # %e -> actual:  1 1302s # %_e -> expected: 1 1302s # %_e -> actual: 1 1302s # %-e -> expected: 1 1302s # %-e -> actual: 1 1302s # %0e -> expected: 01 1302s # %0e -> actual: 01 1302s # %e -> expected: 21 1302s # %e -> actual: 21 1302s # %_e -> expected: 21 1302s # %_e -> actual: 21 1302s # %-e -> expected: 21 1302s # %-e -> actual: 21 1302s # %0e -> expected: 21 1302s # %0e -> actual: 21 1302s # %a -> expected: Thu 1302s # %a -> actual: Thu 1302s # %^a -> expected: THU 1302s # %^a -> actual: THU 1302s # %#a -> expected: THU 1302s # %#a -> actual: THU 1302s # %A -> expected: Thursday 1302s # %A -> actual: Thursday 1302s # %^A -> expected: THURSDAY 1302s # %^A -> actual: THURSDAY 1302s # %#A -> expected: THURSDAY 1302s # %#A -> actual: THURSDAY 1302s # %b -> expected: Jan 1302s # %b -> actual: Jan 1302s # %^b -> expected: JAN 1302s # %^b -> actual: JAN 1302s # %#b -> expected: JAN 1302s # %#b -> actual: JAN 1302s # %B -> expected: January 1302s # %B -> actual: January 1302s # %^B -> expected: JANUARY 1302s # %^B -> actual: JANUARY 1302s # %#B -> expected: JANUARY 1302s # %#B -> actual: JANUARY 1302s # %h -> expected: Jan 1302s # %h -> actual: Jan 1302s # %^h -> expected: JAN 1302s # %^h -> actual: JAN 1302s # %#h -> expected: JAN 1302s # %#h -> actual: JAN 1302s # %Z -> expected: UTC 1302s # %Z -> actual: UTC 1302s # %^Z -> expected: UTC 1302s # %^Z -> actual: UTC 1302s # %#Z -> expected: utc 1302s # %#Z -> actual: utc 1302s # %H -> expected: 01 1302s # %H -> actual: 01 1302s # %_H -> expected: 1 1302s # %_H -> actual: 1 1302s # %-H -> expected: 1 1302s # %-H -> actual: 1 1302s # %0H -> expected: 01 1302s # %0H -> actual: 01 1302s # %H -> expected: 21 1302s # %H -> actual: 21 1302s # %_H -> expected: 21 1302s # %_H -> actual: 21 1302s # %-H -> expected: 21 1302s # %-H -> actual: 21 1302s # %0H -> expected: 21 1302s # %0H -> actual: 21 1302s # %I -> expected: 01 1302s # %I -> actual: 01 1302s # %_I -> expected: 1 1302s # %_I -> actual: 1 1302s # %-I -> expected: 1 1302s # %-I -> actual: 1 1302s # %0I -> expected: 01 1302s # %0I -> actual: 01 1302s # %I -> expected: 11 1302s # %I -> actual: 11 1302s # %_I -> expected: 11 1302s # %_I -> actual: 11 1302s # %-I -> expected: 11 1302s # %-I -> actual: 11 1302s # %0I -> expected: 11 1302s # %0I -> actual: 11 1302s # %k -> expected:  1 1302s # %k -> actual:  1 1302s # %_k -> expected: 1 1302s # %_k -> actual: 1 1302s # %-k -> expected: 1 1302s # %-k -> actual: 1 1302s # %0k -> expected: 01 1302s # %0k -> actual: 01 1302s # %l -> expected:  1 1302s # %l -> actual:  1 1302s # %_l -> expected: 1 1302s # %_l -> actual: 1 1302s # %-l -> expected: 1 1302s # %-l -> actual: 1 1302s # %0l -> expected: 01 1302s # %0l -> actual: 01 1302s # %l -> expected: 11 1302s # %l -> actual: 11 1302s # %_l -> expected: 11 1302s # %_l -> actual: 11 1302s # %-l -> expected: 11 1302s # %-l -> actual: 11 1302s # %0l -> expected: 11 1302s # %0l -> actual: 11 1302s # %p -> expected: AM 1302s # %p -> actual: AM 1302s # %^p -> expected: AM 1302s # %^p -> actual: AM 1302s # %#p -> expected: am 1302s # %#p -> actual: am 1302s # %P -> expected: am 1302s # %P -> actual: am 1302s # %^P -> expected: AM 1302s # %^P -> actual: AM 1302s # %#P -> expected: am 1302s # %#P -> actual: am 1302s # %OH -> expected: ۲۳ 1302s # %OH -> actual: ۲۳ 1302s # %OI -> expected: ۱۱ 1302s # %OI -> actual: ۱۱ 1302s # %OM -> expected: ۰۰ 1302s # %OM -> actual: ۰۰ 1302s # %Om -> expected: ۰۷ 1302s # %Om -> actual: ۰۷ 1302s # %0Om -> expected: ۰۷ 1302s # %0Om -> actual: ۰۷ 1302s # %-Om -> expected: ۷ 1302s # %-Om -> actual: ۷ 1302s # %_Om -> expected: ۷ 1302s # %_Om -> actual: ۷ 1302s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1302s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1302s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1302s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1302s # %C -> expected: 20 1302s # %C -> actual: 20 1302s # %EC -> expected: 20 1302s # %EC -> actual: 20 1302s # %x -> expected: 02/01/09 1302s # %x -> actual: 02/01/09 1302s # %Ex -> expected: 02/01/09 1302s # %Ex -> actual: 02/01/09 1302s # %X -> expected: 01:02:03 1302s # %X -> actual: 01:02:03 1302s # %EX -> expected: 01:02:03 1302s # %EX -> actual: 01:02:03 1302s # %y -> expected: 09 1302s # %y -> actual: 09 1302s # %Ey -> expected: 09 1302s # %Ey -> actual: 09 1302s # %Y -> expected: 2009 1302s # %Y -> actual: 2009 1302s # %EY -> expected: 2009 1302s # %EY -> actual: 2009 1302s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1302s # Bug Reference: http://bugzilla.gnome.org/749206 1302s # %B -> expected: January 1302s # %B -> actual: January 1302s # %OB -> expected: February 1302s # %OB -> actual: February 1302s # %b -> expected: Mar 1302s # %b -> actual: Mar 1302s # %Ob -> expected: Apr 1302s # %Ob -> actual: Apr 1302s # %h -> expected: May 1302s # %h -> actual: May 1302s # %Oh -> expected: Jun 1302s # %Oh -> actual: Jun 1302s # %B -> expected: Juli 1302s # %B -> actual: Juli 1302s # %OB -> expected: August 1302s # %OB -> actual: August 1302s # %b -> expected: Sep 1302s # %b -> actual: Sep 1302s # %Ob -> expected: Okt 1302s # %Ob -> actual: Okt 1302s # %h -> expected: Nov 1302s # %h -> actual: Nov 1302s # %Oh -> expected: Dez 1302s # %Oh -> actual: Dez 1302s # %B -> expected: enero 1302s # %B -> actual: enero 1302s # %OB -> expected: febrero 1302s # %OB -> actual: febrero 1302s # %b -> expected: mar 1302s # %b -> actual: mar 1302s # %Ob -> expected: abr 1302s # %Ob -> actual: abr 1302s # %h -> expected: may 1302s # %h -> actual: may 1302s # %Oh -> expected: jun 1302s # %Oh -> actual: jun 1302s # %B -> expected: juillet 1302s # %B -> actual: juillet 1302s # %OB -> expected: août 1302s # %OB -> actual: août 1302s # %b -> expected: sept. 1302s # %b -> actual: sept. 1302s # %Ob -> expected: oct. 1302s # %Ob -> actual: oct. 1302s # %h -> expected: nov. 1302s # %h -> actual: nov. 1302s # %Oh -> expected: déc. 1302s # %Oh -> actual: déc. 1302s # %B -> expected: Ιανουαρίου 1302s # %B -> actual: Ιανουαρίου 1302s # %B -> expected: Φεβρουαρίου 1302s # %B -> actual: Φεβρουαρίου 1302s # %B -> expected: Μαρτίου 1302s # %B -> actual: Μαρτίου 1302s # %OB -> expected: Απρίλιος 1302s # %OB -> actual: Απρίλιος 1302s # %OB -> expected: Μάιος 1302s # %OB -> actual: Μάιος 1302s # %OB -> expected: Ιούνιος 1302s # %OB -> actual: Ιούνιος 1302s # %b -> expected: Ιουλ 1302s # %b -> actual: Ιουλ 1302s # %Ob -> expected: Αύγ 1302s # %Ob -> actual: Αύγ 1302s # %B -> expected: svibnja 1302s # %B -> actual: svibnja 1302s # %B -> expected: lipnja 1302s # %B -> actual: lipnja 1302s # %B -> expected: srpnja 1302s # %B -> actual: srpnja 1302s # %OB -> expected: Kolovoz 1302s # %OB -> actual: kolovoz 1302s # %OB -> expected: Rujan 1302s # %OB -> actual: rujan 1302s # %OB -> expected: Listopad 1302s # %OB -> actual: listopad 1302s # %b -> expected: Stu 1302s # %b -> actual: stu 1302s # %Ob -> expected: Pro 1302s # %Ob -> actual: pro 1302s # %B -> expected: sausio 1302s # %B -> actual: sausio 1302s # %B -> expected: vasario 1302s # %B -> actual: vasario 1302s # %B -> expected: kovo 1302s # %B -> actual: kovo 1302s # %OB -> expected: balandis 1302s # %OB -> actual: balandis 1302s # %OB -> expected: gegužė 1302s # %OB -> actual: gegužė 1302s # %OB -> expected: birželis 1302s # %OB -> actual: birželis 1302s # %b -> expected: liep. 1302s # %b -> actual: liep. 1302s # %Ob -> expected: rugp. 1302s # %Ob -> actual: rugp. 1302s # %B -> expected: maja 1302s # %B -> actual: maja 1302s # %B -> expected: czerwca 1302s # %B -> actual: czerwca 1302s # %B -> expected: lipca 1302s # %B -> actual: lipca 1302s # %OB -> expected: sierpień 1302s # %OB -> actual: sierpień 1302s # %OB -> expected: wrzesień 1302s # %OB -> actual: wrzesień 1302s # %OB -> expected: październik 1302s # %OB -> actual: październik 1302s # %b -> expected: lis 1302s # %b -> actual: lis 1302s # %Ob -> expected: gru 1302s # %Ob -> actual: gru 1302s # %B -> expected: января 1302s # %B -> actual: января 1302s # %B -> expected: февраля 1302s # %B -> actual: февраля 1302s # %B -> expected: марта 1302s # %B -> actual: марта 1302s # %OB -> expected: Апрель 1302s # %OB -> actual: Апрель 1302s # %OB -> expected: Май 1302s # %OB -> actual: Май 1302s # %OB -> expected: Июнь 1302s # %OB -> actual: Июнь 1302s # %b -> expected: июл 1302s # %b -> actual: июл 1302s # %Ob -> expected: авг 1302s # %Ob -> actual: авг 1302s # %b -> expected: мая 1302s # %b -> actual: мая 1302s # %Ob -> expected: май 1302s # %Ob -> actual: май 1302s ok 38 /GDateTime/month_names 1302s ok 39 /GDateTime/to_local 1302s ok 40 /GDateTime/to_unix 1302s ok 41 /GDateTime/to_timeval 1302s ok 42 /GDateTime/to_utc 1302s ok 43 /GDateTime/now_utc 1302s ok 44 /GDateTime/dst 1302s # Bug Reference: http://bugzilla.gnome.org/642935 1302s ok 45 /GDateTime/test_z 1304s ok 46 /GDateTime/test-all-dates 1304s # slow test /GDateTime/test-all-dates executed in 1.30 secs 1304s ok 47 /GDateTime/unix_usec 1304s # Start of new_from_unix tests 1304s # Bug Reference: http://bugzilla.gnome.org/782089 1304s ok 48 /GDateTime/new_from_unix/overflow 1304s # End of new_from_unix tests 1304s # Start of new_from_timeval tests 1304s # Bug Reference: http://bugzilla.gnome.org/782089 1304s # Maximum supported GTimeVal.tv_sec = 253402300799 1304s ok 49 /GDateTime/new_from_timeval/overflow 1304s # End of new_from_timeval tests 1304s # Start of new_from_iso8601 tests 1304s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1304s # Vector 0: 1990-11-01T10:21:17Z 1304s # Vector 1: 19901101T102117Z 1304s # Vector 2: 1970-01-01T00:00:17.12Z 1304s # Vector 3: 1970-01-01T00:00:17.1234Z 1304s # Vector 4: 1970-01-01T00:00:17.123456Z 1304s # Vector 5: 1980-02-22T12:36:00+02:00 1304s # Vector 6: 1990-12-31T15:59:60-08:00 1304s # Vector 7: 1304s # Vector 8: x 1304s # Vector 9: 123x 1304s # Vector 10: 2001-10+x 1304s # Vector 11: 1980-02-22T 1304s # Vector 12: 2001-10-08Tx 1304s # Vector 13: 2001-10-08T10:11x 1304s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1304s # Vector 15: 1980-02-22T10:36:00Zulu 1304s # Vector 16: 2T0+819855292164632335 1304s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1304s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1304s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1304s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1304s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1304s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1304s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1304s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1304s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1304s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1304s # Vector 27: 20180803T140805.446178377+0100 1304s # Vector 28: 21474836480803T140805.446178377+0100 1304s # Vector 29: 20181303T140805.446178377+0100 1304s # Vector 30: 20180003T140805.446178377+0100 1304s # Vector 31: 20180800T140805.446178377+0100 1304s # Vector 32: 20180832T140805.446178377+0100 1304s # Vector 33: 20180803T240805.446178377+0100 1304s # Vector 34: 20180803T146005.446178377+0100 1304s # Vector 35: 20180803T140863.446178377+0100 1304s # Vector 36: 20180803T140805.446178377+10000 1304s # Vector 37: -0005-01-01T00:00:00Z 1304s # Vector 38: 2018-08-06 1304s # Vector 39: 20180803T140805,446178377+0100 1304s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1304s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1304s # Vector 42: 1990-11-01T10:21:17 1304s # Vector 43: 1719W462 407777-07 1304s # Vector 44: 4011090 260528Z 1304s # Vector 45: 0000W011 228214-22 1304s ok 50 /GDateTime/new_from_iso8601/2 1304s # End of new_from_iso8601 tests 1304s # Start of format_mixed tests 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1304s # %b -> expected: mar 1304s # %b -> actual: Mar 1304s # %B -> expected: march 1304s # %B -> actual: March 1304s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1304s # %b -> expected: mar 1304s # %b -> actual: Mar 1304s # %B -> expected: march 1304s # %B -> actual: March 1304s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1304s # %b -> expected: Mär 1304s # %b -> actual: Mär 1304s # %B -> expected: März 1304s # %B -> actual: März 1304s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1304s # %b -> expected: Mär 1304s # %b -> actual: Mär 1304s # %B -> expected: März 1304s # %B -> actual: März 1304s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1304s # End of format_mixed tests 1304s # Start of strftime tests 1304s # %r -> expected: (null) 1304s # %r -> actual: (null) 1304s ok 55 /GDateTime/strftime/error_handling 1304s # End of strftime tests 1304s # Start of eras tests 1304s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1304s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1304s # %EC -> expected: 令和 1304s # %EC -> actual: 令和 1304s # %Ex -> expected: 令和05年06月01日 1304s # %Ex -> actual: 令和05年06月01日 1304s # %EX -> expected: 00時00分00秒 1304s # %EX -> actual: 00時00分00秒 1304s # %Ey -> expected: 05 1304s # %Ey -> actual: 05 1304s # %EY -> expected: 令和05年 1304s # %EY -> actual: 令和05年 1304s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1304s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1304s # %EC -> expected: 平成 1304s # %EC -> actual: 平成 1304s # %Ex -> expected: 平成31年04月30日 1304s # %Ex -> actual: 平成31年04月30日 1304s # %EX -> expected: 00時00分00秒 1304s # %EX -> actual: 00時00分00秒 1304s # %Ey -> expected: 31 1304s # %Ey -> actual: 31 1304s # %EY -> expected: 平成31年 1304s # %EY -> actual: 平成31年 1304s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1304s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1304s # %EC -> expected: 昭和 1304s # %EC -> actual: 昭和 1304s # %Ex -> expected: 昭和元年12月25日 1304s # %Ex -> actual: 昭和元年12月25日 1304s # %EX -> expected: 00時00分00秒 1304s # %EX -> actual: 00時00分00秒 1304s # %Ey -> expected: 01 1304s # %Ey -> actual: 01 1304s # %EY -> expected: 昭和元年 1304s # %EY -> actual: 昭和元年 1304s ok 56 /GDateTime/eras/japan 1304s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1304s # Vector 0: 1304s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1304s # 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年 1304s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1304s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1304s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1304s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1304s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1304s # Vector 8: + 1304s # Vector 9: +: 1304s # Vector 10: +:: 1304s # Vector 11: +:200 1304s # Vector 12: +:2nonsense 1304s # Vector 13: +:2nonsense: 1304s # Vector 14: +:2: 1304s # Vector 15: +:2:: 1304s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1304s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1304s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1304s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1304s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1304s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1304s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1304s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1304s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1304s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1304s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1304s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1304s # Vector 28: +:2:2020/01/01 1304s # Vector 29: +:2:2020/01/01: 1304s # Vector 30: +:2:2020/01/01:: 1304s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1304s # Vector 32: +:2:2020/01/01:+* 1304s # Vector 33: +:2:2020/01/01:+*: 1304s # Vector 34: +:2:2020/01/01:+*:: 1304s # Vector 35: +:2:2020/01/01:+*:令和 1304s # Vector 36: +:2:2020/01/01:+*:令和: 1304s # Vector 37: +:2:2020/01/01:+*:令和:; 1304s ok 58 /GDateTime/eras/parsing 1304s # End of eras tests 1304s # End of GDateTime tests 1304s # Start of GTimeZone tests 1304s ok 59 /GTimeZone/find-interval 1304s ok 60 /GTimeZone/adjust-time 1304s ok 61 /GTimeZone/no-header 1304s ok 62 /GTimeZone/no-header-identifier 1304s ok 63 /GTimeZone/posix-parse 1304s # Bug Reference: http://bugzilla.gnome.org/697715 1304s ok 64 /GTimeZone/floating-point 1304s # System time zone identifier: Etc/UTC 1304s ok 65 /GTimeZone/identifier 1304s # Vector 0: -158400 1304s # Vector 1: -10000 1304s # Vector 2: -3600 1304s # Vector 3: -61 1304s # Vector 4: -60 1304s # Vector 5: -59 1304s # Vector 6: 0 1304s # Vector 7: 59 1304s # Vector 8: 60 1304s # Vector 9: 61 1304s # Vector 10: 3600 1304s # Vector 11: 10000 1304s # Vector 12: 158400 1304s ok 66 /GTimeZone/new-offset 1304s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1304s ok 67 /GTimeZone/parse-rfc8536 1304s # /GTimeZone/caching summary: GTimeZone instances are cached 1304s ok 68 /GTimeZone/caching 1304s # End of GTimeZone tests 1304s TAP version 14 1304s # random seed: R02Sb4f1ea3430ab073c40b78dddf521c1ad 1304s 1..9 1304s # Start of glib tests 1304s # Start of testing tests 1304s # Start of protocol tests 1304s ok 1 /glib/testing/protocol/debug 1304s ok 2 /glib/testing/protocol/info 1304s ok 3 /glib/testing/protocol/message 1304s ok 4 /glib/testing/protocol/warning 1304s ok 5 /glib/testing/protocol/critical 1304s ok 6 /glib/testing/protocol/error 1304s ok 7 /glib/testing/protocol/gtest-message 1304s ok 8 /glib/testing/protocol/test-message 1304s ok 9 /glib/testing/protocol/test-error 1304s # End of protocol tests 1304s # End of testing tests 1304s # End of glib tests 1304s TAP version 14 1304s # random seed: R02Sce13cfdded2c8d0df43780b22f496ae1 1304s 1..1 1304s # Start of memory-settings-backend tests 1304s ok 1 /memory-settings-backend/extension-point-registered 1304s # End of memory-settings-backend tests 1304s ok - glib/gdatetime.test 1304s # Running test: glib/protocol.test 1304s ok - glib/protocol.test 1304s # Running test: glib/memory-settings-backend.test 1304s ok - glib/memory-settings-backend.test 1304s # Running test: glib/rec-mutex.test 1304s TAP version 14 1304s # random seed: R02S5c501eb503a9d988cbb738948c4e1247 1304s 1..29 1304s # Start of thread tests 1304s ok 1 /thread/rec-mutex1 1304s ok 2 /thread/rec-mutex2 1304s ok 3 /thread/rec-mutex3 1304s ok 4 /thread/rec-mutex4 1304s # Start of rec-mutex tests 1304s # Start of perf tests 1304s # Start of uncontended tests 1304s # max perf: 1.000000 mips 1304s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1304s # max perf: inf mips 1304s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1304s # max perf: inf mips 1304s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1304s # max perf: inf mips 1304s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1304s # max perf: 0.111111 mips 1304s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1304s # End of uncontended tests 1304s # Start of contended1 tests 1304s # max perf: 2.000000 mips 1304s ok 10 /thread/rec-mutex/perf/contended1/depth1 1304s # max perf: 2.000000 mips 1304s ok 11 /thread/rec-mutex/perf/contended1/depth2 1304s # max perf: 2.000000 mips 1304s ok 12 /thread/rec-mutex/perf/contended1/depth3 1304s # max perf: 2.000000 mips 1304s ok 13 /thread/rec-mutex/perf/contended1/depth4 1304s # max perf: 2.000000 mips 1304s ok 14 /thread/rec-mutex/perf/contended1/depth5 1304s # End of contended1 tests 1304s # Start of contended2 tests 1304s # max perf: inf mips 1304s ok 15 /thread/rec-mutex/perf/contended2/depth1 1304s # max perf: inf mips 1304s ok 16 /thread/rec-mutex/perf/contended2/depth2 1304s # max perf: 3.000000 mips 1304s ok 17 /thread/rec-mutex/perf/contended2/depth3 1304s # max perf: 3.000000 mips 1304s ok 18 /thread/rec-mutex/perf/contended2/depth4 1304s # max perf: 3.000000 mips 1304s ok 19 /thread/rec-mutex/perf/contended2/depth5 1304s # End of contended2 tests 1304s # Start of contended3 tests 1304s # max perf: 0.095238 mips 1304s ok 20 /thread/rec-mutex/perf/contended3/depth1 1304s # max perf: 2.000000 mips 1304s ok 21 /thread/rec-mutex/perf/contended3/depth2 1304s # max perf: 4.000000 mips 1304s ok 22 /thread/rec-mutex/perf/contended3/depth3 1304s # max perf: 4.000000 mips 1304s ok 23 /thread/rec-mutex/perf/contended3/depth4 1304s # max perf: 2.000000 mips 1304s ok 24 /thread/rec-mutex/perf/contended3/depth5 1304s # End of contended3 tests 1304s # Start of contended4 tests 1304s # max perf: 5.000000 mips 1304s ok 25 /thread/rec-mutex/perf/contended4/depth1 1304s # max perf: 1.666667 mips 1304s ok 26 /thread/rec-mutex/perf/contended4/depth2 1304s # max perf: 1.666667 mips 1304s ok 27 /thread/rec-mutex/perf/contended4/depth3 1304s ok - glib/rec-mutex.test 1304s # Running test: glib/markup-subparser.test 1304s # max perf: 1.666667 mips 1304s ok 28 /thread/rec-mutex/perf/contended4/depth4 1304s # max perf: 1.250000 mips 1304s ok 29 /thread/rec-mutex/perf/contended4/depth5 1304s # End of contended4 tests 1304s # End of perf tests 1304s # End of rec-mutex tests 1304s # End of thread tests 1304s TAP version 14 1304s # random seed: R02S77ba09efd67a7eae4fa52b7bb1c4f0bc 1304s 1..14 1304s # Start of glib tests 1304s # Start of markup tests 1304s # Start of subparser tests 1304s # Start of success tests 1304s ok 1 /glib/markup/subparser/success/0 1304s ok 2 /glib/markup/subparser/success/1 1304s ok 3 /glib/markup/subparser/success/2 1304s ok 4 /glib/markup/subparser/success/3 1304s ok 5 /glib/markup/subparser/success/4 1304s ok 6 /glib/markup/subparser/success/5 1304s ok 7 /glib/markup/subparser/success/6 1304s # End of success tests 1304s # Start of failure tests 1304s ok 8 /glib/markup/subparser/failure/0 1304s ok 9 /glib/markup/subparser/failure/1 1304s ok 10 /glib/markup/subparser/failure/2 1304s ok 11 /glib/markup/subparser/failure/3 1304s ok 12 /glib/markup/subparser/failure/4 1304s ok 13 /glib/markup/subparser/failure/5 1304s ok 14 /glib/markup/subparser/failure/6 1304s # End of failure tests 1304s # End of subparser tests 1304s # End of markup tests 1304s # End of glib tests 1304s TAP version 14 1304s # random seed: R02S5dff15cb4d4a1a6f5e7763b50b327efb 1304s 1..34 1304s # Start of hash tests 1304s ok 1 /hash/misc 1304s ok 2 /hash/one 1304s ok 3 /hash/honeyman 1304s ok 4 /hash/direct 1304s ok 5 /hash/direct2 1304s ok 6 /hash/int 1304s ok 7 /hash/int64 1304s ok 8 /hash/double 1304s ok 9 /hash/string 1304s ok 10 /hash/set 1304s ok 11 /hash/set-ref 1304s ok 12 /hash/ref 1304s ok 13 /hash/remove-all 1304s ok 14 /hash/recursive-remove-all 1304s ok 15 /hash/find 1304s ok 16 /hash/foreach 1304s ok 17 /hash/foreach-steal 1304s ok 18 /hash/steal-extended 1304s ok 19 /hash/steal-all-keys 1304s ok 20 /hash/steal-all-values 1304s ok 21 /hash/lookup-extended 1304s ok 22 /hash/new-similar 1304s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1304s ok 23 /hash/lookup-null-key 1304s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1304s ok 24 /hash/destroy-modify 1304s ok 25 /hash/consistency 1304s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1304s ok 26 /hash/iter-replace 1304s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1304s ok 27 /hash/set-insert-corruption 1304s ok 28 /hash/set-to-strv 1304s ok 29 /hash/get-keys-as-ptr-array 1304s ok 30 /hash/get-values-as-ptr-array 1304s ok 31 /hash/primes 1304s # Start of int64 tests 1304s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1304s ok 32 /hash/int64/collisions 1304s # End of int64 tests 1304s # Start of double tests 1304s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1304s ok 33 /hash/double/collisions 1304s # End of double tests 1304s # Start of recursive-remove-all tests 1304s # End of recursive-remove-all tests 1304s # Start of steal-extended tests 1304s ok 34 /hash/steal-extended/optional 1304s # End of steal-extended tests 1304s # End of hash tests 1304s TAP version 14 1304s # random seed: R02S0bb8af94b7c1633963c72b69ffc63e95 1304s 1..4 1304s # Start of type tests 1304s # Start of flags tests 1304s ok 1 /type/flags/interface 1304s ok 2 /type/flags/final 1304s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1304s ok 3 /type/flags/deprecated 1304s # Start of final tests 1304s ok 4 /type/flags/final/instance-check 1304s # End of final tests 1304s # End of flags tests 1304s # End of type tests 1304s TAP version 14 1304s # random seed: R02Se3d2a504c8da6fe2e81b35b25d84fc46 1304s 1..24 1304s # Start of snprintf tests 1304s ok 1 /snprintf/retval-and-trunc 1304s ok 2 /snprintf/%d 1304s ok 3 /snprintf/%d-invalid 1304s ok 4 /snprintf/%o 1304s ok 5 /snprintf/%u 1304s ok 6 /snprintf/%x 1304s ok 7 /snprintf/%X 1304s ok 8 /snprintf/%f 1304s ok 9 /snprintf/%e 1304s ok 10 /snprintf/%c 1304s ok 11 /snprintf/%s 1304s ok 12 /snprintf/%n 1304s ok 13 /snprintf/test-percent 1304s ok 14 /snprintf/test-positional-params 1304s ok 15 /snprintf/test-64bit 1304s ok 16 /snprintf/produce-embedded-nulls 1304s # End of snprintf tests 1304s # Start of printf tests 1304s ok 17 /printf/test-percent 1304s ok 18 /printf/test-positional-params 1304s ok 19 /printf/test-64bit 1304s # Start of test-64bit tests 1304s # Start of subprocess tests 1304s # End of subprocess tests 1304s # End of test-64bit tests 1304s # End of printf tests 1304s # Start of fprintf tests 1304s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761 1304s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value ' 1304s ok 20 /fprintf/produce-embedded-nulls 1304s # End of fprintf tests 1304s # Start of sprintf tests 1304s ok 21 /sprintf/test-positional-params 1304s ok 22 /sprintf/upper-bound 1304s # End of sprintf tests 1304s # Start of vasprintf tests 1304s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1304s ok 23 /vasprintf/invalid-format-placeholder 1304s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1304s ok 24 /vasprintf/invalid-wide-string 1304s # End of vasprintf tests 1304s TAP version 14 1304s # random seed: R02Scdf0ff611100b6e39ef7aca1d50dd182 1304s 1..6 1304s # Start of glib tests 1304s # Start of checked-math tests 1304s ok 1 /glib/checked-math/guint-add 1304s ok 2 /glib/checked-math/guint-mul 1304s ok 3 /glib/checked-math/guint64-add 1304s ok 4 /glib/checked-math/guint64-mul 1304s ok 5 /glib/checked-math/gsize-add 1304s ok 6 /glib/checked-math/gsize-mul 1304s # End of checked-math tests 1304s # End of glib tests 1304s TAP version 14 1304s # random seed: R02S724a7a31b807ff730cce3cd35de72c46 1304s 1..2 1304s # Start of atomic tests 1304s ok 1 /atomic/types 1304s ok - glib/markup-subparser.test 1304s # Running test: glib/hash.test 1304s ok - glib/hash.test 1304s # Running test: glib/type-flags.test 1304s ok - glib/type-flags.test 1304s # Running test: glib/test-printf.test 1304s ok - glib/test-printf.test 1304s # Running test: glib/overflow-fallback.test 1304s ok - glib/overflow-fallback.test 1304s # Running test: glib/atomic-c-17.test 1304s ok 2 /atomic/threaded 1304s # End of atomic tests 1304s ok - glib/atomic-c-17.test 1304s # Running test: glib/thread-deprecated.test 1304s TAP version 14 1304s # random seed: R02S7f689475f942e19e5d180b5b62fbb6d3 1304s 1..6 1304s # Start of thread tests 1304s ok 1 /thread/mutex 1305s ok 2 /thread/static-rec-mutex 1306s # Executing: glib/thread-deprecated.test 1309s ok 3 /thread/static-private 1309s # slow test /thread/static-private executed in 4.41 secs 1312s # Executing: glib/thread-deprecated.test 1314s ok 4 /thread/static-rw-lock 1314s # slow test /thread/static-rw-lock executed in 5.00 secs 1314s ok 5 /thread/once 1317s # Executing: glib/thread-deprecated.test 1321s # Executing: glib/thread-deprecated.test 1324s ok - glib/thread-deprecated.test 1324s ok 6 /thread/rerun-all 1324s # slow test /thread/rerun-all executed in 10.02 secs 1324s # End of thread tests 1324s # Running test: glib/unix-fd.test 1324s ok - glib/unix-fd.test 1324s # Running test: glib/closure-refcount.test 1324s TAP version 14 1324s # random seed: R02Sc97560893cfe1335a234eaba876bfabd 1324s 1..2 1324s # Start of unix-fd tests 1324s ok 1 /unix-fd/fd-list 1324s ok 2 /unix-fd/scm 1324s # End of unix-fd tests 1324s TAP version 14 1324s # random seed: R02Sd64b53b5a77a071588b253ed8569a7b9 1324s 1..1 1324s # Start of closure tests 1324s # Init 0x1f6865c46db0 1324s # Yielding from main thread 1324s # Yielding from main thread 1324s # Yielding from main thread 1324s # Yielding from main thread 1324s # Yielding from main thread 1324s # Yielding from main thread 1324s # Yielding from thread1 1324s # Yielding from main thread 1324s # Yielding from main thread 1325s # Yielding from thread2 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from thread1 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from thread2 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from thread1 1325s # Yielding from thread2 1325s # Yielding from main thread 1325s # Yielding from main thread 1325s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from thread2 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from thread1 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from thread2 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from thread1 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Yielding from main thread 1326s # Executing: glib/closure-refcount.test 1326s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from thread2 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from thread1 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from thread2 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from thread1 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1327s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from thread2 1328s # Yielding from thread1 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from thread1 1328s # Yielding from main thread 1328s # Yielding from thread2 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from main thread 1328s # Yielding from thread1 1328s # Yielding from main thread 1328s # Yielding from thread2 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from thread1 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from thread2 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from thread1 1329s # Yielding from main thread 1329s # Yielding from main thread 1329s # Yielding from thread2 1329s # Yielding from main thread 1329s # Yielding from main thread 1330s # Stopping 1330s # Stopped 1330s ok 1 /closure/refcount 1330s # slow test /closure/refcount executed in 5.54 secs 1330s # End of closure tests 1330s ok - glib/closure-refcount.test 1330s # Running test: glib/autoptr.test 1330s TAP version 14 1330s # random seed: R02Sc621fa37b0d304c5ca448e174a6d2a38 1330s 1..6 1330s # Start of autoptr tests 1330s ok 1 /autoptr/autoptr 1330s ok 2 /autoptr/autoptr_steal 1330s ok 3 /autoptr/autolist 1330s ok 4 /autoptr/autoslist 1330s ok 5 /autoptr/autoqueue 1330s ok 6 /autoptr/autoclass 1330s # End of autoptr tests 1330s ok - glib/autoptr.test 1330s # Running test: glib/sandbox.test 1330s TAP version 14 1330s # random seed: R02S68cfae58e9806df2c3df33f2ed4d5630 1330s 1..4 1330s # Start of sandbox tests 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_962OK3/sandbox/none/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_962OK3/sandbox/none/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_962OK3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_962OK3/sandbox/none/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_962OK3/sandbox/none/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_962OK3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_962OK3/sandbox/none/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_962OK3/sandbox/none/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_962OK3/sandbox/none/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_962OK3/sandbox/none/.dirs/runtime 1330s ok 1 /sandbox/none 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_962OK3/sandbox/snap/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_962OK3/sandbox/snap/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_962OK3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_962OK3/sandbox/snap/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_962OK3/sandbox/snap/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_962OK3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_962OK3/sandbox/snap/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_962OK3/sandbox/snap/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_962OK3/sandbox/snap/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_962OK3/sandbox/snap/.dirs/runtime 1330s # Created snap.yaml in /tmp/test_sandbox_962OK3/snap/current/meta/snap.yaml 1330s ok 2 /sandbox/snap 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_962OK3/sandbox/classic-snap/.dirs/runtime 1330s ok - glib/sandbox.test 1330s # Running test: glib/portal-support-snap.test 1330s # Created snap.yaml in /tmp/test_sandbox_962OK3/snap/current/meta/snap.yaml 1330s ok 3 /sandbox/classic-snap 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/runtime 1330s # Creating .flatpak-info in /tmp/test_sandbox_962OK3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1330s ok 4 /sandbox/flatpak 1330s # End of sandbox tests 1330s TAP version 14 1330s # random seed: R02S020faaa62f7eeff8e0c10f2a61ece078 1330s 1..7 1330s # Start of portal-support tests 1330s # Start of snap tests 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl/.dirs/runtime 1330s # Created snap.yaml in /tmp/test_portal-support-snap_9BFPK3/meta/snap.yaml 1330s Unable to clean up temporary directory /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/no-snapctl: No such file or directory 1330s ok 1 /portal-support/snap/no-snapctl 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/runtime 1330s # Created snap.yaml in /tmp/test_portal-support-snap_9BFPK3/meta/snap.yaml 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none/.dirs/runtime/snapctl 1330s Unable to clean up temporary directory /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/none: No such file or directory 1330s ok 2 /portal-support/snap/none 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/runtime 1330s # Created snap.yaml in /tmp/test_portal-support-snap_9BFPK3/meta/snap.yaml 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all/.dirs/runtime/snapctl 1330s Unable to clean up temporary directory /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/all: No such file or directory 1330s ok 3 /portal-support/snap/all 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/runtime 1330s # Created snap.yaml in /tmp/test_portal-support-snap_9BFPK3/meta/snap.yaml 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1330s Unable to clean up temporary directory /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/desktop-only: No such file or directory 1330s ok 4 /portal-support/snap/desktop-only 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/runtime 1330s # Created snap.yaml in /tmp/test_portal-support-snap_9BFPK3/meta/snap.yaml 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only/.dirs/runtime/snapctl 1330s Unable to clean up temporary directory /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/network-only: No such file or directory 1330s ok 5 /portal-support/snap/network-only 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/runtime 1330s # Created snap.yaml in /tmp/test_portal-support-snap_9BFPK3/meta/snap.yaml 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1330s Unable to clean up temporary directory /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/gsettings-only: No such file or directory 1330s ok 6 /portal-support/snap/gsettings-only 1330s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/home 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/cache 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/system-config2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/config 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/system-data2 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/data 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/state 1330s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/runtime 1330s # Created snap.yaml in /tmp/test_portal-support-snap_9BFPK3/meta/snap.yaml 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1330s ok - glib/portal-support-snap.test 1330s # Running test: glib/collate.test 1330s ok - glib/collate.test 1330s # Running test: glib/objects-refcount1.test 1330s # Created snapctl in /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1330s Unable to clean up temporary directory /tmp/test_portal-support-snap_9BFPK3/portal-support/snap/updates-dynamically: No such file or directory 1330s ok 7 /portal-support/snap/updates-dynamically 1330s # End of snap tests 1330s # End of portal-support tests 1330s Unable to clean up temporary directory /tmp/test_portal-support-snap_9BFPK3: No such file or directory 1330s TAP version 14 1330s # random seed: R02S2eb4fdbac3b4b0ee73f3589ad17e4702 1330s 1..9 1330s # Start of unicode tests 1330s # Start of collate tests 1330s ok 1 /unicode/collate/0 1330s ok 2 /unicode/collate/1 1330s ok 3 /unicode/collate/2 1330s # End of collate tests 1330s # Start of collate-key tests 1330s ok 4 /unicode/collate-key/0 1330s ok 5 /unicode/collate-key/1 1330s ok 6 /unicode/collate-key/2 1330s # End of collate-key tests 1330s # Start of collate-filename tests 1330s ok 7 /unicode/collate-filename/0 1330s ok 8 /unicode/collate-filename/1 1330s ok 9 /unicode/collate-filename/2 1330s # End of collate-filename tests 1330s # End of unicode tests 1330s TAP version 14 1330s # random seed: R02S2c399a3da73e953a3322d23f8b1e6abc 1330s 1..1 1330s # Start of gobject tests 1330s # Start of refcount tests 1330s # init 0x1033c795dd90 1330s # 1330s # init 0x1033c795dea0 1330s # 1331s # Executing: glib/objects-refcount1.test 1335s ok - glib/objects-refcount1.test 1335s # Running test: glib/cache.test 1335s ok - glib/cache.test 1335s # Running test: glib/unix-streams.test 1335s # dispose 0x1033c795dd90! 1335s # 1335s # dispose 0x1033c795dea0! 1335s # 1335s ok 1 /gobject/refcount/object-basics 1335s # slow test /gobject/refcount/object-basics executed in 5.01 secs 1335s # End of refcount tests 1335s # End of gobject tests 1335s TAP version 14 1335s # random seed: R02Sc3cef656f05c9e72b2ff7ba2e3272a07 1335s 1..1 1335s # Start of cache tests 1335s ok 1 /cache/basic 1335s # End of cache tests 1335s TAP version 14 1335s # random seed: R02Sc70502320b9858906bf0ce42472b04c5 1335s 1..9 1335s # Start of unix-streams tests 1335s ok 1 /unix-streams/basic 1335s ok 2 /unix-streams/pipe-io-test 1335s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1336s ok - glib/unix-streams.test 1336s # Running test: glib/init.test 1336s ok 3 /unix-streams/nonblocking-io-test 1336s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1336s ok 4 /unix-streams/read_write 1336s ok 5 /unix-streams/read_writev 1336s ok 6 /unix-streams/write-wouldblock 1336s ok 7 /unix-streams/writev-wouldblock 1336s ok 8 /unix-streams/write-async-wouldblock 1336s ok 9 /unix-streams/writev-async-wouldblock 1336s # End of unix-streams tests 1336s TAP version 14 1336s # random seed: R02S86866b8c0cf7a3d715efbe1c1ce74cef 1336s ok - glib/init.test 1336s # Running test: glib/g-file-info.test 1336s ok - glib/g-file-info.test 1336s # Running test: glib/g-icon.test 1336s ok - glib/g-icon.test 1336s # Running test: glib/converter-stream.test 1336s 1..2 1336s # Start of thread tests 1336s # Start of deprecated tests 1336s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_M28GK3/thread/deprecated/init/.dirs/home 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_M28GK3/thread/deprecated/init/.dirs/cache 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_M28GK3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_M28GK3/thread/deprecated/init/.dirs/system-config2 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_M28GK3/thread/deprecated/init/.dirs/config 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_M28GK3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_M28GK3/thread/deprecated/init/.dirs/system-data2 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_M28GK3/thread/deprecated/init/.dirs/data 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_M28GK3/thread/deprecated/init/.dirs/state 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_M28GK3/thread/deprecated/init/.dirs/runtime 1336s ok 1 /thread/deprecated/init 1336s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1336s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_M28GK3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1336s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1336s # End of deprecated tests 1336s # End of thread tests 1336s TAP version 14 1336s # random seed: R02S6c933178b9f5f30b6c9d365bc29565ce 1336s 1..6 1336s # Start of g-file-info tests 1336s ok 1 /g-file-info/test_g_file_info 1336s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1336s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1336s ok 2 /g-file-info/xattrs 1336s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1336s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1336s ok 3 /g-file-info/set-modified-date-time-precision 1336s # Start of test_g_file_info tests 1336s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1336s ok 4 /g-file-info/test_g_file_info/modification-time 1336s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1336s ok 5 /g-file-info/test_g_file_info/access-time 1336s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1336s ok 6 /g-file-info/test_g_file_info/creation-time 1336s # End of test_g_file_info tests 1336s # End of g-file-info tests 1336s TAP version 14 1336s # random seed: R02S441e0ba5a1bf7df6b200c57a788f60bd 1336s 1..6 1336s # Start of icons tests 1336s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1336s ok 1 /icons/to-string 1336s ok 2 /icons/serialize 1336s ok 3 /icons/themed 1336s ok 4 /icons/emblemed 1336s ok 5 /icons/file 1336s ok 6 /icons/bytes 1336s # End of icons tests 1336s TAP version 14 1336s # random seed: R02S95405f8340692dfebcbd7a852cf2c3c4 1336s 1..17 1336s # Start of converter tests 1336s ok 1 /converter/basics 1336s # End of converter tests 1336s # Start of converter-input-stream tests 1336s ok 2 /converter-input-stream/expander 1336s ok 3 /converter-input-stream/compressor 1336s # Start of truncation tests 1336s ok 4 /converter-input-stream/truncation/zlib 1336s ok 5 /converter-input-stream/truncation/gzip 1336s ok 6 /converter-input-stream/truncation/raw 1336s # End of truncation tests 1336s # Start of charset tests 1336s ok 7 /converter-input-stream/charset/utf8->latin1 1336s ok 8 /converter-input-stream/charset/latin1->utf8 1336s ok 9 /converter-input-stream/charset/fallbacks 1336s # End of charset tests 1336s # End of converter-input-stream tests 1336s # Start of converter-output-stream tests 1336s # Start of roundtrip tests 1336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1336s ok 10 /converter-output-stream/roundtrip/zlib-0 1336s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1336s # Executing: glib/converter-stream.test 1337s ok 11 /converter-output-stream/roundtrip/zlib-9 1337s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1337s ok 12 /converter-output-stream/roundtrip/gzip-0 1337s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1337s ok 13 /converter-output-stream/roundtrip/gzip-9 1337s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1337s ok 14 /converter-output-stream/roundtrip/raw-0 1337s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1337s ok 15 /converter-output-stream/roundtrip/raw-9 1337s # End of roundtrip tests 1337s # End of converter-output-stream tests 1337s # Start of converter-stream tests 1337s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1337s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1f5eb4f2ab0 and GSocketClientAsyncConnectData 0x1f5eb4eb210 1337s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1337s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1337s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1f5eb131ba0 for GSocketClientAsyncConnectData 0x1f5eb4eb210 1337s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1337s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1337s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1337s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1337s ok - glib/converter-stream.test 1337s # Running test: glib/slist.test 1337s ok 16 /converter-stream/pollable 1337s ok 17 /converter-stream/leftover 1337s # End of converter-stream tests 1337s ok - glib/slist.test 1337s # Running test: glib/signals-refcount1.test 1337s TAP version 14 1337s # random seed: R02Sc6b2e77a4fce5fdf0a5f1134173e4ea9 1337s 1..14 1337s # Start of slist tests 1337s ok 1 /slist/sort 1337s ok 2 /slist/sort-with-data 1337s ok 3 /slist/insert-sorted 1337s ok 4 /slist/insert-sorted-with-data 1337s ok 5 /slist/reverse 1337s ok 6 /slist/nth 1337s ok 7 /slist/remove 1337s ok 8 /slist/remove-all 1337s ok 9 /slist/insert 1337s ok 10 /slist/position 1337s ok 11 /slist/concat 1337s ok 12 /slist/copy 1337s # Start of sort tests 1337s ok 13 /slist/sort/stable 1337s # End of sort tests 1337s # Start of copy tests 1337s ok 14 /slist/copy/deep 1337s # End of copy tests 1337s # End of slist tests 1337s TAP version 14 1337s # random seed: R02Sa0c91e0dba32e1bd9c3bbc01821ae82d 1337s 1..1 1337s # Start of gobject tests 1337s # Start of refcount tests 1337s # init 0x1518097dd4a0 1337s # 1337s # init 0x1518097d5580 1337s # 1341s # Executing: glib/signals-refcount1.test 1342s # dispose 0x1518097dd4a0! 1342s # 1342s # dispose 0x1518097d5580! 1342s # 1342s ok 1 /gobject/refcount/signals 1342s # slow test /gobject/refcount/signals executed in 5.00 secs 1342s # End of refcount tests 1342s # End of gobject tests 1342s ok - glib/signals-refcount1.test 1342s # Running test: glib/field-info.test 1342s ok - glib/field-info.test 1342s TAP version 14 1342s # random seed: R02S3b251bd946a7450315d4611502e85cf1 1342s 1..4 1342s # Start of field-info tests 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_CJ56J3/field-info/basic-struct-field/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct 1342s ok 1 /field-info/basic-struct-field 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_CJ56J3/field-info/basic-union-field/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union 1342s ok 2 /field-info/basic-union-field 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_CJ56J3/field-info/read-write-struct-field/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union 1342s ok 3 /field-info/read-write-struct-field 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_CJ56J3/field-info/read-write-union-field/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union 1342s ok 4 /field-info/read-write-union-field 1342s # End of field-info tests 1342s # Running test: glib/tls-certificate.test 1342s ok - glib/tls-certificate.test 1342s # Running test: glib/notify-init2.test 1342s ok - glib/notify-init2.test 1342s # Running test: glib/boxed.test 1342s TAP version 14 1342s # random seed: R02S660f9a6f080e24451a48a7d34802cf00 1342s 1..19 1342s # Start of tls-certificate tests 1342s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1342s ok 1 /tls-certificate/pem-parser 1342s ok 2 /tls-certificate/pem-parser-handles-chain 1342s ok 3 /tls-certificate/from_file 1342s ok 4 /tls-certificate/from_files 1342s ok 5 /tls-certificate/from_files_crlf 1342s ok 6 /tls-certificate/from_files_pkcs8 1342s ok 7 /tls-certificate/from_files_pkcs8enc 1342s ok 8 /tls-certificate/list_from_file 1342s ok 9 /tls-certificate/pkcs11-uri 1342s ok 10 /tls-certificate/pkcs11-uri-unsupported 1342s ok 11 /tls-certificate/from_pkcs12 1342s ok 12 /tls-certificate/from_pkcs12_file 1342s ok 13 /tls-certificate/not-valid-before 1342s ok 14 /tls-certificate/not-valid-after 1342s ok 15 /tls-certificate/subject-name 1342s ok 16 /tls-certificate/issuer-name 1342s ok 17 /tls-certificate/dns-names 1342s ok 18 /tls-certificate/ip-addresses 1342s ok 19 /tls-certificate/pem-parser-no-sentinel 1342s # End of tls-certificate tests 1342s TAP version 14 1342s # random seed: R02Scc18af9363a62d7add3b1e8bcb8e155e 1342s 1..1 1342s # Start of properties tests 1342s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1342s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1342s ok 1 /properties/notify-in-init2 1342s # End of properties tests 1342s TAP version 14 1342s # random seed: R02Sb357292fe23f7fd2cc20dde2b58ec510 1342s 1..27 1342s # Start of boxed tests 1342s ok 1 /boxed/define 1342s ok 2 /boxed/ownership 1342s ok 3 /boxed/closure 1342s ok 4 /boxed/date 1342s ok 5 /boxed/value 1342s ok 6 /boxed/string 1342s ok 7 /boxed/hashtable 1342s ok 8 /boxed/array 1342s ok 9 /boxed/ptrarray 1342s ok 10 /boxed/regex 1342s ok 11 /boxed/varianttype 1342s ok 12 /boxed/error 1342s ok 13 /boxed/datetime 1342s ok 14 /boxed/matchinfo 1342s ok 15 /boxed/keyfile 1342s ok 16 /boxed/mainloop 1342s ok 17 /boxed/maincontext 1342s ok 18 /boxed/source 1342s ok 19 /boxed/variantbuilder 1342s ok 20 /boxed/timezone 1342s ok 21 /boxed/pollfd 1342s ok 22 /boxed/markup 1342s ok 23 /boxed/thread 1342s ok 24 /boxed/checksum 1342s ok 25 /boxed/tree 1342s ok 26 /boxed/patternspec 1342s ok 27 /boxed/rand 1342s # End of boxed tests 1342s TAP version 14 1342s # random seed: R02S0cfacc659e0694d153395c87d4578bdd 1342s 1..2 1342s # Start of atomic tests 1342s ok 1 /atomic/types 1342s ok - glib/boxed.test 1342s # Running test: glib/atomic-c-89.test 1342s ok - glib/atomic-c-89.test 1342s # Running test: glib/callable-info.test 1342s ok 2 /atomic/threaded 1342s # End of atomic tests 1342s TAP version 14 1342s # random seed: R02S15d6cde9687ba2e3ff02b8fc6b8f0387 1342s 1..6 1342s # Start of callable-info tests 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_QM5KK3/callable-info/sync-function/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s ok 1 /callable-info/sync-function 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_QM5KK3/callable-info/async-function/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s ok 2 /callable-info/async-function 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_QM5KK3/callable-info/is-method/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s ok 3 /callable-info/is-method 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_QM5KK3/callable-info/static-method/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s ok 4 /callable-info/static-method 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_QM5KK3/callable-info/static-vfunc/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1342s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1342s # Start of platform tests 1342s # Start of unix tests 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_QM5KK3/callable-info/platform/unix/is-method/.dirs/runtime 1342s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1342s # Checking DesktopAppInfo in Gio 1342s # Checking DesktopAppInfo in GioUnix 1342s ok 6 /callable-info/platform/unix/is-method 1342s # End of unix tests 1342s # End of platform tests 1342s # End of callable-info tests 1342s TAP version 14 1342s # random seed: R02S40260b29899c65e4952532db73ae7804 1342s 1..5 1342s # Start of gdbus tests 1342s # Start of auth tests 1342s # Start of client tests 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/EXTERNAL/.dirs/runtime 1342s ok - glib/callable-info.test 1342s # Running test: glib/gdbus-auth.test 1342s ok 1 /gdbus/auth/client/EXTERNAL 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 1342s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 1342s # End of client tests 1342s # Start of server tests 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 1342s ok 3 /gdbus/auth/server/ANONYMOUS 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/EXTERNAL/.dirs/runtime 1342s ok 4 /gdbus/auth/server/EXTERNAL 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3W0KK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 1342s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 1342s # End of server tests 1342s # End of auth tests 1342s # End of gdbus tests 1342s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1342s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1342s TAP version 14 1342s # random seed: R02Sd015718684dd83780439980c979c77b7 1342s 1..3 1342s # Start of gdbus tests 1342s # Start of message tests 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/lock/.dirs/runtime 1342s ok 1 /gdbus/message/lock 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/system-config2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/copy/.dirs/runtime 1342s ok 2 /gdbus/message/copy 1342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/home 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/cache 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/system-config2 1342s ok - glib/gdbus-auth.test 1342s # Running test: glib/gdbus-message.test 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/config 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/system-data2 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/data 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/state 1342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_ZRVLK3/gdbus/message/bytes-needed/.dirs/runtime 1342s # Vector: 0 1342s # Vector: 1 1342s # Vector: 2 1342s # Vector: 3 1342s # Vector: 4 1342s # Vector: 5 1342s ok 3 /gdbus/message/bytes-needed 1342s # End of message tests 1342s # End of gdbus tests 1342s TAP version 14 1342s # random seed: R02Sd7d65935793caf3f1d17fb3e70e9f5d7 1342s 1..72 1342s # Start of network-address tests 1342s ok 1 /network-address/basic 1342s ok 2 /network-address/scope-id 1342s ok 3 /network-address/uri-scope-id 1342s ok 4 /network-address/to-string 1342s # Start of parse-host tests 1342s ok 5 /network-address/parse-host/0 1342s ok 6 /network-address/parse-host/1 1342s ok 7 /network-address/parse-host/2 1342s ok 8 /network-address/parse-host/3 1342s ok 9 /network-address/parse-host/4 1342s ok 10 /network-address/parse-host/5 1342s ok 11 /network-address/parse-host/6 1342s ok - glib/gdbus-message.test 1342s # Running test: glib/network-address.test 1342s ok 12 /network-address/parse-host/7 1342s ok 13 /network-address/parse-host/8 1342s ok 14 /network-address/parse-host/9 1342s ok 15 /network-address/parse-host/10 1342s ok 16 /network-address/parse-host/11 1342s ok 17 /network-address/parse-host/12 1342s ok 18 /network-address/parse-host/13 1342s # End of parse-host tests 1342s # Start of parse-uri tests 1342s ok 19 /network-address/parse-uri/0 1342s ok 20 /network-address/parse-uri/1 1342s ok 21 /network-address/parse-uri/2 1342s ok 22 /network-address/parse-uri/3 1342s ok 23 /network-address/parse-uri/4 1342s ok 24 /network-address/parse-uri/5 1342s ok 25 /network-address/parse-uri/6 1342s ok 26 /network-address/parse-uri/7 1342s ok 27 /network-address/parse-uri/8 1342s ok 28 /network-address/parse-uri/9 1342s # End of parse-uri tests 1342s # Start of resolve-address tests 1342s # Input: 192.168.1.2 1342s ok 29 /network-address/resolve-address/0 1342s # Input: fe80::42 1342s ok 30 /network-address/resolve-address/1 1342s # Input: 192.168.1.2:80 1342s ok 31 /network-address/resolve-address/2 1342s # Input: [fe80::42] 1342s ok 32 /network-address/resolve-address/3 1342s # Input: [fe80::42]:80 1342s ok 33 /network-address/resolve-address/4 1342s # Input: 192.168.258 1342s ok 34 /network-address/resolve-address/5 1342s # Input: 192.11010306 1342s ok 35 /network-address/resolve-address/6 1342s # Input: 3232235778 1342s ok 36 /network-address/resolve-address/7 1342s # Input: 0300.0250.0001.0001 1342s ok 37 /network-address/resolve-address/8 1342s # Input: 0xC0.0xA8.0x01.0x02 1342s ok 38 /network-address/resolve-address/9 1342s # Input: 0xc0.0xa8.0x01.0x02 1342s ok 39 /network-address/resolve-address/10 1342s # Input: 0xc0a80102 1342s ok 40 /network-address/resolve-address/11 1342s # End of resolve-address tests 1342s # Start of loopback tests 1342s ok 41 /network-address/loopback/basic 1342s ok 42 /network-address/loopback/sync 1342s ok 43 /network-address/loopback/async 1342s # End of loopback tests 1342s # Start of localhost tests 1342s ok 44 /network-address/localhost/async 1342s ok 45 /network-address/localhost/sync 1342s # End of localhost tests 1342s # Start of happy-eyeballs tests 1342s ok 46 /network-address/happy-eyeballs/basic 1343s ok 47 /network-address/happy-eyeballs/parallel 1343s ok 48 /network-address/happy-eyeballs/slow-ipv4 1343s ok 49 /network-address/happy-eyeballs/slow-ipv6 1343s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 1344s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 1344s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 1344s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1344s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 1344s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1344s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 1344s # /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. 1344s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1344s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 1344s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1344s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 1344s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1344s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 1344s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1344s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1344s ok 57 /network-address/happy-eyeballs/both-error 1344s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1344s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1344s ok 58 /network-address/happy-eyeballs/both-error-delays-1 1344s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1344s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 1344s ok 59 /network-address/happy-eyeballs/both-error-delays-2 1344s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 1344s ok 60 /network-address/happy-eyeballs/both-error-delays-3 1344s # End of happy-eyeballs tests 1344s # End of network-address tests 1344s # Start of gresolver tests 1344s # Start of resolve-address tests 1344s # Input: 192.168.1.2 1344s ok 61 /gresolver/resolve-address/0 1344s # Input: fe80::42 1344s ok 62 /gresolver/resolve-address/1 1344s # Input: 192.168.1.2:80 1344s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 1344s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1344s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1344s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1344s # Error: Error resolving “192.168.1.2:80”: Name or service not known 1344s ok 63 /gresolver/resolve-address/2 1344s # Input: [fe80::42] 1344s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 1344s # Error: Error resolving “[fe80::42]”: Name or service not known 1344s ok 64 /gresolver/resolve-address/3 1344s # Input: [fe80::42]:80 1344s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 1344s # Error: Error resolving “[fe80::42]:80”: Name or service not known 1344s ok 65 /gresolver/resolve-address/4 1344s # Input: 192.168.258 1344s # Error: Error resolving “192.168.258”: Name or service not known 1344s ok 66 /gresolver/resolve-address/5 1344s # Input: 192.11010306 1344s # Error: Error resolving “192.11010306”: Name or service not known 1344s ok 67 /gresolver/resolve-address/6 1344s # Input: 3232235778 1344s # Error: Error resolving “3232235778”: Name or service not known 1344s ok 68 /gresolver/resolve-address/7 1344s # Input: 0300.0250.0001.0001 1344s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 1344s ok 69 /gresolver/resolve-address/8 1344s # Input: 0xC0.0xA8.0x01.0x02 1344s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 1344s ok 70 /gresolver/resolve-address/9 1344s # Input: 0xc0.0xa8.0x01.0x02 1344s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 1344s ok 71 /gresolver/resolve-address/10 1344s # Input: 0xc0a80102 1344s # Error: Error resolving “0xc0a80102”: Name or service not known 1344s ok 72 /gresolver/resolve-address/11 1344s # End of resolve-address tests 1344s # End of gresolver tests 1344s TAP version 14 1344s # random seed: R02Se4f1d7abeac8a70ccd5661593fdccc91 1344s 1..1 1344s # Start of ir-parser tests 1344s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1344s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: popping node 1 dummy 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1344s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: popping node 1 dummy 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: 1344s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1344s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1344s # -r specify root type 1344s # -n don't descend type tree 1344s # -h show help 1344s # -b specify indent string 1344s # -i specify incremental indent string 1344s # -s specify line spacing 1344s # qualifiers: 1344s # froots iterate over fundamental roots 1344s # tree print type tree 1344s # Error: 1344s ok 3 __main__.TestGobjectQuery.test_tree 1344s # gobject-query: /usr/bin/gobject-query 1344s # tmpdir: /tmp/tmp5d00h9p8 1344s # Running: ['/usr/bin/gobject-query', 'tree'] 1344s # Return code: 0 1344s # Output: 1344s # GObject 1344s # Error: 1344s ok 4 __main__.TestGobjectQuery.test_version 1344s # gobject-query: /usr/bin/gobject-query 1344s # tmpdir: /tmp/tmpo1xodd37 1344s # Running: ['/usr/bin/gobject-query', '--version'] 1344s # Return code: 0 1344s # Output: 1344s # 2.86.3 1344s # Error: 1344s 1..4 1344s TAP version 14 1344s # random seed: R02Sec7ace9cfbcf0842c27af9632b517466 1344s 1..29 1344s # Start of type tests 1344s ok 1 /type/fundamentals 1344s ok 2 /type/qdata 1344s ok 3 /type/query 1344s ok 4 /type/class-private 1344s # End of type tests 1344s # Start of object tests 1344s ok 5 /object/clear 1344s ok 6 /object/clear-function 1344s ok 7 /object/set 1344s ok 8 /object/set-function 1344s ok 9 /object/value 1344s ok 10 /object/initially-unowned 1344s ok 11 /object/weak-pointer 1344s ok 12 /object/weak-ref 1344s ok 13 /object/toggle-ref 1344s ok 14 /object/qdata 1344s ok 15 /object/qdata2 1344s # Start of set tests 1344s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1344s ok 16 /object/set/derived-type 1344s # End of set tests 1344s # Start of weak-pointer tests 1344s ok 17 /object/weak-pointer/clear 1344s ok 18 /object/weak-pointer/clear-function 1344s ok 19 /object/weak-pointer/set 1344s ok 20 /object/weak-pointer/set-function 1344s # End of weak-pointer tests 1344s # Start of weak-ref tests 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1344s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1344s ok 21 /object/weak-ref/on-dispose 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1344s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1344s ok 22 /object/weak-ref/on-run-dispose 1344s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1344s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1344s ok 23 /object/weak-ref/on-toggle-notify 1344s ok 24 /object/weak-ref/in-toggle-notify 1344s ok 25 /object/weak-ref/many 1344s # Start of concurrent tests 1344s ok - glib/gobject-query.py.test 1344s # Running test: glib/reference.test 1345s ok 26 /object/weak-ref/concurrent/0 1345s ok 27 /object/weak-ref/concurrent/1 1345s # End of concurrent tests 1345s # End of weak-ref tests 1345s # Start of toggle-ref tests 1345s ok 28 /object/toggle-ref/ref-on-dispose 1345s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1345s # End of toggle-ref tests 1345s # End of object tests 1345s TAP version 14 1345s # random seed: R02S083506b8f204a0d883d4ceee62ca389e 1345s 1..8 1345s # Start of scanner tests 1345s ok 1 /scanner/warn 1345s ok 2 /scanner/error 1345s ok 3 /scanner/symbols 1345s ok 4 /scanner/tokens 1345s ok - glib/reference.test 1345s # Running test: glib/scannerapi.test 1345s ok 5 /scanner/multiline-comment 1345s ok 6 /scanner/int-to-float 1345s ok 7 /scanner/fd-input 1345s # Start of fd-input tests 1345s ok 8 /scanner/fd-input/rewind 1345s # End of fd-input tests 1345s # End of scanner tests 1345s TAP version 14 1345s # random seed: R02S4f9d7863501457581ed72a1943f04b84 1345s ok - glib/scannerapi.test 1345s # Running test: glib/sort.test 1345s 1..5 1345s # Start of sort tests 1345s ok 1 /sort/basic 1345s ok 2 /sort/zero-elements 1345s ok 3 /sort/stable 1345s ok 4 /sort/big 1345s ok 5 /sort/deprecated 1345s # End of sort tests 1345s ok - glib/sort.test 1345s # Running test: glib/cond.test 1345s TAP version 14 1345s # random seed: R02Sce69562367972c8d77c7067107ace0cd 1345s 1..4 1345s # Start of thread tests 1345s ok 1 /thread/cond1 1345s ok 2 /thread/cond2 1345s # Start of cond tests 1346s ok 3 /thread/cond/wait-until 1346s # slow test /thread/cond/wait-until executed in 1.02 secs 1346s # Start of wait-until tests 1346s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1346s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1346s # Executing: glib/cond.test 1347s ok 4 /thread/cond/wait-until/contended-and-interrupted 1347s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1347s # End of wait-until tests 1347s # End of cond tests 1347s # End of thread tests 1347s TAP version 14 1347s # random seed: R02S0844511e9f1ad3c3a8a70ea713be9744 1347s 1..7 1347s # Start of signal tests 1347s # Start of handler tests 1347s # min perf: connected 1 handlers in 0.000 seconds 1347s ok 1 /signal/handler/connect-many 1347s # min perf: disconnected 1 handlers in 0.000 seconds 1347s ok 2 /signal/handler/disconnect-many-ordered 1347s # min perf: disconnected 1 handlers in 0.000 seconds 1347s ok 3 /signal/handler/disconnect-many-inverse 1347s # min perf: disconnected 1 handlers in 0.000 seconds 1347s ok 4 /signal/handler/disconnect-many-random 1347s # min perf: disconnected 1 handlers in 0.000 seconds 1347s ok 5 /signal/handler/disconnect-2-signals 1347s # min perf: disconnected 1 handlers in 0.000 seconds 1347s ok 6 /signal/handler/disconnect-2-objects 1347s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1347s ok 7 /signal/handler/block-many 1347s # End of handler tests 1347s # End of signal tests 1347s ok - glib/cond.test 1347s # Running test: glib/signal-handler.test 1347s ok - glib/signal-handler.test 1347s # Running test: glib/objects-refcount2.test 1347s TAP version 14 1347s # random seed: R02S701f0d050ab848bcc38bf403b6dc428f 1347s 1..1 1347s # Start of gobject tests 1347s # Start of refcount tests 1347s # init 0x9f6265cdd70 1347s # 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1347s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1348s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1349s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1350s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # . 1351s # Executing: glib/objects-refcount2.test 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1352s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1353s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1354s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1355s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # . 1356s # Executing: glib/objects-refcount2.test 1356s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1357s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1358s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1359s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1360s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # . 1361s # Executing: glib/objects-refcount2.test 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1362s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1363s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1364s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1365s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # . 1366s # Executing: glib/objects-refcount2.test 1366s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1367s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1368s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1369s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1370s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # . 1371s # Executing: glib/objects-refcount2.test 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1372s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1373s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1374s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1375s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # . 1376s # Executing: glib/objects-refcount2.test 1376s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1377s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1378s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1379s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1380s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # . 1381s # Executing: glib/objects-refcount2.test 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1382s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s # . 1383s ok - glib/objects-refcount2.test 1383s # Running test: glib/gdbus-error.test 1383s # . 1383s # dispose 0x9f6265cdd70! 1383s # 1383s ok 1 /gobject/refcount/object-advanced 1383s # slow test /gobject/refcount/object-advanced executed in 36.43 secs 1383s # End of refcount tests 1383s # End of gobject tests 1383s TAP version 14 1383s # random seed: R02S14158e086aa61c1b29f490cdba193e88 1383s 1..4 1383s # Start of gdbus tests 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JFT5J3/gdbus/registered-errors/.dirs/runtime 1383s ok 1 /gdbus/registered-errors 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JFT5J3/gdbus/unregistered-errors/.dirs/runtime 1383s ok 2 /gdbus/unregistered-errors 1383s ok - glib/gdbus-error.test 1383s # Running test: glib/include.test 1383s ok - glib/include.test 1383s # Running test: glib/gio-tool.py.test 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JFT5J3/gdbus/transparent-gerror/.dirs/runtime 1383s ok 3 /gdbus/transparent-gerror 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_JFT5J3/gdbus/register-error/.dirs/runtime 1383s ok 4 /gdbus/register-error 1383s # End of gdbus tests 1383s TAP version 14 1383s # random seed: R02S4150bc6611f3f686792ce435fc34157a 1383s 1..1 1383s # Start of include tests 1383s ok 1 /include/rwlock 1383s # End of include tests 1383s TAP version 13 1383s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmpqvhu59fl 1383s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpqvhu59fl/folder/desktop.entry'] 1383s # Working Directory: /tmp/tmpqvhu59fl/folder 1383s # Return code: 0 1383s # Output: 1383s # /tmp/tmpqvhu59fl/folder/desktop.entry 1383s # Error: 1383s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmp0eka4ldu 1383s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp0eka4ldu/folder/desktop.entry'] 1383s # Working Directory: /tmp/tmp0eka4ldu 1383s # Return code: 0 1383s # Output: 1383s # /tmp/tmp0eka4ldu/folder/desktop.entry 1383s # Error: 1383s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmpkal5o5__ 1383s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpkal5o5__/folder/desktop.entry'] 1383s # Working Directory: /tmp/tmpkal5o5__/sibling 1383s # Return code: 0 1383s # Output: 1383s # /tmp/tmpkal5o5__/folder/desktop.entry 1383s # Error: 1383s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmp1xxhlrnc 1383s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1383s # Working Directory: /tmp/tmp1xxhlrnc/folder 1383s # Return code: 0 1383s # Output: 1383s # /tmp/tmp1xxhlrnc/folder/desktop.entry 1383s # Error: 1383s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmppcj8bsxa 1383s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1383s # Working Directory: /tmp/tmppcj8bsxa 1383s # Return code: 0 1383s # Output: 1383s # /tmp/tmppcj8bsxa/folder/desktop.entry 1383s # Error: 1383s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmppod6p7do 1383s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1383s # Working Directory: /tmp/tmppod6p7do/sibling 1383s # Return code: 0 1383s # Output: 1383s # /tmp/tmppod6p7do/folder/desktop.entry 1383s # Error: 1383s ok 7 __main__.TestGioTool.test_help 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmpqh8y6ecz 1383s # Running: ['/usr/bin/gio', '--help'] 1383s # Return code: 0 1383s # Output: 1383s # Usage: 1383s # gio COMMAND [ARGS…] 1383s # 1383s # Commands: 1383s # help Print help 1383s # version Print version 1383s # cat Concatenate files to standard output 1383s # copy Copy one or more files 1383s # info Show information about locations 1383s # launch Launch an application from a desktop file 1383s # list List the contents of locations 1383s # mime Get or set the handler for a mimetype 1383s # mkdir Create directories 1383s # monitor Monitor files and directories for changes 1383s # mount Mount or unmount the locations 1383s # move Move one or more files 1383s # open Open files with the default application 1383s # rename Rename a file 1383s # remove Delete one or more files 1383s # save Read from standard input and save 1383s # set Set a file attribute 1383s # trash Move files or directories to the trash 1383s # tree Lists the contents of locations in a tree 1383s # 1383s # Use “gio help COMMAND” to get detailed help. 1383s # Error: 1383s # 1383s # Running: ['/usr/bin/gio', 'help'] 1383s # Return code: 0 1383s # Output: 1383s # Usage: 1383s # gio COMMAND [ARGS…] 1383s # 1383s # Commands: 1383s # help Print help 1383s # version Print version 1383s # cat Concatenate files to standard output 1383s # copy Copy one or more files 1383s # info Show information about locations 1383s # launch Launch an application from a desktop file 1383s # list List the contents of locations 1383s # mime Get or set the handler for a mimetype 1383s # mkdir Create directories 1383s # monitor Monitor files and directories for changes 1383s # mount Mount or unmount the locations 1383s # move Move one or more files 1383s # open Open files with the default application 1383s # rename Rename a file 1383s # remove Delete one or more files 1383s # save Read from standard input and save 1383s # set Set a file attribute 1383s # trash Move files or directories to the trash 1383s # tree Lists the contents of locations in a tree 1383s # 1383s # Use “gio help COMMAND” to get detailed help. 1383s # Error: 1383s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmpl76t6sg8 1383s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpl76t6sg8/tmpx8gtyavo'] 1383s # Return code: 0 1383s # Output: 1383s # uri: file:///tmp/tmpl76t6sg8/tmpx8gtyavo 1383s # local path: /tmp/tmpl76t6sg8/tmpx8gtyavo 1383s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1383s # attributes: 1383s # standard::content-type: application/x-zerosize 1383s # Error: 1383s ok 9 __main__.TestGioTool.test_no_args 1383s # gio: /usr/bin/gio 1383s # tmpdir: /tmp/tmph406fx24 1383s # Running: ['/usr/bin/gio'] 1383s # Return code: 1 1383s # Output: 1383s # 1383s # Error: 1383s # Usage: 1383s # gio COMMAND [ARGS…] 1383s # 1383s # Commands: 1383s # help Print help 1383s # version Print version 1383s # cat Concatenate files to standard output 1383s # copy Copy one or more files 1383s # info Show information about locations 1383s # launch Launch an application from a desktop file 1383s # list List the contents of locations 1383s # mime Get or set the handler for a mimetype 1383s # mkdir Create directories 1383s # monitor Monitor files and directories for changes 1383s # mount Mount or unmount the locations 1383s # move Move one or more files 1383s # open Open files with the default application 1383s # rename Rename a file 1383s # remove Delete one or more files 1383s # save Read from standard input and save 1383s # set Set a file attribute 1383s # trash Move files or directories to the trash 1383s # tree Lists the contents of locations in a tree 1383s # 1383s # Use “gio help COMMAND” to get detailed help. 1383s 1..9 1383s ok - glib/gio-tool.py.test 1383s # Running test: glib/memory-monitor-psi.test 1383s ok - glib/memory-monitor-psi.test 1383s TAP version 14 1383s # random seed: R02S742361f75196ecf69ce8ea9c19fe55ea 1383s 1..1 1383s # Start of memory-monitor-psi tests 1383s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/home 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/cache 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/system-config2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/config 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/system-data2 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/data 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/state 1383s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_5GHMK3/memory-monitor-psi/receive-signal/.dirs/runtime 1383s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 1383s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 1383s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 1383s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1383s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1383s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1383s ok 1 /memory-monitor-psi/receive-signal 1383s # End of memory-monitor-psi tests 1383s # Running test: glib/macros-c-99.test 1383s ok - glib/macros-c-99.test 1383s # Running test: glib/singleton.test 1383s ok - glib/singleton.test 1383s # Running test: glib/signals-refcount2.test 1383s TAP version 14 1383s # random seed: R02Sccfbc2f41f9602de667bc18532a12c99 1383s 1..4 1383s # Start of C tests 1383s ok 1 /C/standard-99 1383s # End of C tests 1383s # Start of alignof tests 1383s ok 2 /alignof/fallback 1383s # End of alignof tests 1383s # Start of assert tests 1383s ok 3 /assert/static 1383s # End of assert tests 1383s # Start of struct tests 1383s ok 4 /struct/sizeof_member 1383s # End of struct tests 1383s TAP version 14 1383s # random seed: R02S5403c35bde27756c455e281688c6cd2d 1383s 1..2 1383s # Start of gobject tests 1383s # Start of singleton tests 1383s ok 1 /gobject/singleton/construction 1383s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1383s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1383s ok 2 /gobject/singleton/construct-property 1383s # End of singleton tests 1383s # End of gobject tests 1383s TAP version 14 1383s # random seed: R02S1ec0499a085426ac4c1254d0d62d6b26 1383s 1..1 1383s # Start of gobject tests 1383s # Start of refcount tests 1383s # init 0x1b00bda7d4a0 1383s # 1383s # init 0x1b00bda75580 1383s # 1387s # Executing: glib/signals-refcount2.test 1388s ok - glib/signals-refcount2.test 1388s # dispose 0x1b00bda7d4a0! 1388s # 1388s # dispose 0x1b00bda75580! 1388s # 1388s ok 1 /gobject/refcount/signals 1388s # slow test /gobject/refcount/signals executed in 5.00 secs 1388s # End of refcount tests 1388s # End of gobject tests 1388s # Running test: glib/cxx-20.test 1388s TAP version 14 1388s # random seed: R02S29735c5f197a84a497375cb1340694a6 1388s 1..2 1388s # Start of gtask tests 1388s # 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. 1388s ok 1 /gtask/name 1388s # Start of name tests 1388s # 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. 1388s ok 2 /gtask/name/macro-wrapper 1388s # End of name tests 1388s # End of gtask tests 1388s ok - glib/cxx-20.test 1388s # Running test: glib/async-close-output-stream.test 1388s ok - glib/async-close-output-stream.test 1388s # Running test: glib/refcount-macro.test 1388s ok - glib/refcount-macro.test 1388s # Running test: glib/io-stream.test 1388s ok - glib/io-stream.test 1388s # Running test: glib/slice.test 1388s TAP version 14 1388s # random seed: R02Sdd5a3a176b715a6d2108da6c872e462c 1388s 1..3 1388s # Start of close-async tests 1388s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1388s ok 1 /close-async/without-flush 1388s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1388s ok 2 /close-async/with-flush 1388s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1388s ok 3 /close-async/with-async-flush 1388s # End of close-async tests 1388s TAP version 14 1388s # random seed: R02Sa5e125f42b825abff3e5fff79b52df5c 1388s 1..4 1388s # Start of refcount tests 1388s ok 1 /refcount/grefcount 1388s ok 2 /refcount/gatomicrefcount 1388s # Start of grefcount tests 1388s ok 3 /refcount/grefcount/saturation 1388s # End of grefcount tests 1388s # Start of gatomicrefcount tests 1388s ok 4 /refcount/gatomicrefcount/saturation 1388s # End of gatomicrefcount tests 1388s # End of refcount tests 1388s TAP version 14 1388s # random seed: R02Sd4e03c79e2ccf75be660bc8cd4554c45 1388s 1..3 1388s # Start of io-stream tests 1388s ok 1 /io-stream/copy-chunks 1388s # Start of close tests 1388s # Start of async tests 1388s ok 2 /io-stream/close/async/memory 1388s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1388s ok 3 /io-stream/close/async/file 1388s # End of async tests 1388s # End of close tests 1388s # End of io-stream tests 1388s TAP version 14 1388s # random seed: R02Sd08b59dc82b9348be45c10e24c5affc9 1388s 1..3 1388s # Start of slice tests 1388s ok 1 /slice/copy 1388s ok 2 /slice/chain 1389s ok - glib/slice.test 1389s # Running test: glib/strfuncs.test 1389s ok - glib/strfuncs.test 1389s # Running test: glib/fdo-notification-backend.test 1389s ok 3 /slice/allocate 1389s # End of slice tests 1389s TAP version 14 1389s # random seed: R02S3d4726f5a3ea91558cd1a2bc9b1d8e58 1389s 1..51 1389s # Start of strfuncs tests 1389s ok 1 /strfuncs/ascii-strcasecmp 1389s ok 2 /strfuncs/ascii_strdown 1389s ok 3 /strfuncs/ascii_strdup 1389s ok 4 /strfuncs/ascii_strtod 1389s ok 5 /strfuncs/bounds-check 1389s ok 6 /strfuncs/has-prefix 1389s ok 7 /strfuncs/has-prefix-macro 1389s ok 8 /strfuncs/has-suffix 1389s ok 9 /strfuncs/has-suffix-macro 1389s ok 10 /strfuncs/memdup 1389s ok 11 /strfuncs/memdup2 1389s ok 12 /strfuncs/set_str 1389s ok 13 /strfuncs/stpcpy 1389s ok 14 /strfuncs/str_match_string 1389s ok 15 /strfuncs/str_tokenize_and_fold 1389s ok 16 /strfuncs/strcanon 1389s ok 17 /strfuncs/strchomp 1389s ok 18 /strfuncs/strchug 1389s ok 19 /strfuncs/strcompress-strescape 1389s ok 20 /strfuncs/strconcat 1389s ok 21 /strfuncs/strdelimit 1389s ok 22 /strfuncs/strdup 1389s ok 23 /strfuncs/strdup-printf 1389s ok 24 /strfuncs/strdupv 1389s ok 25 /strfuncs/strerror 1389s ok 26 /strfuncs/strip-context 1389s ok 27 /strfuncs/strjoin 1389s ok 28 /strfuncs/strjoinv 1389s ok 29 /strfuncs/strlcat 1389s ok 30 /strfuncs/strlcpy 1389s ok 31 /strfuncs/strncasecmp 1389s ok 32 /strfuncs/strndup 1389s ok 33 /strfuncs/strnfill 1389s ok 34 /strfuncs/strreverse 1389s ok 35 /strfuncs/strsignal 1389s ok 36 /strfuncs/strsplit 1389s ok 37 /strfuncs/strsplit-set 1389s ok 38 /strfuncs/strstr 1389s ok 39 /strfuncs/strtod 1389s ok 40 /strfuncs/strtoull-strtoll 1389s ok 41 /strfuncs/strup 1389s ok 42 /strfuncs/strv-contains 1389s ok 43 /strfuncs/strv-equal 1389s ok 44 /strfuncs/strv-length 1389s ok 45 /strfuncs/test-is-to-digit 1389s ok 46 /strfuncs/transliteration 1389s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1389s ok 47 /strfuncs/str-equal 1389s ok 48 /strfuncs/str-is-ascii 1389s # Start of ascii-string-to-num tests 1389s ok 49 /strfuncs/ascii-string-to-num/pathological 1389s ok 50 /strfuncs/ascii-string-to-num/usual 1389s # End of ascii-string-to-num tests 1389s # Start of strdup tests 1389s ok 51 /strfuncs/strdup/inline 1389s # End of strdup tests 1389s # End of strfuncs tests 1389s TAP version 14 1389s # random seed: R02S6b47c1f0cd7e3e9737ab22b3c5625ab1 1389s 1..2 1389s # Start of fdo-notification-backend tests 1389s # Test constructing a GFdoNotificationBackend 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 1 /fdo-notification-backend/construction 1389s # Start of dbus tests 1389s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1389s ok - glib/fdo-notification-backend.test 1389s # Running test: glib/sequence.test 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1389s ok 2 /fdo-notification-backend/dbus/activate-action 1389s # End of dbus tests 1389s # End of fdo-notification-backend tests 1389s TAP version 14 1389s # random seed: R02S1bf5fc03f21a4d15bb5b7fa0c30d1bd3 1389s 1..16 1389s # Start of sequence tests 1389s ok 1 /sequence/out-of-range-jump 1389s ok 2 /sequence/iter-move 1389s ok 3 /sequence/insert-sorted-non-pointer 1389s ok 4 /sequence/stable-sort 1389s ok 5 /sequence/is_empty 1389s # Start of random tests 1390s ok 6 /sequence/random/seed:825541564 1390s # slow test /sequence/random/seed:825541564 executed in 0.69 secs 1390s ok 7 /sequence/random/seed:801678400 1390s # slow test /sequence/random/seed:801678400 executed in 0.65 secs 1391s ok 8 /sequence/random/seed:1477639090 1391s # slow test /sequence/random/seed:1477639090 executed in 0.68 secs 1391s # Executing: glib/sequence.test 1391s ok 9 /sequence/random/seed:3369132895 1391s # slow test /sequence/random/seed:3369132895 executed in 0.62 secs 1392s ok 10 /sequence/random/seed:1192944867 1392s # slow test /sequence/random/seed:1192944867 executed in 0.66 secs 1393s ok 11 /sequence/random/seed:770458294 1393s # slow test /sequence/random/seed:770458294 executed in 0.69 secs 1393s ok 12 /sequence/random/seed:1099575817 1393s # slow test /sequence/random/seed:1099575817 executed in 0.66 secs 1394s ok 13 /sequence/random/seed:590523467 1394s # slow test /sequence/random/seed:590523467 executed in 0.68 secs 1395s ok 14 /sequence/random/seed:3583571454 1395s # slow test /sequence/random/seed:3583571454 executed in 0.68 secs 1396s ok 15 /sequence/random/seed:579241222 1396s # slow test /sequence/random/seed:579241222 executed in 0.69 secs 1396s ok 16 /sequence/random/seed:899446546 1396s # slow test /sequence/random/seed:899446546 executed in 0.67 secs 1396s # End of random tests 1396s # End of sequence tests 1396s ok - glib/sequence.test 1396s # Running test: glib/type.test 1396s ok - glib/type.test 1396s TAP version 14 1396s # random seed: R02Sd12434dbae9a92355b766b3707741720 1396s 1..6 1396s # Start of type tests 1396s ok 1 /type/registration-serial 1396s ok 2 /type/interface-prerequisite 1396s ok 3 /type/interface-check 1396s ok 4 /type/next-base 1396s ok 5 /type/is-a 1396s # Invalid types can’t be queried. 1396s # Unclassed types can’t be queried. 1396s ok 6 /type/query 1396s # End of type tests 1396s # Running test: glib/fileutils.test 1396s TAP version 14 1396s # random seed: R02Se72aa504fe1d5be64891986ca2e15d15 1396s 1..27 1396s # Start of fileutils tests 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/paths/.dirs/runtime 1396s ok 1 /fileutils/paths 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/build-path/.dirs/runtime 1396s ok 2 /fileutils/build-path 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/build-pathv/.dirs/runtime 1396s ok 3 /fileutils/build-pathv 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/build-filename/.dirs/runtime 1396s ok 4 /fileutils/build-filename 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/build-filenamev/.dirs/runtime 1396s ok 5 /fileutils/build-filenamev 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents/.dirs/runtime 1396s # We do not have CAP_DAC_OVERRIDE or equivalent 1396s # Checking g_mkdir_with_parents() in subdir ./hum/ 1396s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1396s ok 6 /fileutils/mkdir-with-parents 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/mkdir-with-parents-permission/.dirs/runtime 1396s # We do not have CAP_DAC_OVERRIDE or equivalent 1396s ok 7 /fileutils/mkdir-with-parents-permission 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/format-size-for-display/.dirs/runtime 1396s ok 8 /fileutils/format-size-for-display 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/errors/.dirs/runtime 1396s ok 9 /fileutils/errors 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/basename/.dirs/runtime 1396s ok 10 /fileutils/basename 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/get-basename/.dirs/runtime 1396s ok 11 /fileutils/get-basename 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/dirname/.dirs/runtime 1396s ok 12 /fileutils/dirname 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/dir-make-tmp/.dirs/runtime 1396s ok 13 /fileutils/dir-make-tmp 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/file-open-tmp/.dirs/runtime 1396s ok 14 /fileutils/file-open-tmp 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/file-test/.dirs/runtime 1396s ok 15 /fileutils/file-test 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/mkstemp/.dirs/runtime 1396s ok 16 /fileutils/mkstemp 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/mkdtemp/.dirs/runtime 1396s ok 17 /fileutils/mkdtemp 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/get-contents/.dirs/runtime 1396s ok 18 /fileutils/get-contents 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/get-contents-large-file/.dirs/runtime 1396s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/set-contents/.dirs/runtime 1396s ok 20 /fileutils/set-contents 1396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/home 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/cache 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/system-config2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/config 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/system-data2 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/data 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/state 1396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/.dirs/runtime 1396s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1396s # Flags 0 and test 0 1396s # Flags 0 and test 1 1396s # Flags 0 and test 2 1396s # Flags 0 and test 3 1396s # Flags 0 and test 4 1396s # Flags 0 and test 5 1396s # Flags 0 and test 6 1396s # Flags 1 and test 0 1396s # Flags 1 and test 1 1396s # Flags 1 and test 2 1396s # Flags 1 and test 3 1396s # Flags 1 and test 4 1396s # Flags 1 and test 5 1396s # Flags 1 and test 6 1396s # Flags 2 and test 0 1396s # Flags 2 and test 1 1396s # Flags 2 and test 2 1396s # Flags 2 and test 3 1396s # Flags 2 and test 4 1396s # Flags 2 and test 5 1396s # Flags 2 and test 6 1396s # Flags 3 and test 0 1396s # Flags 3 and test 1 1396s # Flags 3 and test 2 1396s # Flags 3 and test 3 1396s # Flags 3 and test 4 1396s # Flags 3 and test 5 1396s # Flags 3 and test 6 1396s # Flags 4 and test 0 1396s # Flags 4 and test 1 1396s # Flags 4 and test 2 1396s # Flags 4 and test 3 1396s # Flags 4 and test 4 1396s # Flags 4 and test 5 1396s # Flags 4 and test 6 1396s # Flags 5 and test 0 1396s # Flags 5 and test 1 1396s # Flags 5 and test 2 1396s # Flags 5 and test 3 1396s # Flags 5 and test 4 1396s # Flags 5 and test 5 1396s # Executing: glib/fileutils.test 1396s # Flags 5 and test 6 1396s # Flags 6 and test 0 1396s # Flags 6 and test 1 1396s # Flags 6 and test 2 1396s # Flags 6 and test 3 1397s # Flags 6 and test 4 1397s # Flags 6 and test 5 1397s # Flags 6 and test 6 1397s ok 21 /fileutils/set-contents-full 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/read-link/.dirs/runtime 1397s ok 22 /fileutils/read-link 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/stdio-wrappers/.dirs/runtime 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s ok 23 /fileutils/stdio-wrappers 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/fopen-modes/.dirs/runtime 1397s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1397s # Testing fopen() mode 'w' 1397s # Testing fopen() mode 'r' 1397s # Testing fopen() mode 'a' 1397s # Testing fopen() mode 'w+' 1397s # Testing fopen() mode 'r+' 1397s # Testing fopen() mode 'a+' 1397s # Testing fopen() mode 'wb' 1397s # Testing fopen() mode 'rb' 1397s # Testing fopen() mode 'ab' 1397s # Testing fopen() mode 'w+b' 1397s # Testing fopen() mode 'r+b' 1397s # Testing fopen() mode 'a+b' 1397s # Testing fopen() mode 'wb+' 1397s # Testing fopen() mode 'rb+' 1397s # Testing fopen() mode 'ab+' 1397s # Testing fopen() mode 'we' 1397s # Testing fopen() mode 're' 1397s # Testing fopen() mode 'ae' 1397s # Testing fopen() mode 'w+e' 1397s # Testing fopen() mode 'r+e' 1397s # Testing fopen() mode 'a+e' 1397s # Testing fopen() mode 'wbe' 1397s # Testing fopen() mode 'rbe' 1397s # Testing fopen() mode 'abe' 1397s # Testing fopen() mode 'w+be' 1397s # Testing fopen() mode 'r+be' 1397s # Testing fopen() mode 'a+be' 1397s # Testing fopen() mode 'wb+e' 1397s # Testing fopen() mode 'rb+e' 1397s # Testing fopen() mode 'ab+e' 1397s # Testing fopen() mode 'web' 1397s # Testing fopen() mode 'reb' 1397s # Testing fopen() mode 'aeb' 1397s # Testing fopen() mode 'w+eb' 1397s # Testing fopen() mode 'r+eb' 1397s # Testing fopen() mode 'a+eb' 1397s # Testing fopen() mode 'web+' 1397s # Testing fopen() mode 'reb+' 1397s # Testing fopen() mode 'aeb+' 1397s ok 24 /fileutils/fopen-modes 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/clear-fd/.dirs/runtime 1397s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1397s # Will be closed by autocleanup: 3, -42 1397s # Testing error handling 1397s ok 25 /fileutils/clear-fd 1397s # Start of set-contents-full tests 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-file/.dirs/runtime 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1397s ok 26 /fileutils/set-contents-full/read-only-file 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_RT76J3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1397s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1397s # Flags 0 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s # Flags 1 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s # Flags 2 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s # Flags 3 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s # Flags 4 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s # Flags 5 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s # Flags 6 1397s # We do not have CAP_DAC_OVERRIDE or equivalent 1397s ok 27 /fileutils/set-contents-full/read-only-directory 1397s # End of set-contents-full tests 1397s # Start of clear-fd tests 1397s # Start of subprocess tests 1397s ok - glib/fileutils.test 1397s # End of subprocess tests 1397s # End of clear-fd tests 1397s # End of fileutils tests 1397s Unable to clean up temporary directory /tmp/test_fileutils_RT76J3/glib-file-set-contents-full-rodir-2S4OK3: Directory not empty 1397s Unable to clean up temporary directory /tmp/test_fileutils_RT76J3/glib-file-set-contents-full-rodir-M6VEK3: Directory not empty 1397s Unable to clean up temporary directory /tmp/test_fileutils_RT76J3/glib-file-set-contents-full-rodir-HV9OK3: Directory not empty 1397s Unable to clean up temporary directory /tmp/test_fileutils_RT76J3/glib-file-set-contents-full-rodir-2SUPK3: Directory not empty 1397s Unable to clean up temporary directory /tmp/test_fileutils_RT76J3/glib-file-set-contents-full-rodir-FGGPK3: Directory not empty 1397s Unable to clean up temporary directory /tmp/test_fileutils_RT76J3/glib-file-set-contents-full-rodir-Q2OEK3: Directory not empty 1397s Unable to clean up temporary directory /tmp/test_fileutils_RT76J3/glib-file-set-contents-full-rodir-RRDPK3: Directory not empty 1397s Unable to clean up temporary directory /tmp/test_fileutils_RT76J3: Directory not empty 1397s # Running test: glib/memory-monitor-dbus.test 1397s TAP version 13 1397s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1397s 1..1 1397s ok - glib/memory-monitor-dbus.test 1397s # Running test: glib/basics-gobject.test 1397s TAP version 14 1397s # random seed: R02Scfe79ef3ebedb84443938778435b297d 1397s 1..1 1397s # Start of gobject tests 1397s # private data during initialization: 54321 == 54321 1397s # MAIN: emit test-signal: 1397s # ::test_signal default_handler called 1397s # ::test_signal default_handler called 1397s # ::test_signal default_handler called 1397s ok - glib/basics-gobject.test 1397s # signal return: "" 1397s # MAIN: call iface print-string on test and derived object: 1397s # Iface-FOO: "iface-string-from-test-type" from 0x17313377e870 1397s # Iface-BAR: "iface-string-from-derived-type" from 0x17313377e720 1397s # chaining: 1397s # Iface-FOO: "iface-string-from-derived-type" from 0x17313377e720 1397s # private data after initialization: 54321 == 54321 1397s ok 1 /gobject/basics 1397s # End of gobject tests 1397s # Running test: glib/dataset.test 1397s TAP version 14 1397s # random seed: R02S2bec1c411e6eb717c8b47a6e14136405 1397s 1..15 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/id 1397s ok 9 /datalist/recursive-clear 1397s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1397s ok 10 /datalist/id-remove-multiple 1397s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1397s ok 11 /datalist/id-remove-multiple-destroy-order 1397s ok 12 /datalist/update-atomic 1397s # Start of basic tests 1397s ok 13 /datalist/basic/few 1397s ok 14 /datalist/basic/many 1397s # End of basic tests 1397s # Start of id-remove-multiple tests 1397s ok 15 /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/g-file.test 1397s ok - glib/g-file.test 1397s TAP version 14 1397s # random seed: R02S0cd9afebba7f9e2c1ad4894e37c90c78 1397s 1..8 1397s # Start of g-file tests 1397s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1397s ok 1 /g-file/test_g_file_new_null 1397s ok 2 /g-file/test_g_file_new_for_path 1397s ok 3 /g-file/test_g_file_new_for_uri 1397s ok 4 /g-file/test_g_file_dup 1397s ok 5 /g-file/test_g_file_get_parse_name_utf8 1397s file:///tmp/test-tmp-glib_g-file.test-CM7HK3 1397s file:///tmp 1397s file:///tmp 1397s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1397s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1397s ok 6 /g-file/test_g_file_new_for_commandline_arg 1397s /dir1 /dir1/dir2/dir3/ 1397s /dir1/ /dir1/dir2/dir3/ 1397s /dir1 /dir1/dir2/dir3 1397s /dir1/ /dir1/dir2/dir3 1397s /tmp/ /something/ 1397s /dir1/dir2 /dir1/ 1397s //dir1/new //dir1/new/dir2/dir3 1397s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 1397s file:///dir1 file:///dir1/dir2/dir3/ 1397s file:///dir1/ file:///dir1/dir2/dir3/ 1397s file:///dir1 file:///dir1/dir2/dir3 1397s file:///dir1/ file:///dir1/dir2/dir3 1397s file:///tmp/ file:///something/ 1397s file:///dir1/dir2 file:///dir1/ 1397s file:////dir1/new file:////dir1/new/dir2/dir3 1397s 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 1397s ok 7 /g-file/test_g_file_has_prefix 1397s ok 8 /g-file/test_g_file_get_parent_child 1397s # End of g-file tests 1397s # Running test: glib/simple-async-result.test 1397s ok - glib/simple-async-result.test 1397s # Running test: glib/assert-msg-test.py.test 1397s TAP version 14 1397s # random seed: R02S2f3b5d9ffafa10440dc7113ce6d638ce 1397s 1..2 1397s # Start of gio tests 1397s # Start of simple-async-result tests 1397s ok 1 /gio/simple-async-result/test 1397s # GLib-GIO-DEBUG: GTask 0x1de5dc9a5b10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1397s ok 2 /gio/simple-async-result/valid 1397s # End of simple-async-result tests 1397s # End of gio tests 1397s TAP version 13 1397s ok 1 __main__.TestAssertMessage.test_gassert 1397s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1397s # tmpdir: /tmp/tmp8a061yaz 1397s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1397s # Return code: -6 1397s # Output: 1397s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1397s # Error: 1397s # ** 1397s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1397s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1397s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1397s # tmpdir: /tmp/tmpy6en3u0p 1397s 1..2 1397s ok - glib/assert-msg-test.py.test 1397s # Running test: glib/date.test 1397s TAP version 14 1397s # random seed: R02Sc5bc982b4211ddc7b6a576d1f71d406f 1397s 1..122 1397s # Start of date tests 1397s ok 1 /date/basic 1397s ok 2 /date/empty 1397s ok 3 /date/dmy 1397s ok 4 /date/julian 1397s ok 5 /date/compare 1397s ok 6 /date/dates 1397s ok 7 /date/strftime 1397s ok 8 /date/two-digit-years 1397s ok 9 /date/parse 1397s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1397s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1397s ok 11 /date/month_substring 1397s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1397s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1397s ok 13 /date/clamp 1397s ok 14 /date/order 1397s ok 15 /date/copy 1397s # Vector 0: 0000-00-00, invalid 1397s # Vector 1: 0001-01-01, valid 1397s # Vector 2: 0000-01-01, invalid 1397s # Vector 3: 2000-02-30, invalid 1397s # Vector 4: 2000-02-29, valid 1397s # Vector 5: 2001-02-29, invalid 1397s # Vector 6: 65535-01-01, valid 1397s ok 16 /date/valid-dmy 1397s # Considering 2000-01-01 1397s # Considering 2000-01-07 1397s # Considering 2000-01-08 1397s # Considering 2001-01-01 1397s # Considering 2001-01-07 1397s # Considering 2001-01-08 1397s # Considering 2002-01-01 1397s # Considering 2002-01-07 1397s # Considering 2002-01-08 1397s # Considering 2003-01-01 1397s # Considering 2003-01-07 1397s # Considering 2003-01-08 1397s # Considering 2004-01-01 1397s # Considering 2004-01-07 1397s # Considering 2004-01-08 1397s # Considering 2006-01-01 1397s # Considering 2006-01-07 1397s # Considering 2006-01-08 1397s # Considering 2010-01-01 1397s # Considering 2010-01-07 1397s # Considering 2010-01-08 1397s ok 17 /date/week-of-year 1397s # Start of parse tests 1397s # Test 0 1397s # Test 1 1397s ok 18 /date/parse/invalid 1397s # End of parse tests 1397s # Start of year tests 1397s ok 19 /date/year/1 1397s ok 20 /date/year/2 1397s ok 21 /date/year/3 1397s ok 22 /date/year/4 1397s ok 23 /date/year/5 1397s ok 24 /date/year/6 1397s ok 25 /date/year/7 1397s ok 26 /date/year/8 1397s ok 27 /date/year/9 1397s ok 28 /date/year/10 1397s ok 29 /date/year/11 1397s ok 30 /date/year/12 1397s ok 31 /date/year/13 1397s ok 32 /date/year/14 1397s ok 33 /date/year/98 1397s ok 34 /date/year/99 1397s ok 35 /date/year/100 1397s ok 36 /date/year/101 1397s ok 37 /date/year/102 1397s ok 38 /date/year/103 1397s ok 39 /date/year/397 1397s ok 40 /date/year/398 1397s ok 41 /date/year/399 1397s ok 42 /date/year/400 1397s ok 43 /date/year/401 1397s ok 44 /date/year/402 1397s ok 45 /date/year/403 1397s ok 46 /date/year/404 1397s ok 47 /date/year/405 1397s ok 48 /date/year/406 1397s ok 49 /date/year/1598 1397s ok 50 /date/year/1599 1397s ok 51 /date/year/1600 1397s ok 52 /date/year/1601 1397s ok 53 /date/year/1602 1397s ok 54 /date/year/1650 1397s ok 55 /date/year/1651 1397s ok 56 /date/year/1897 1397s ok 57 /date/year/1898 1397s ok 58 /date/year/1899 1397s ok 59 /date/year/1900 1397s ok 60 /date/year/1901 1397s ok 61 /date/year/1902 1397s ok 62 /date/year/1903 1397s ok 63 /date/year/1961 1397s ok 64 /date/year/1962 1397s ok 65 /date/year/1963 1397s ok 66 /date/year/1964 1397s ok 67 /date/year/1965 1397s ok 68 /date/year/1967 1397s ok 69 /date/year/1968 1397s ok 70 /date/year/1969 1397s ok 71 /date/year/1970 1397s ok 72 /date/year/1971 1397s ok 73 /date/year/1972 1397s ok 74 /date/year/1973 1397s ok 75 /date/year/1974 1397s ok 76 /date/year/1975 1397s ok 77 /date/year/1976 1397s ok 78 /date/year/1977 1397s ok 79 /date/year/1978 1397s ok 80 /date/year/1979 1397s ok 81 /date/year/1980 1397s ok 82 /date/year/1981 1397s ok 83 /date/year/1982 1397s ok 84 /date/year/1983 1397s ok 85 /date/year/1984 1397s ok 86 /date/year/1985 1397s ok 87 /date/year/1986 1397s ok 88 /date/year/1987 1397s ok 89 /date/year/1988 1397s ok 90 /date/year/1989 1397s ok 91 /date/year/1990 1397s ok 92 /date/year/1991 1397s ok 93 /date/year/1992 1397s ok 94 /date/year/1993 1397s ok 95 /date/year/1994 1397s ok 96 /date/year/1995 1397s ok 97 /date/year/1996 1397s ok 98 /date/year/1997 1397s ok 99 /date/year/1998 1397s ok 100 /date/year/1999 1397s ok 101 /date/year/2000 1397s ok 102 /date/year/2001 1397s ok 103 /date/year/2002 1397s ok 104 /date/year/2003 1397s ok 105 /date/year/2004 1397s ok 106 /date/year/2005 1397s ok 107 /date/year/2006 1397s ok 108 /date/year/2007 1397s ok 109 /date/year/2008 1397s ok 110 /date/year/2009 1397s ok 111 /date/year/2010 1397s ok 112 /date/year/2011 1397s ok 113 /date/year/2012 1397s ok 114 /date/year/3000 1397s ok 115 /date/year/3001 1397s ok 116 /date/year/3002 1397s ok 117 /date/year/3998 1397s ok 118 /date/year/3999 1397s ok 119 /date/year/4000 1397s ok 120 /date/year/4001 1397s ok 121 /date/year/4002 1397s ok 122 /date/year/4003 1397s # End of year tests 1397s # End of date tests 1397s ok - glib/date.test 1397s # Running test: glib/portal-support-flatpak-full.test 1397s TAP version 14 1397s # random seed: R02Sbfa4cf3ec4f478ca440bd365b9c35248 1397s 1..1 1397s # Start of portal-support tests 1397s # Start of flatpak tests 1397s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/home 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/cache 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/system-config2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/config 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/system-data2 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/data 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/state 1397s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/runtime 1397s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_QLX5J3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1397s ok 1 /portal-support/flatpak/full 1397s # End of flatpak tests 1397s # End of portal-support tests 1397s ok - glib/portal-support-flatpak-full.test 1397s # Running test: glib/guuid.test 1397s ok - glib/guuid.test 1397s TAP version 14 1397s # random seed: R02S8b3e90943bceed610ce7475e4569c4c3 1397s 1..2 1397s # Start of uuid tests 1397s ok 1 /uuid/string 1397s ok 2 /uuid/random 1397s # End of uuid tests 1397s # Running test: glib/mkenums.py.test 1397s TAP version 13 1397s ok 1 __main__.TestMkenums.test_available_in 1397s # glib-mkenums: /usr/bin/glib-mkenums 1397s # tmpdir: /tmp/tmps4fy38om 1397s # rspfile: False 1397s # /tmp/tmps4fy38om/tmpbl0idmh9.h: 1397s # typedef enum { 1397s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1397s # } GDBusServerFlags; 1397s # 1397s # /tmp/tmps4fy38om/tmpz5fk5plx.template: 1397s # /*** BEGIN file-header ***/ 1397s # file-header 1397s # /*** END file-header ***/ 1397s # 1397s # /*** BEGIN file-production ***/ 1397s # file-production 1397s # filename: @filename@ 1397s # basename: @basename@ 1397s # /*** END file-production ***/ 1397s # 1397s # /*** BEGIN enumeration-production ***/ 1397s # enumeration-production 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END enumeration-production ***/ 1397s # 1397s # /*** BEGIN value-header ***/ 1397s # value-header 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-header ***/ 1397s # 1397s # /*** BEGIN value-production ***/ 1397s # value-production 1397s # VALUENAME: @VALUENAME@ 1397s # valuenick: @valuenick@ 1397s # valuenum: @valuenum@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-production ***/ 1397s # 1397s # /*** BEGIN value-tail ***/ 1397s # value-tail 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-tail ***/ 1397s # 1397s # /*** BEGIN comment ***/ 1397s # comment 1397s # comment: @comment@ 1397s # /*** END comment ***/ 1397s # 1397s # /*** BEGIN file-tail ***/ 1397s # file-tail 1397s # /*** END file-tail ***/ 1397s # 1397s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmps4fy38om/tmpz5fk5plx.template', '/tmp/tmps4fy38om/tmpbl0idmh9.h'] 1397s # Return code: 0 1397s # Output: 1397s # comment 1397s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1397s # 1397s # 1397s # file-header 1397s # file-production 1397s # filename: /tmp/tmps4fy38om/tmpbl0idmh9.h 1397s # basename: tmpbl0idmh9.h 1397s # enumeration-production 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-header 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-production 1397s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1397s # valuenick: user 1397s # valuenum: 4 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-tail 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # file-tail 1397s # 1397s # comment 1397s # comment: Generated data ends here 1397s # Error: 1397s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1397s # glib-mkenums: /usr/bin/glib-mkenums 1397s # tmpdir: /tmp/tmp9zb_n3z7 1397s # rspfile: False 1397s # /tmp/tmp9zb_n3z7/tmp3xvbv6z0.h: 1397s # typedef enum { 1397s # ENUM_VALUE_WITH_COMMA = ',', 1397s # } TestCommaEnum; 1397s # 1397s # /tmp/tmp9zb_n3z7/tmpna7hzp5u.template: 1397s # /*** BEGIN file-header ***/ 1397s # file-header 1397s # /*** END file-header ***/ 1397s # 1397s # /*** BEGIN file-production ***/ 1397s # file-production 1397s # filename: @filename@ 1397s # basename: @basename@ 1397s # /*** END file-production ***/ 1397s # 1397s # /*** BEGIN enumeration-production ***/ 1397s # enumeration-production 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END enumeration-production ***/ 1397s # 1397s # /*** BEGIN value-header ***/ 1397s # value-header 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-header ***/ 1397s # 1397s # /*** BEGIN value-production ***/ 1397s # value-production 1397s # VALUENAME: @VALUENAME@ 1397s # valuenick: @valuenick@ 1397s # valuenum: @valuenum@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-production ***/ 1397s # 1397s # /*** BEGIN value-tail ***/ 1397s # value-tail 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-tail ***/ 1397s # 1397s # /*** BEGIN comment ***/ 1397s # comment 1397s # comment: @comment@ 1397s # /*** END comment ***/ 1397s # 1397s # /*** BEGIN file-tail ***/ 1397s # file-tail 1397s # /*** END file-tail ***/ 1397s # 1397s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9zb_n3z7/tmpna7hzp5u.template', '/tmp/tmp9zb_n3z7/tmp3xvbv6z0.h'] 1397s # Return code: 0 1397s # Output: 1397s # comment 1397s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1397s # 1397s # 1397s # file-header 1397s # file-production 1397s # filename: /tmp/tmp9zb_n3z7/tmp3xvbv6z0.h 1397s # basename: tmp3xvbv6z0.h 1397s # enumeration-production 1397s # EnumName: TestCommaEnum 1397s # enum_name: test_comma_enum 1397s # ENUMNAME: TEST_COMMA_ENUM 1397s # ENUMSHORT: COMMA_ENUM 1397s # ENUMPREFIX: TEST 1397s # enumsince: 1397s # type: enum 1397s # Type: Enum 1397s # TYPE: ENUM 1397s # value-header 1397s # EnumName: TestCommaEnum 1397s # enum_name: test_comma_enum 1397s # ENUMNAME: TEST_COMMA_ENUM 1397s # ENUMSHORT: COMMA_ENUM 1397s # ENUMPREFIX: TEST 1397s # enumsince: 1397s # type: enum 1397s # Type: Enum 1397s # TYPE: ENUM 1397s # value-production 1397s # VALUENAME: ENUM_VALUE_WITH_COMMA 1397s # valuenick: comma 1397s # valuenum: 44 1397s # type: enum 1397s # Type: Enum 1397s # TYPE: ENUM 1397s # value-tail 1397s # EnumName: TestCommaEnum 1397s # enum_name: test_comma_enum 1397s # ENUMNAME: TEST_COMMA_ENUM 1397s # ENUMSHORT: COMMA_ENUM 1397s # ENUMPREFIX: TEST 1397s # enumsince: 1397s # type: enum 1397s # Type: Enum 1397s # TYPE: ENUM 1397s # file-tail 1397s # 1397s # comment 1397s # comment: Generated data ends here 1397s # Error: 1397s ok 3 __main__.TestMkenums.test_deprecated_in 1397s # glib-mkenums: /usr/bin/glib-mkenums 1397s # tmpdir: /tmp/tmpkqh5sic8 1397s # rspfile: False 1397s # /tmp/tmpkqh5sic8/tmpx9h0m0xv.h: 1397s # typedef enum { 1397s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1397s # } GDBusServerFlags; 1397s # 1397s # /tmp/tmpkqh5sic8/tmpp2j18bjq.template: 1397s # /*** BEGIN file-header ***/ 1397s # file-header 1397s # /*** END file-header ***/ 1397s # 1397s # /*** BEGIN file-production ***/ 1397s # file-production 1397s # filename: @filename@ 1397s # basename: @basename@ 1397s # /*** END file-production ***/ 1397s # 1397s # /*** BEGIN enumeration-production ***/ 1397s # enumeration-production 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END enumeration-production ***/ 1397s # 1397s # /*** BEGIN value-header ***/ 1397s # value-header 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-header ***/ 1397s # 1397s # /*** BEGIN value-production ***/ 1397s # value-production 1397s # VALUENAME: @VALUENAME@ 1397s # valuenick: @valuenick@ 1397s # valuenum: @valuenum@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-production ***/ 1397s # 1397s # /*** BEGIN value-tail ***/ 1397s # value-tail 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-tail ***/ 1397s # 1397s # /*** BEGIN comment ***/ 1397s # comment 1397s # comment: @comment@ 1397s # /*** END comment ***/ 1397s # 1397s # /*** BEGIN file-tail ***/ 1397s # file-tail 1397s # /*** END file-tail ***/ 1397s # 1397s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkqh5sic8/tmpp2j18bjq.template', '/tmp/tmpkqh5sic8/tmpx9h0m0xv.h'] 1397s # Return code: 0 1397s # Output: 1397s # comment 1397s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1397s # 1397s # 1397s # file-header 1397s # file-production 1397s # filename: /tmp/tmpkqh5sic8/tmpx9h0m0xv.h 1397s # basename: tmpx9h0m0xv.h 1397s # enumeration-production 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-header 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-production 1397s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1397s # valuenick: user 1397s # valuenum: 4 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-tail 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # file-tail 1397s # 1397s # comment 1397s # comment: Generated data ends here 1397s # Error: 1397s ok 4 __main__.TestMkenums.test_deprecated_in_for 1397s # glib-mkenums: /usr/bin/glib-mkenums 1397s # tmpdir: /tmp/tmp_hltp1cu 1397s # rspfile: False 1397s # /tmp/tmp_hltp1cu/tmpq8anghdu.h: 1397s # typedef enum { 1397s # 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) 1397s # } GDBusServerFlags; 1397s # 1397s # /tmp/tmp_hltp1cu/tmp93swyw6_.template: 1397s # /*** BEGIN file-header ***/ 1397s # file-header 1397s # /*** END file-header ***/ 1397s # 1397s # /*** BEGIN file-production ***/ 1397s # file-production 1397s # filename: @filename@ 1397s # basename: @basename@ 1397s # /*** END file-production ***/ 1397s # 1397s # /*** BEGIN enumeration-production ***/ 1397s # enumeration-production 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END enumeration-production ***/ 1397s # 1397s # /*** BEGIN value-header ***/ 1397s # value-header 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-header ***/ 1397s # 1397s # /*** BEGIN value-production ***/ 1397s # value-production 1397s # VALUENAME: @VALUENAME@ 1397s # valuenick: @valuenick@ 1397s # valuenum: @valuenum@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-production ***/ 1397s # 1397s # /*** BEGIN value-tail ***/ 1397s # value-tail 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-tail ***/ 1397s # 1397s # /*** BEGIN comment ***/ 1397s # comment 1397s # comment: @comment@ 1397s # /*** END comment ***/ 1397s # 1397s # /*** BEGIN file-tail ***/ 1397s # file-tail 1397s # /*** END file-tail ***/ 1397s # 1397s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_hltp1cu/tmp93swyw6_.template', '/tmp/tmp_hltp1cu/tmpq8anghdu.h'] 1397s # Return code: 0 1397s # Output: 1397s # comment 1397s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1397s # 1397s # 1397s # file-header 1397s # file-production 1397s # filename: /tmp/tmp_hltp1cu/tmpq8anghdu.h 1397s # basename: tmpq8anghdu.h 1397s # enumeration-production 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-header 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-production 1397s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1397s # valuenick: user 1397s # valuenum: 4 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # value-tail 1397s # EnumName: GDBusServerFlags 1397s # enum_name: g_dbus_server_flags 1397s # ENUMNAME: G_DBUS_SERVER_FLAGS 1397s # ENUMSHORT: DBUS_SERVER_FLAGS 1397s # ENUMPREFIX: G 1397s # enumsince: 1397s # type: flags 1397s # Type: Flags 1397s # TYPE: FLAGS 1397s # file-tail 1397s # 1397s # comment 1397s # comment: Generated data ends here 1397s # Error: 1397s ok 5 __main__.TestMkenums.test_empty_header 1397s # glib-mkenums: /usr/bin/glib-mkenums 1397s # tmpdir: /tmp/tmp1s43qvye 1397s # rspfile: False 1397s # /tmp/tmp1s43qvye/tmpbu622rlg.h: 1397s # /tmp/tmp1s43qvye/tmp9zvw2u67.template: 1397s # /*** BEGIN file-header ***/ 1397s # file-header 1397s # /*** END file-header ***/ 1397s # 1397s # /*** BEGIN file-production ***/ 1397s # file-production 1397s # filename: @filename@ 1397s # basename: @basename@ 1397s # /*** END file-production ***/ 1397s # 1397s # /*** BEGIN enumeration-production ***/ 1397s # enumeration-production 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END enumeration-production ***/ 1397s # 1397s # /*** BEGIN value-header ***/ 1397s # value-header 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-header ***/ 1397s # 1397s # /*** BEGIN value-production ***/ 1397s # value-production 1397s # VALUENAME: @VALUENAME@ 1397s # valuenick: @valuenick@ 1397s # valuenum: @valuenum@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-production ***/ 1397s # 1397s # /*** BEGIN value-tail ***/ 1397s # value-tail 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-tail ***/ 1397s # 1397s # /*** BEGIN comment ***/ 1397s # comment 1397s # comment: @comment@ 1397s # /*** END comment ***/ 1397s # 1397s # /*** BEGIN file-tail ***/ 1397s # file-tail 1397s # /*** END file-tail ***/ 1397s # 1397s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1s43qvye/tmp9zvw2u67.template', '/tmp/tmp1s43qvye/tmpbu622rlg.h'] 1397s # Return code: 0 1397s # Output: 1397s # comment 1397s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1397s # 1397s # 1397s # file-header 1397s # file-tail 1397s # 1397s # comment 1397s # comment: Generated data ends here 1397s # Error: 1397s ok 6 __main__.TestMkenums.test_empty_template 1397s # glib-mkenums: /usr/bin/glib-mkenums 1397s # tmpdir: /tmp/tmp5373sib_ 1397s # rspfile: False 1397s # /tmp/tmp5373sib_/tmpct37z95f.template: 1397s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5373sib_/tmpct37z95f.template'] 1397s # Return code: 0 1397s # Output: 1397s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1397s # 1397s # 1397s # /* Generated data ends here */ 1397s # Error: 1397s ok 7 __main__.TestMkenums.test_enum_name 1397s # glib-mkenums: /usr/bin/glib-mkenums 1397s # tmpdir: /tmp/tmpq7yxknz2 1397s # rspfile: False 1397s # /tmp/tmpq7yxknz2/tmpwt3rmtx5.h: 1397s # typedef enum _SomeEnumIdentifier { 1397s # ENUM_VALUE 1397s # } SomeEnumIdentifier; 1397s # 1397s # /tmp/tmpq7yxknz2/tmpju7w74ua.template: 1397s # /*** BEGIN file-header ***/ 1397s # file-header 1397s # /*** END file-header ***/ 1397s # 1397s # /*** BEGIN file-production ***/ 1397s # file-production 1397s # filename: @filename@ 1397s # basename: @basename@ 1397s # /*** END file-production ***/ 1397s # 1397s # /*** BEGIN enumeration-production ***/ 1397s # enumeration-production 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END enumeration-production ***/ 1397s # 1397s # /*** BEGIN value-header ***/ 1397s # value-header 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-header ***/ 1397s # 1397s # /*** BEGIN value-production ***/ 1397s # value-production 1397s # VALUENAME: @VALUENAME@ 1397s # valuenick: @valuenick@ 1397s # valuenum: @valuenum@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-production ***/ 1397s # 1397s # /*** BEGIN value-tail ***/ 1397s # value-tail 1397s # EnumName: @EnumName@ 1397s # enum_name: @enum_name@ 1397s # ENUMNAME: @ENUMNAME@ 1397s # ENUMSHORT: @ENUMSHORT@ 1397s # ENUMPREFIX: @ENUMPREFIX@ 1397s # enumsince: @enumsince@ 1397s # type: @type@ 1397s # Type: @Type@ 1397s # TYPE: @TYPE@ 1397s # /*** END value-tail ***/ 1397s # 1397s # /*** BEGIN comment ***/ 1397s # comment 1397s # comment: @comment@ 1397s # /*** END comment ***/ 1397s # 1397s # /*** BEGIN file-tail ***/ 1397s # file-tail 1397s # /*** END file-tail ***/ 1397s # 1397s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpq7yxknz2/tmpju7w74ua.template', '/tmp/tmpq7yxknz2/tmpwt3rmtx5.h'] 1397s # Return code: 0 1397s # Output: 1397s # comment 1397s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1397s # 1397s # 1397s # file-header 1397s # file-production 1397s # filename: /tmp/tmpq7yxknz2/tmpwt3rmtx5.h 1397s # basename: tmpwt3rmtx5.h 1397s # enumeration-production 1397s # EnumName: SomeEnumIdentifier 1397s # enum_name: some_enum_identifier 1397s # ENUMNAME: SOME_ENUM_IDENTIFIER 1397s # ENUMSHORT: ENUM_IDENTIFIER 1397s # ENUMPREFIX: SOME 1397s # enumsince: 1397s # type: enum 1397s # Type: Enum 1397s # TYPE: ENUM 1397s # value-header 1397s # EnumName: SomeEnumIdentifier 1397s # enum_name: some_enum_identifier 1397s # ENUMNAME: SOME_ENUM_IDENTIFIER 1397s # ENUMSHORT: ENUM_IDENTIFIER 1397s # ENUMPREFIX: SOME 1397s # enumsince: 1397s # type: enum 1397s # Type: Enum 1397s # TYPE: ENUM 1397s # value-production 1397s # VALUENAME: ENUM_VALUE 1397s # valuenick: value 1397s # valuenum: 0 1397s # type: enum 1397s # Type: Enum 1397s # TYPE: ENUM 1397s # value-tail 1397s # EnumName: SomeEnumIdentifier 1397s # enum_name: some_enum_identifier 1397s # ENUMNAME: SOME_ENUM_IDENTIFIER 1397s # ENUMSHORT: ENUM_IDENTIFIER 1397s # ENUMPREFIX: SOME 1397s # enumsince: 1397s # type: enum 1397s # Type: Enum 1397s # TYPE: ENUM 1397s # file-tail 1397s # 1397s # comment 1397s # comment: Generated data ends here 1397s # Error: 1398s ok 8 __main__.TestMkenums.test_enum_private_public 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpydh1u81l 1398s # rspfile: False 1398s # /tmp/tmpydh1u81l/tmp8kbgjty4.h: 1398s # typedef enum { 1398s # ENUM_VALUE_PUBLIC1, 1398s # /*< private >*/ 1398s # ENUM_VALUE_PRIVATE, 1398s # } SomeEnumA 1398s # 1398s # /tmp/tmpydh1u81l/tmpiqvuc5fq.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpydh1u81l/tmpiqvuc5fq.template', '/tmp/tmpydh1u81l/tmp8kbgjty4.h'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpydh1u81l/tmp8kbgjty4.h 1398s # basename: tmp8kbgjty4.h 1398s # enumeration-production 1398s # EnumName: SomeEnumA 1398s # enum_name: some_enum_a 1398s # ENUMNAME: SOME_ENUM_A 1398s # ENUMSHORT: ENUM_A 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: SomeEnumA 1398s # enum_name: some_enum_a 1398s # ENUMNAME: SOME_ENUM_A 1398s # ENUMSHORT: ENUM_A 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE_PUBLIC1 1398s # valuenick: public1 1398s # valuenum: 0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: SomeEnumA 1398s # enum_name: some_enum_a 1398s # ENUMNAME: SOME_ENUM_A 1398s # ENUMSHORT: ENUM_A 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s # 1398s # /tmp/tmpydh1u81l/tmpiok82cam.h: 1398s # typedef enum { 1398s # /*< private >*/ 1398s # ENUM_VALUE_PRIVATE, 1398s # /*< public >*/ 1398s # ENUM_VALUE_PUBLIC2, 1398s # } SomeEnumB; 1398s # 1398s # /tmp/tmpydh1u81l/tmpmvx5fqla.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpydh1u81l/tmpmvx5fqla.template', '/tmp/tmpydh1u81l/tmpiok82cam.h'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpydh1u81l/tmpiok82cam.h 1398s # basename: tmpiok82cam.h 1398s # enumeration-production 1398s # EnumName: SomeEnumB 1398s # enum_name: some_enum_b 1398s # ENUMNAME: SOME_ENUM_B 1398s # ENUMSHORT: ENUM_B 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: SomeEnumB 1398s # enum_name: some_enum_b 1398s # ENUMNAME: SOME_ENUM_B 1398s # ENUMSHORT: ENUM_B 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE_PUBLIC2 1398s # valuenick: public2 1398s # valuenum: 1 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: SomeEnumB 1398s # enum_name: some_enum_b 1398s # ENUMNAME: SOME_ENUM_B 1398s # ENUMSHORT: ENUM_B 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpmzqon1m3 1398s # rspfile: False 1398s # /tmp/tmpmzqon1m3/tmpf9xi2yrd.h: 1398s # typedef enum { 1398s # /*< private >*/ 1398s # ENUM_VALUE_PRIVATE = 5, 1398s # /*< public >*/ 1398s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1398s # } TestSymbolicEnum; 1398s # 1398s # /tmp/tmpmzqon1m3/tmp3priv2x2.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmzqon1m3/tmp3priv2x2.template', '/tmp/tmpmzqon1m3/tmpf9xi2yrd.h'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpmzqon1m3/tmpf9xi2yrd.h 1398s # basename: tmpf9xi2yrd.h 1398s # enumeration-production 1398s # EnumName: TestSymbolicEnum 1398s # enum_name: test_symbolic_enum 1398s # ENUMNAME: TEST_SYMBOLIC_ENUM 1398s # ENUMSHORT: SYMBOLIC_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: TestSymbolicEnum 1398s # enum_name: test_symbolic_enum 1398s # ENUMNAME: TEST_SYMBOLIC_ENUM 1398s # ENUMSHORT: SYMBOLIC_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE_PUBLIC 1398s # valuenick: public 1398s # valuenum: 7 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: TestSymbolicEnum 1398s # enum_name: test_symbolic_enum 1398s # ENUMNAME: TEST_SYMBOLIC_ENUM 1398s # ENUMSHORT: SYMBOLIC_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpyon7spa1 1398s # rspfile: False 1398s # /tmp/tmpyon7spa1/tmpld8b3q9_.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-tail ***/ 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyon7spa1/tmpld8b3q9_.template'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # file-tail 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s # WARNING: @filename@ used in file-header section. 1398s # WARNING: @basename@ used in file-header section. 1398s # WARNING: @filename@ used in file-tail section. 1398s # WARNING: @basename@ used in file-tail section. 1398s ok 11 __main__.TestMkenums.test_help 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmp_6u76a1u 1398s # rspfile: False 1398s # Running: ['/usr/bin/glib-mkenums', '--help'] 1398s # Return code: 0 1398s # Output: 1398s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1398s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1398s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1398s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1398s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1398s # [--output OUTPUT] [--version] 1398s # [args ...] 1398s # 1398s # positional arguments: 1398s # args One or more input files, or a single argument 1398s # @rspfile_path pointing to a file that contains the 1398s # actual arguments 1398s # 1398s # options: 1398s # -h, --help show this help message and exit 1398s # --identifier-prefix IDPREFIX 1398s # Identifier prefix 1398s # --symbol-prefix SYMPREFIX 1398s # Symbol prefix 1398s # --fhead FHEAD Output file header 1398s # --ftail FTAIL Output file footer 1398s # --fprod FPROD Put out TEXT every time a new input file is being 1398s # processed. 1398s # --eprod EPROD Per enum text, produced prior to value iterations 1398s # --vhead VHEAD Value header, produced before iterating over enum 1398s # values 1398s # --vprod VPROD Value text, produced for each enum value. 1398s # --vtail VTAIL Value tail, produced after iterating over enum values 1398s # --comments COMMENT_TMPL 1398s # Comment structure 1398s # --template TEMPLATE Template file 1398s # --output OUTPUT 1398s # --version, -v Print version information 1398s # 1398s # Production text substitutions: 1398s # @EnumName@ PrefixTheXEnum 1398s # @enum_name@ prefix_the_xenum 1398s # @ENUMNAME@ PREFIX_THE_XENUM 1398s # @ENUMSHORT@ THE_XENUM 1398s # @ENUMPREFIX@ PREFIX 1398s # @enumsince@ the user-provided since value given 1398s # @VALUENAME@ PREFIX_THE_XVALUE 1398s # @valuenick@ the-xvalue 1398s # @valuenum@ the integer value (limited support, Since: 2.26) 1398s # @type@ either enum or flags 1398s # @Type@ either Enum or Flags 1398s # @TYPE@ either ENUM or FLAGS 1398s # @filename@ name of current input file 1398s # @basename@ base name of the current input file (Since: 2.22) 1398s # Error: 1398s ok 12 __main__.TestMkenums.test_no_args 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpw8a9chg8 1398s # rspfile: False 1398s # Running: ['/usr/bin/glib-mkenums'] 1398s # Return code: 0 1398s # Output: 1398s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1398s # 1398s # 1398s # /* Generated data ends here */ 1398s # Error: 1398s ok 13 __main__.TestMkenums.test_no_headers 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmp21dxr3vm 1398s # rspfile: False 1398s # /tmp/tmp21dxr3vm/tmpb9_p8rdp.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp21dxr3vm/tmpb9_p8rdp.template'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 14 __main__.TestMkenums.test_no_nick 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmprr6kh7w2 1398s # rspfile: False 1398s # /tmp/tmprr6kh7w2/tmpem45pc5q.h: 1398s # typedef enum { 1398s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1398s # } GeglSamplerType; 1398s # 1398s # /tmp/tmprr6kh7w2/tmpxlaof78y.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprr6kh7w2/tmpxlaof78y.template', '/tmp/tmprr6kh7w2/tmpem45pc5q.h'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmprr6kh7w2/tmpem45pc5q.h 1398s # basename: tmpem45pc5q.h 1398s # enumeration-production 1398s # EnumName: GeglSamplerType 1398s # enum_name: gegl_sampler_type 1398s # ENUMNAME: GEGL_SAMPLER_TYPE 1398s # ENUMSHORT: SAMPLER_TYPE 1398s # ENUMPREFIX: GEGL 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: GeglSamplerType 1398s # enum_name: gegl_sampler_type 1398s # ENUMNAME: GEGL_SAMPLER_TYPE 1398s # ENUMSHORT: SAMPLER_TYPE 1398s # ENUMPREFIX: GEGL 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: GEGL_SAMPLER_NEAREST 1398s # valuenick: nearest 1398s # valuenum: 0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: GeglSamplerType 1398s # enum_name: gegl_sampler_type 1398s # ENUMNAME: GEGL_SAMPLER_TYPE 1398s # ENUMSHORT: SAMPLER_TYPE 1398s # ENUMPREFIX: GEGL 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpcr7ohhmw 1398s # rspfile: False 1398s # /tmp/tmpcr7ohhmw/tmpuni9oc37.h: 1398s # /* Copyright © La Peña */ 1398s # typedef enum { 1398s # ENUM_VALUE 1398s # } SomeEnumIdentifier; 1398s # 1398s # /tmp/tmpcr7ohhmw/tmp46cfxgkl.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcr7ohhmw/tmp46cfxgkl.template', '/tmp/tmpcr7ohhmw/tmpuni9oc37.h'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpcr7ohhmw/tmpuni9oc37.h 1398s # basename: tmpuni9oc37.h 1398s # enumeration-production 1398s # EnumName: SomeEnumIdentifier 1398s # enum_name: some_enum_identifier 1398s # ENUMNAME: SOME_ENUM_IDENTIFIER 1398s # ENUMSHORT: ENUM_IDENTIFIER 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: SomeEnumIdentifier 1398s # enum_name: some_enum_identifier 1398s # ENUMNAME: SOME_ENUM_IDENTIFIER 1398s # ENUMSHORT: ENUM_IDENTIFIER 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE 1398s # valuenick: value 1398s # valuenum: 0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: SomeEnumIdentifier 1398s # enum_name: some_enum_identifier 1398s # ENUMNAME: SOME_ENUM_IDENTIFIER 1398s # ENUMSHORT: ENUM_IDENTIFIER 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1398s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1398s ok 16 __main__.TestMkenums.test_reproducible 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpuhf8_i6y 1398s # rspfile: False 1398s # /tmp/tmpuhf8_i6y/tmpumft9qy2.template: template 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuhf8_i6y/tmpumft9qy2.template', '/tmp/tmpuhf8_i6y/tmpn1a2j8_b1.h', '/tmp/tmpuhf8_i6y/tmp4w4eyu192.h'] 1398s # Return code: 0 1398s # Output: 1398s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1398s # 1398s # 1398s # /* Generated data ends here */ 1398s # Error: 1398s # 1398s # /tmp/tmpuhf8_i6y/tmppkv9jn0u.template: template 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpuhf8_i6y/tmppkv9jn0u.template', '/tmp/tmpuhf8_i6y/tmp4w4eyu192.h', '/tmp/tmpuhf8_i6y/tmpn1a2j8_b1.h'] 1398s # Return code: 0 1398s # Output: 1398s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1398s # 1398s # 1398s # /* Generated data ends here */ 1398s # Error: 1398s ok 17 __main__.TestMkenums.test_since 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpocv9jx_f 1398s # rspfile: False 1398s # /tmp/tmpocv9jx_f/tmpova8vxp4.h: 1398s # typedef enum { /*< since=1.0 >*/ 1398s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1398s # } QmiWmsMessageProtocol; 1398s # 1398s # /tmp/tmpocv9jx_f/tmpg9orhr58.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpocv9jx_f/tmpg9orhr58.template', '/tmp/tmpocv9jx_f/tmpova8vxp4.h'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpocv9jx_f/tmpova8vxp4.h 1398s # basename: tmpova8vxp4.h 1398s # enumeration-production 1398s # EnumName: QmiWmsMessageProtocol 1398s # enum_name: qmi_wms_message_protocol 1398s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1398s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1398s # ENUMPREFIX: QMI 1398s # enumsince: 1.0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: QmiWmsMessageProtocol 1398s # enum_name: qmi_wms_message_protocol 1398s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1398s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1398s # ENUMPREFIX: QMI 1398s # enumsince: 1.0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1398s # valuenick: cdma 1398s # valuenum: 0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: QmiWmsMessageProtocol 1398s # enum_name: qmi_wms_message_protocol 1398s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1398s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1398s # ENUMPREFIX: QMI 1398s # enumsince: 1.0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 18 __main__.TestMkenums.test_with_double_quotes 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmp97kfivfr 1398s # rspfile: False 1398s # /tmp/tmp97kfivfr/tmpjlkvl54_.h: 1398s # typedef enum { 1398s # FOO_VALUE /*< nick="eek, a comma" >*/ 1398s # } Foo; 1398s # 1398s # /tmp/tmp97kfivfr/tmpaae2kaox.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp97kfivfr/tmpaae2kaox.template', '/tmp/tmp97kfivfr/tmpjlkvl54_.h'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmp97kfivfr/tmpjlkvl54_.h 1398s # basename: tmpjlkvl54_.h 1398s # enumeration-production 1398s # EnumName: Foo 1398s # enum_name: foo_ 1398s # ENUMNAME: FOO_ 1398s # ENUMSHORT: 1398s # ENUMPREFIX: FOO 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: Foo 1398s # enum_name: foo_ 1398s # ENUMNAME: FOO_ 1398s # ENUMSHORT: 1398s # ENUMPREFIX: FOO 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: FOO_VALUE 1398s # valuenick: eek, a comma 1398s # valuenum: 0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: Foo 1398s # enum_name: foo_ 1398s # ENUMNAME: FOO_ 1398s # ENUMSHORT: 1398s # ENUMPREFIX: FOO 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 19 __main__.TestRspMkenums.test_available_in 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpg4_2logn 1398s # rspfile: True 1398s # /tmp/tmpg4_2logn/tmpmukm2sz8.h: 1398s # typedef enum { 1398s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1398s # } GDBusServerFlags; 1398s # 1398s # /tmp/tmpg4_2logn/tmp26duz55w.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmpg4_2logn/tmp26duz55w.template /tmp/tmpg4_2logn/tmpmukm2sz8.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpg4_2logn/tmp5wurfrdu'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpg4_2logn/tmpmukm2sz8.h 1398s # basename: tmpmukm2sz8.h 1398s # enumeration-production 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-header 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-production 1398s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1398s # valuenick: user 1398s # valuenum: 4 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-tail 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpzk1dus8f 1398s # rspfile: True 1398s # /tmp/tmpzk1dus8f/tmpnuxb5hc9.h: 1398s # typedef enum { 1398s # ENUM_VALUE_WITH_COMMA = ',', 1398s # } TestCommaEnum; 1398s # 1398s # /tmp/tmpzk1dus8f/tmp0amyi9_d.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmpzk1dus8f/tmp0amyi9_d.template /tmp/tmpzk1dus8f/tmpnuxb5hc9.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzk1dus8f/tmpq7zg8g7u'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpzk1dus8f/tmpnuxb5hc9.h 1398s # basename: tmpnuxb5hc9.h 1398s # enumeration-production 1398s # EnumName: TestCommaEnum 1398s # enum_name: test_comma_enum 1398s # ENUMNAME: TEST_COMMA_ENUM 1398s # ENUMSHORT: COMMA_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: TestCommaEnum 1398s # enum_name: test_comma_enum 1398s # ENUMNAME: TEST_COMMA_ENUM 1398s # ENUMSHORT: COMMA_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE_WITH_COMMA 1398s # valuenick: comma 1398s # valuenum: 44 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: TestCommaEnum 1398s # enum_name: test_comma_enum 1398s # ENUMNAME: TEST_COMMA_ENUM 1398s # ENUMSHORT: COMMA_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 21 __main__.TestRspMkenums.test_deprecated_in 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpgd4py770 1398s # rspfile: True 1398s # /tmp/tmpgd4py770/tmp_dwtgbej.h: 1398s # typedef enum { 1398s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1398s # } GDBusServerFlags; 1398s # 1398s # /tmp/tmpgd4py770/tmp85db1gw8.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmpgd4py770/tmp85db1gw8.template /tmp/tmpgd4py770/tmp_dwtgbej.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgd4py770/tmpa35f435n'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpgd4py770/tmp_dwtgbej.h 1398s # basename: tmp_dwtgbej.h 1398s # enumeration-production 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-header 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-production 1398s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1398s # valuenick: user 1398s # valuenum: 4 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-tail 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpq08t3suh 1398s # rspfile: True 1398s # /tmp/tmpq08t3suh/tmpqvjwqq6c.h: 1398s # typedef enum { 1398s # 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) 1398s # } GDBusServerFlags; 1398s # 1398s # /tmp/tmpq08t3suh/tmp1hza6r9v.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmpq08t3suh/tmp1hza6r9v.template /tmp/tmpq08t3suh/tmpqvjwqq6c.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpq08t3suh/tmpfhhndzd7'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpq08t3suh/tmpqvjwqq6c.h 1398s # basename: tmpqvjwqq6c.h 1398s # enumeration-production 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-header 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-production 1398s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1398s # valuenick: user 1398s # valuenum: 4 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # value-tail 1398s # EnumName: GDBusServerFlags 1398s # enum_name: g_dbus_server_flags 1398s # ENUMNAME: G_DBUS_SERVER_FLAGS 1398s # ENUMSHORT: DBUS_SERVER_FLAGS 1398s # ENUMPREFIX: G 1398s # enumsince: 1398s # type: flags 1398s # Type: Flags 1398s # TYPE: FLAGS 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 23 __main__.TestRspMkenums.test_empty_header 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmp9u9tx05a 1398s # rspfile: True 1398s # /tmp/tmp9u9tx05a/tmpnrd9fpmk.h: 1398s # /tmp/tmp9u9tx05a/tmptuxcok74.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmp9u9tx05a/tmptuxcok74.template /tmp/tmp9u9tx05a/tmpnrd9fpmk.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9u9tx05a/tmpzzedi31w'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 24 __main__.TestRspMkenums.test_empty_template 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpga3nwoir 1398s # rspfile: True 1398s # /tmp/tmpga3nwoir/tmpsibshsj5.template: 1398s # Response file contains: --template /tmp/tmpga3nwoir/tmpsibshsj5.template 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpga3nwoir/tmp_tukri9x'] 1398s # Return code: 0 1398s # Output: 1398s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1398s # 1398s # 1398s # /* Generated data ends here */ 1398s # Error: 1398s ok 25 __main__.TestRspMkenums.test_enum_name 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmp7csm69lc 1398s # rspfile: True 1398s # /tmp/tmp7csm69lc/tmpu2lo8xv5.h: 1398s # typedef enum _SomeEnumIdentifier { 1398s # ENUM_VALUE 1398s # } SomeEnumIdentifier; 1398s # 1398s # /tmp/tmp7csm69lc/tmpq3tqmqsw.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmp7csm69lc/tmpq3tqmqsw.template /tmp/tmp7csm69lc/tmpu2lo8xv5.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7csm69lc/tmp4ownzt7_'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmp7csm69lc/tmpu2lo8xv5.h 1398s # basename: tmpu2lo8xv5.h 1398s # enumeration-production 1398s # EnumName: SomeEnumIdentifier 1398s # enum_name: some_enum_identifier 1398s # ENUMNAME: SOME_ENUM_IDENTIFIER 1398s # ENUMSHORT: ENUM_IDENTIFIER 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: SomeEnumIdentifier 1398s # enum_name: some_enum_identifier 1398s # ENUMNAME: SOME_ENUM_IDENTIFIER 1398s # ENUMSHORT: ENUM_IDENTIFIER 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE 1398s # valuenick: value 1398s # valuenum: 0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: SomeEnumIdentifier 1398s # enum_name: some_enum_identifier 1398s # ENUMNAME: SOME_ENUM_IDENTIFIER 1398s # ENUMSHORT: ENUM_IDENTIFIER 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 26 __main__.TestRspMkenums.test_enum_private_public 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpwqpxvkox 1398s # rspfile: True 1398s # /tmp/tmpwqpxvkox/tmp7nyglbkt.h: 1398s # typedef enum { 1398s # ENUM_VALUE_PUBLIC1, 1398s # /*< private >*/ 1398s # ENUM_VALUE_PRIVATE, 1398s # } SomeEnumA 1398s # 1398s # /tmp/tmpwqpxvkox/tmpfjfkk5h2.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmpwqpxvkox/tmpfjfkk5h2.template /tmp/tmpwqpxvkox/tmp7nyglbkt.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwqpxvkox/tmp0mw6lwgw'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpwqpxvkox/tmp7nyglbkt.h 1398s # basename: tmp7nyglbkt.h 1398s # enumeration-production 1398s # EnumName: SomeEnumA 1398s # enum_name: some_enum_a 1398s # ENUMNAME: SOME_ENUM_A 1398s # ENUMSHORT: ENUM_A 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: SomeEnumA 1398s # enum_name: some_enum_a 1398s # ENUMNAME: SOME_ENUM_A 1398s # ENUMSHORT: ENUM_A 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE_PUBLIC1 1398s # valuenick: public1 1398s # valuenum: 0 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: SomeEnumA 1398s # enum_name: some_enum_a 1398s # ENUMNAME: SOME_ENUM_A 1398s # ENUMSHORT: ENUM_A 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s # 1398s # /tmp/tmpwqpxvkox/tmpbq137tob.h: 1398s # typedef enum { 1398s # /*< private >*/ 1398s # ENUM_VALUE_PRIVATE, 1398s # /*< public >*/ 1398s # ENUM_VALUE_PUBLIC2, 1398s # } SomeEnumB; 1398s # 1398s # /tmp/tmpwqpxvkox/tmp__oi5ubo.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmpwqpxvkox/tmp__oi5ubo.template /tmp/tmpwqpxvkox/tmpbq137tob.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwqpxvkox/tmpocinkp6p'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmpwqpxvkox/tmpbq137tob.h 1398s # basename: tmpbq137tob.h 1398s # enumeration-production 1398s # EnumName: SomeEnumB 1398s # enum_name: some_enum_b 1398s # ENUMNAME: SOME_ENUM_B 1398s # ENUMSHORT: ENUM_B 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: SomeEnumB 1398s # enum_name: some_enum_b 1398s # ENUMNAME: SOME_ENUM_B 1398s # ENUMSHORT: ENUM_B 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE_PUBLIC2 1398s # valuenick: public2 1398s # valuenum: 1 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: SomeEnumB 1398s # enum_name: some_enum_b 1398s # ENUMNAME: SOME_ENUM_B 1398s # ENUMSHORT: ENUM_B 1398s # ENUMPREFIX: SOME 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmp4wpkmihf 1398s # rspfile: True 1398s # /tmp/tmp4wpkmihf/tmpo60kvlpw.h: 1398s # typedef enum { 1398s # /*< private >*/ 1398s # ENUM_VALUE_PRIVATE = 5, 1398s # /*< public >*/ 1398s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1398s # } TestSymbolicEnum; 1398s # 1398s # /tmp/tmp4wpkmihf/tmpk2abd72u.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN file-production ***/ 1398s # file-production 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-production ***/ 1398s # 1398s # /*** BEGIN enumeration-production ***/ 1398s # enumeration-production 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END enumeration-production ***/ 1398s # 1398s # /*** BEGIN value-header ***/ 1398s # value-header 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-header ***/ 1398s # 1398s # /*** BEGIN value-production ***/ 1398s # value-production 1398s # VALUENAME: @VALUENAME@ 1398s # valuenick: @valuenick@ 1398s # valuenum: @valuenum@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-production ***/ 1398s # 1398s # /*** BEGIN value-tail ***/ 1398s # value-tail 1398s # EnumName: @EnumName@ 1398s # enum_name: @enum_name@ 1398s # ENUMNAME: @ENUMNAME@ 1398s # ENUMSHORT: @ENUMSHORT@ 1398s # ENUMPREFIX: @ENUMPREFIX@ 1398s # enumsince: @enumsince@ 1398s # type: @type@ 1398s # Type: @Type@ 1398s # TYPE: @TYPE@ 1398s # /*** END value-tail ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # /*** END file-tail ***/ 1398s # 1398s # Response file contains: --template /tmp/tmp4wpkmihf/tmpk2abd72u.template /tmp/tmp4wpkmihf/tmpo60kvlpw.h 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4wpkmihf/tmpx0qy9dax'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # file-production 1398s # filename: /tmp/tmp4wpkmihf/tmpo60kvlpw.h 1398s # basename: tmpo60kvlpw.h 1398s # enumeration-production 1398s # EnumName: TestSymbolicEnum 1398s # enum_name: test_symbolic_enum 1398s # ENUMNAME: TEST_SYMBOLIC_ENUM 1398s # ENUMSHORT: SYMBOLIC_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-header 1398s # EnumName: TestSymbolicEnum 1398s # enum_name: test_symbolic_enum 1398s # ENUMNAME: TEST_SYMBOLIC_ENUM 1398s # ENUMSHORT: SYMBOLIC_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-production 1398s # VALUENAME: ENUM_VALUE_PUBLIC 1398s # valuenick: public 1398s # valuenum: 7 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # value-tail 1398s # EnumName: TestSymbolicEnum 1398s # enum_name: test_symbolic_enum 1398s # ENUMNAME: TEST_SYMBOLIC_ENUM 1398s # ENUMSHORT: SYMBOLIC_ENUM 1398s # ENUMPREFIX: TEST 1398s # enumsince: 1398s # type: enum 1398s # Type: Enum 1398s # TYPE: ENUM 1398s # file-tail 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmp_fkrgz07 1398s # rspfile: True 1398s # /tmp/tmp_fkrgz07/tmpam025i9u.template: 1398s # /*** BEGIN file-header ***/ 1398s # file-header 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-header ***/ 1398s # 1398s # /*** BEGIN comment ***/ 1398s # comment 1398s # comment: @comment@ 1398s # /*** END comment ***/ 1398s # 1398s # /*** BEGIN file-tail ***/ 1398s # file-tail 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # /*** END file-tail ***/ 1398s # Response file contains: --template /tmp/tmp_fkrgz07/tmpam025i9u.template 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_fkrgz07/tmp10zttlo8'] 1398s # Return code: 0 1398s # Output: 1398s # comment 1398s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1398s # 1398s # 1398s # file-header 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # file-tail 1398s # filename: @filename@ 1398s # basename: @basename@ 1398s # 1398s # comment 1398s # comment: Generated data ends here 1398s # Error: 1398s # WARNING: @filename@ used in file-header section. 1398s # WARNING: @basename@ used in file-header section. 1398s # WARNING: @filename@ used in file-tail section. 1398s # WARNING: @basename@ used in file-tail section. 1398s ok 29 __main__.TestRspMkenums.test_help 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmpjueqmkvz 1398s # rspfile: True 1398s # Response file contains: --help 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjueqmkvz/tmpilk9b7qv'] 1398s # Return code: 0 1398s # Output: 1398s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1398s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1398s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1398s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1398s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1398s # [--output OUTPUT] [--version] 1398s # [args ...] 1398s # 1398s # positional arguments: 1398s # args One or more input files, or a single argument 1398s # @rspfile_path pointing to a file that contains the 1398s # actual arguments 1398s # 1398s # options: 1398s # -h, --help show this help message and exit 1398s # --identifier-prefix IDPREFIX 1398s # Identifier prefix 1398s # --symbol-prefix SYMPREFIX 1398s # Symbol prefix 1398s # --fhead FHEAD Output file header 1398s # --ftail FTAIL Output file footer 1398s # --fprod FPROD Put out TEXT every time a new input file is being 1398s # processed. 1398s # --eprod EPROD Per enum text, produced prior to value iterations 1398s # --vhead VHEAD Value header, produced before iterating over enum 1398s # values 1398s # --vprod VPROD Value text, produced for each enum value. 1398s # --vtail VTAIL Value tail, produced after iterating over enum values 1398s # --comments COMMENT_TMPL 1398s # Comment structure 1398s # --template TEMPLATE Template file 1398s # --output OUTPUT 1398s # --version, -v Print version information 1398s # 1398s # Production text substitutions: 1398s # @EnumName@ PrefixTheXEnum 1398s # @enum_name@ prefix_the_xenum 1398s # @ENUMNAME@ PREFIX_THE_XENUM 1398s # @ENUMSHORT@ THE_XENUM 1398s # @ENUMPREFIX@ PREFIX 1398s # @enumsince@ the user-provided since value given 1398s # @VALUENAME@ PREFIX_THE_XVALUE 1398s # @valuenick@ the-xvalue 1398s # @valuenum@ the integer value (limited support, Since: 2.26) 1398s # @type@ either enum or flags 1398s # @Type@ either Enum or Flags 1398s # @TYPE@ either ENUM or FLAGS 1398s # @filename@ name of current input file 1398s # @basename@ base name of the current input file (Since: 2.22) 1398s # Error: 1398s ok 30 __main__.TestRspMkenums.test_no_args 1398s # glib-mkenums: /usr/bin/glib-mkenums 1398s # tmpdir: /tmp/tmp425xuno7 1398s # rspfile: True 1398s # Response file contains: 1398s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp425xuno7/tmp08so7_rg'] 1398s # Return code: 0 1398s # Output: 1398s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1398s # 1398s # 1398s # /* Generated data ends here */ 1398s # Error: 1399s ok 31 __main__.TestRspMkenums.test_no_headers 1399s # glib-mkenums: /usr/bin/glib-mkenums 1399s # tmpdir: /tmp/tmpomde0g_s 1399s # rspfile: True 1399s # /tmp/tmpomde0g_s/tmplrhv40st.template: 1399s # /*** BEGIN file-header ***/ 1399s # file-header 1399s # /*** END file-header ***/ 1399s # 1399s # /*** BEGIN file-production ***/ 1399s # file-production 1399s # filename: @filename@ 1399s # basename: @basename@ 1399s # /*** END file-production ***/ 1399s # 1399s # /*** BEGIN enumeration-production ***/ 1399s # enumeration-production 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END enumeration-production ***/ 1399s # 1399s # /*** BEGIN value-header ***/ 1399s # value-header 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-header ***/ 1399s # 1399s # /*** BEGIN value-production ***/ 1399s # value-production 1399s # VALUENAME: @VALUENAME@ 1399s # valuenick: @valuenick@ 1399s # valuenum: @valuenum@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-production ***/ 1399s # 1399s # /*** BEGIN value-tail ***/ 1399s # value-tail 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-tail ***/ 1399s # 1399s # /*** BEGIN comment ***/ 1399s # comment 1399s # comment: @comment@ 1399s # /*** END comment ***/ 1399s # 1399s # /*** BEGIN file-tail ***/ 1399s # file-tail 1399s # /*** END file-tail ***/ 1399s # 1399s # Response file contains: --template /tmp/tmpomde0g_s/tmplrhv40st.template 1399s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpomde0g_s/tmp_hi8mkgt'] 1399s # Return code: 0 1399s # Output: 1399s # comment 1399s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1399s # 1399s # 1399s # file-header 1399s # file-tail 1399s # 1399s # comment 1399s # comment: Generated data ends here 1399s # Error: 1399s ok 32 __main__.TestRspMkenums.test_no_nick 1399s # glib-mkenums: /usr/bin/glib-mkenums 1399s # tmpdir: /tmp/tmpf0gwl0xa 1399s # rspfile: True 1399s # /tmp/tmpf0gwl0xa/tmpoxeu2q8a.h: 1399s # typedef enum { 1399s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1399s # } GeglSamplerType; 1399s # 1399s # /tmp/tmpf0gwl0xa/tmpmgzjcfya.template: 1399s # /*** BEGIN file-header ***/ 1399s # file-header 1399s # /*** END file-header ***/ 1399s # 1399s # /*** BEGIN file-production ***/ 1399s # file-production 1399s # filename: @filename@ 1399s # basename: @basename@ 1399s # /*** END file-production ***/ 1399s # 1399s # /*** BEGIN enumeration-production ***/ 1399s # enumeration-production 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END enumeration-production ***/ 1399s # 1399s # /*** BEGIN value-header ***/ 1399s # value-header 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-header ***/ 1399s # 1399s # /*** BEGIN value-production ***/ 1399s # value-production 1399s # VALUENAME: @VALUENAME@ 1399s # valuenick: @valuenick@ 1399s # valuenum: @valuenum@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-production ***/ 1399s # 1399s # /*** BEGIN value-tail ***/ 1399s # value-tail 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-tail ***/ 1399s # 1399s # /*** BEGIN comment ***/ 1399s # comment 1399s # comment: @comment@ 1399s # /*** END comment ***/ 1399s # 1399s # /*** BEGIN file-tail ***/ 1399s # file-tail 1399s # /*** END file-tail ***/ 1399s # 1399s # Response file contains: --template /tmp/tmpf0gwl0xa/tmpmgzjcfya.template /tmp/tmpf0gwl0xa/tmpoxeu2q8a.h 1399s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpf0gwl0xa/tmp1b26v5ip'] 1399s # Return code: 0 1399s # Output: 1399s # comment 1399s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1399s # 1399s # 1399s # file-header 1399s # file-production 1399s # filename: /tmp/tmpf0gwl0xa/tmpoxeu2q8a.h 1399s # basename: tmpoxeu2q8a.h 1399s # enumeration-production 1399s # EnumName: GeglSamplerType 1399s # enum_name: gegl_sampler_type 1399s # ENUMNAME: GEGL_SAMPLER_TYPE 1399s # ENUMSHORT: SAMPLER_TYPE 1399s # ENUMPREFIX: GEGL 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-header 1399s # EnumName: GeglSamplerType 1399s # enum_name: gegl_sampler_type 1399s # ENUMNAME: GEGL_SAMPLER_TYPE 1399s # ENUMSHORT: SAMPLER_TYPE 1399s # ENUMPREFIX: GEGL 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-production 1399s # VALUENAME: GEGL_SAMPLER_NEAREST 1399s # valuenick: nearest 1399s # valuenum: 0 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-tail 1399s # EnumName: GeglSamplerType 1399s # enum_name: gegl_sampler_type 1399s # ENUMNAME: GEGL_SAMPLER_TYPE 1399s # ENUMSHORT: SAMPLER_TYPE 1399s # ENUMPREFIX: GEGL 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # file-tail 1399s # 1399s # comment 1399s # comment: Generated data ends here 1399s # Error: 1399s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1399s # glib-mkenums: /usr/bin/glib-mkenums 1399s # tmpdir: /tmp/tmplmwlnls7 1399s # rspfile: True 1399s # /tmp/tmplmwlnls7/tmps2167wn1.h: 1399s # /* Copyright © La Peña */ 1399s # typedef enum { 1399s # ENUM_VALUE 1399s # } SomeEnumIdentifier; 1399s # 1399s # /tmp/tmplmwlnls7/tmp9zbon4gm.template: 1399s # /*** BEGIN file-header ***/ 1399s # file-header 1399s # /*** END file-header ***/ 1399s # 1399s # /*** BEGIN file-production ***/ 1399s # file-production 1399s # filename: @filename@ 1399s # basename: @basename@ 1399s # /*** END file-production ***/ 1399s # 1399s # /*** BEGIN enumeration-production ***/ 1399s # enumeration-production 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END enumeration-production ***/ 1399s # 1399s # /*** BEGIN value-header ***/ 1399s # value-header 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-header ***/ 1399s # 1399s # /*** BEGIN value-production ***/ 1399s # value-production 1399s # VALUENAME: @VALUENAME@ 1399s # valuenick: @valuenick@ 1399s # valuenum: @valuenum@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-production ***/ 1399s # 1399s # /*** BEGIN value-tail ***/ 1399s # value-tail 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-tail ***/ 1399s # 1399s # /*** BEGIN comment ***/ 1399s # comment 1399s # comment: @comment@ 1399s # /*** END comment ***/ 1399s # 1399s # /*** BEGIN file-tail ***/ 1399s # file-tail 1399s # /*** END file-tail ***/ 1399s # 1399s # Response file contains: --template /tmp/tmplmwlnls7/tmp9zbon4gm.template /tmp/tmplmwlnls7/tmps2167wn1.h 1399s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplmwlnls7/tmpxzy3mj4y'] 1399s # Return code: 0 1399s # Output: 1399s # comment 1399s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1399s # 1399s # 1399s # file-header 1399s # file-production 1399s # filename: /tmp/tmplmwlnls7/tmps2167wn1.h 1399s # basename: tmps2167wn1.h 1399s # enumeration-production 1399s # EnumName: SomeEnumIdentifier 1399s # enum_name: some_enum_identifier 1399s # ENUMNAME: SOME_ENUM_IDENTIFIER 1399s # ENUMSHORT: ENUM_IDENTIFIER 1399s # ENUMPREFIX: SOME 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-header 1399s # EnumName: SomeEnumIdentifier 1399s # enum_name: some_enum_identifier 1399s # ENUMNAME: SOME_ENUM_IDENTIFIER 1399s # ENUMSHORT: ENUM_IDENTIFIER 1399s # ENUMPREFIX: SOME 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-production 1399s # VALUENAME: ENUM_VALUE 1399s # valuenick: value 1399s # valuenum: 0 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-tail 1399s # EnumName: SomeEnumIdentifier 1399s # enum_name: some_enum_identifier 1399s # ENUMNAME: SOME_ENUM_IDENTIFIER 1399s # ENUMSHORT: ENUM_IDENTIFIER 1399s # ENUMPREFIX: SOME 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # file-tail 1399s # 1399s # comment 1399s # comment: Generated data ends here 1399s # Error: 1399s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1399s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1399s ok 34 __main__.TestRspMkenums.test_reproducible 1399s # glib-mkenums: /usr/bin/glib-mkenums 1399s # tmpdir: /tmp/tmpppr1mnmx 1399s # rspfile: True 1399s # /tmp/tmpppr1mnmx/tmpi4uwiduf.template: template 1399s # Response file contains: --template /tmp/tmpppr1mnmx/tmpi4uwiduf.template /tmp/tmpppr1mnmx/tmpyo1u7d_k1.h /tmp/tmpppr1mnmx/tmpvq7g2cox2.h 1399s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpppr1mnmx/tmphcsy7uai'] 1399s # Return code: 0 1399s # Output: 1399s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1399s # 1399s # 1399s # /* Generated data ends here */ 1399s # Error: 1399s # 1399s # /tmp/tmpppr1mnmx/tmp15grr__6.template: template 1399s # Response file contains: --template /tmp/tmpppr1mnmx/tmp15grr__6.template /tmp/tmpppr1mnmx/tmpvq7g2cox2.h /tmp/tmpppr1mnmx/tmpyo1u7d_k1.h 1399s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpppr1mnmx/tmprcensn25'] 1399s # Return code: 0 1399s # Output: 1399s # /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */ 1399s # 1399s # 1399s # /* Generated data ends here */ 1399s # Error: 1399s ok 35 __main__.TestRspMkenums.test_since 1399s # glib-mkenums: /usr/bin/glib-mkenums 1399s # tmpdir: /tmp/tmp_r29yftr 1399s # rspfile: True 1399s # /tmp/tmp_r29yftr/tmp91xvbb5s.h: 1399s # typedef enum { /*< since=1.0 >*/ 1399s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1399s # } QmiWmsMessageProtocol; 1399s # 1399s # /tmp/tmp_r29yftr/tmpg661hzpk.template: 1399s # /*** BEGIN file-header ***/ 1399s # file-header 1399s # /*** END file-header ***/ 1399s # 1399s # /*** BEGIN file-production ***/ 1399s # file-production 1399s # filename: @filename@ 1399s # basename: @basename@ 1399s # /*** END file-production ***/ 1399s # 1399s # /*** BEGIN enumeration-production ***/ 1399s # enumeration-production 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END enumeration-production ***/ 1399s # 1399s # /*** BEGIN value-header ***/ 1399s # value-header 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-header ***/ 1399s # 1399s # /*** BEGIN value-production ***/ 1399s # value-production 1399s # VALUENAME: @VALUENAME@ 1399s # valuenick: @valuenick@ 1399s # valuenum: @valuenum@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-production ***/ 1399s # 1399s # /*** BEGIN value-tail ***/ 1399s # value-tail 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-tail ***/ 1399s # 1399s # /*** BEGIN comment ***/ 1399s # comment 1399s # comment: @comment@ 1399s # /*** END comment ***/ 1399s # 1399s # /*** BEGIN file-tail ***/ 1399s # file-tail 1399s # /*** END file-tail ***/ 1399s # 1399s # Response file contains: --template /tmp/tmp_r29yftr/tmpg661hzpk.template /tmp/tmp_r29yftr/tmp91xvbb5s.h 1399s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_r29yftr/tmppybcip1d'] 1399s # Return code: 0 1399s # Output: 1399s # comment 1399s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1399s # 1399s # 1399s # file-header 1399s # file-production 1399s # filename: /tmp/tmp_r29yftr/tmp91xvbb5s.h 1399s # basename: tmp91xvbb5s.h 1399s # enumeration-production 1399s # EnumName: QmiWmsMessageProtocol 1399s # enum_name: qmi_wms_message_protocol 1399s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1399s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1399s # ENUMPREFIX: QMI 1399s # enumsince: 1.0 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-header 1399s # EnumName: QmiWmsMessageProtocol 1399s # enum_name: qmi_wms_message_protocol 1399s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1399s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1399s # ENUMPREFIX: QMI 1399s # enumsince: 1.0 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-production 1399s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1399s # valuenick: cdma 1399s # valuenum: 0 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-tail 1399s # EnumName: QmiWmsMessageProtocol 1399s # enum_name: qmi_wms_message_protocol 1399s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1399s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1399s # ENUMPREFIX: QMI 1399s # enumsince: 1.0 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # file-tail 1399s # 1399s # comment 1399s # comment: Generated data ends here 1399s # Error: 1399s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1399s # glib-mkenums: /usr/bin/glib-mkenums 1399s # tmpdir: /tmp/tmpqoat9mm8 1399s # rspfile: True 1399s # /tmp/tmpqoat9mm8/tmpbaru_m3q.h: 1399s # typedef enum { 1399s # FOO_VALUE /*< nick="eek, a comma" >*/ 1399s # } Foo; 1399s # 1399s # /tmp/tmpqoat9mm8/tmphvo1bbe9.template: 1399s # /*** BEGIN file-header ***/ 1399s # file-header 1399s # /*** END file-header ***/ 1399s # 1399s # /*** BEGIN file-production ***/ 1399s # file-production 1399s # filename: @filename@ 1399s # basename: @basename@ 1399s # /*** END file-production ***/ 1399s # 1399s # /*** BEGIN enumeration-production ***/ 1399s # enumeration-production 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END enumeration-production ***/ 1399s # 1399s # /*** BEGIN value-header ***/ 1399s # value-header 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-header ***/ 1399s # 1399s # /*** BEGIN value-production ***/ 1399s # value-production 1399s # VALUENAME: @VALUENAME@ 1399s # valuenick: @valuenick@ 1399s # valuenum: @valuenum@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-production ***/ 1399s # 1399s # /*** BEGIN value-tail ***/ 1399s # value-tail 1399s # EnumName: @EnumName@ 1399s # enum_name: @enum_name@ 1399s # ENUMNAME: @ENUMNAME@ 1399s # ENUMSHORT: @ENUMSHORT@ 1399s # ENUMPREFIX: @ENUMPREFIX@ 1399s # enumsince: @enumsince@ 1399s # type: @type@ 1399s # Type: @Type@ 1399s # TYPE: @TYPE@ 1399s # /*** END value-tail ***/ 1399s # 1399s # /*** BEGIN comment ***/ 1399s # comment 1399s # comment: @comment@ 1399s # /*** END comment ***/ 1399s # 1399s # /*** BEGIN file-tail ***/ 1399s # file-tail 1399s # /*** END file-tail ***/ 1399s # 1399s # Response file contains: --template /tmp/tmpqoat9mm8/tmphvo1bbe9.template /tmp/tmpqoat9mm8/tmpbaru_m3q.h 1399s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqoat9mm8/tmp4smkninp'] 1399s # Return code: 0 1399s # Output: 1399s # comment 1399s # comment: This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. 1399s # 1399s # 1399s # file-header 1399s # file-production 1399s # filename: /tmp/tmpqoat9mm8/tmpbaru_m3q.h 1399s # basename: tmpbaru_m3q.h 1399s # enumeration-production 1399s # EnumName: Foo 1399s # enum_name: foo_ 1399s # ENUMNAME: FOO_ 1399s # ENUMSHORT: 1399s # ENUMPREFIX: FOO 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-header 1399s # EnumName: Foo 1399s # enum_name: foo_ 1399s # ENUMNAME: FOO_ 1399s # ENUMSHORT: 1399s # ENUMPREFIX: FOO 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-production 1399s # VALUENAME: FOO_VALUE 1399s # valuenick: eek, a comma 1399s # valuenum: 0 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # value-tail 1399s # EnumName: Foo 1399s # enum_name: foo_ 1399s # ENUMNAME: FOO_ 1399s # ENUMSHORT: 1399s # ENUMPREFIX: FOO 1399s # enumsince: 1399s # type: enum 1399s # Type: Enum 1399s # TYPE: ENUM 1399s # file-tail 1399s # 1399s # comment 1399s # comment: Generated data ends here 1399s # Error: 1399s 1..36 1399s ok - glib/mkenums.py.test 1399s # Running test: glib/cxx-03.test 1399s TAP version 14 1399s # random seed: R02S3ba76184f794ee872adb92bd2ba0d31e 1399s 1..2 1399s # Start of gtask tests 1399s ok - glib/cxx-03.test 1399s # 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. 1399s ok 1 /gtask/name 1399s # Start of name tests 1399s # 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. 1399s ok 2 /gtask/name/macro-wrapper 1399s # End of name tests 1399s # End of gtask tests 1399s # Running test: glib/contenttype.test 1399s TAP version 14 1399s # random seed: R02Sd3c5fedd7db703925e820d37c175f788 1399s 1..14 1399s # Start of contenttype tests 1399s ok 1 /contenttype/guess 1399s ok 2 /contenttype/guess_svg_from_data 1399s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1399s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1399s ok 5 /contenttype/unknown 1399s ok 6 /contenttype/subtype 1399s ok 7 /contenttype/list 1399s ok 8 /contenttype/executable 1399s ok 9 /contenttype/description 1399s ok 10 /contenttype/icon 1399s ok 11 /contenttype/symbolic-icon 1399s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1399s ok 12 /contenttype/tree 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1399s ok 13 /contenttype/tree_invalid_encoding 1399s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1399s ok 14 /contenttype/test_type_is_a_special_case 1399s # End of contenttype tests 1399s ok - glib/contenttype.test 1399s # Running test: glib/642026-ec.test 1399s TAP version 14 1399s # random seed: R02Se1cea98a22a9ff3027db59a9237d36f1 1399s 1..1 1399s # Start of glib tests 1399s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1399s ok 1 /glib/642026 1399s # End of glib tests 1399s ok - glib/642026-ec.test 1399s # Running test: glib/tls-interaction.test 1399s TAP version 14 1399s # random seed: R02Sbd9b60df275bfd6978e1abd0d012550f 1399s 1..42 1399s # Start of tls-interaction tests 1399s # Start of ask-password tests 1399s # Start of invoke-with-loop tests 1399s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1399s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1399s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1399s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1399s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1399s # End of invoke-with-loop tests 1399s # Start of invoke-without-loop tests 1399s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1399s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1399s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1399s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1399s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1399s # End of invoke-without-loop tests 1399s # Start of invoke-in-loop tests 1399s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1399s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1399s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1399s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1399s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1399s # End of invoke-in-loop tests 1399s # Start of sync tests 1399s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1399s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1399s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1399s # End of sync tests 1399s # Start of async tests 1399s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1399s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1399s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1399s # End of async tests 1399s # End of ask-password tests 1399s # Start of request-certificate tests 1399s # Start of invoke-with-loop tests 1399s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1399s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1399s ok - glib/tls-interaction.test 1399s # Running test: glib/value.test 1399s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1399s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1399s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1399s # End of invoke-with-loop tests 1399s # Start of invoke-without-loop tests 1399s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1399s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1399s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1399s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1399s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1399s # End of invoke-without-loop tests 1399s # Start of invoke-in-loop tests 1399s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1399s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1399s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1399s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1399s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1399s # End of invoke-in-loop tests 1399s # Start of sync tests 1399s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1399s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1399s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1399s # End of sync tests 1399s # Start of async tests 1399s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1399s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1399s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1399s # End of async tests 1399s # End of request-certificate tests 1399s # End of tls-interaction tests 1399s ok - glib/value.test 1399s # Running test: glib/thread-pool.test 1399s TAP version 14 1399s # random seed: R02Sb019c4967fa7fbb6be7d191a25250936 1399s 1..9 1399s # Start of value tests 1399s ok 1 /value/basic 1399s ok 2 /value/collection 1399s ok 3 /value/copying 1399s ok 4 /value/enum-transformation 1399s ok 5 /value/gtype 1399s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1399s ok 6 /value/string 1399s # Next: GObject object in GValue of GObject to GValue of GObject 1399s # Next: GObject object in GValue of GObject to GValue of TestInterface 1399s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1399s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1399s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1399s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1399s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1399s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1399s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1399s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1399s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1399s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1399s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1399s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1399s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1399s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1399s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1399s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1399s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1399s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1399s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1399s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1399s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1399s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1399s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1399s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1399s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1399s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1399s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1399s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1399s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1399s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1399s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1399s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1399s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1399s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1399s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1399s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1399s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1399s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1399s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1399s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1399s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1399s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1399s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1399s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1399s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1399s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1399s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1399s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1399s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1399s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1399s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1399s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1399s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1399s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1399s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1399s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1399s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1399s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1399s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1399s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1399s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1399s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1399s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1399s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1399s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1399s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1399s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1399s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1399s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1399s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1399s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1399s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1399s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1399s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1399s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1399s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1399s ok 7 /value/transform-object 1399s # Start of array tests 1399s ok 8 /value/array/basic 1399s ok 9 /value/array/sort-with-data 1399s # End of array tests 1399s # End of value tests 1399s TAP version 14 1399s # random seed: R02S72b8c69c2acb9129b043e577449f0879 1399s 1..6 1399s # Start of thread_pool tests 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1399s ok 1 /thread_pool/pool_fail 1399s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1399s ok 2 /thread_pool/shared 1399s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1399s ok 3 /thread_pool/exclusive 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1399s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1399s ok 4 /thread_pool/create_shared_after_exclusive 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1399s ok 5 /thread_pool/create_full 1399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1399s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1399s ok 6 /thread_pool/create_exclusive_after_shared 1399s # End of thread_pool tests 1399s ok - glib/thread-pool.test 1399s # Running test: glib/string.test 1399s TAP version 14 1399s # random seed: R02S643ebde4291926535b29cbcadc1cfb17 1399s 1..25 1399s # Start of string tests 1399s ok 1 /string/chunks 1399s ok 2 /string/chunk-insert 1399s ok 3 /string/new 1399s ok 4 /string/printf 1399s ok 5 /string/assign 1399s ok 6 /string/append-c 1399s ok 7 /string/append 1399s ok 8 /string/append-vprintf 1399s ok 9 /string/prepend-c 1399s ok 10 /string/prepend 1399s ok 11 /string/insert 1399s ok 12 /string/insert-unichar 1399s ok 13 /string/equal 1399s ok 14 /string/truncate 1399s ok 15 /string/overwrite 1399s ok 16 /string/nul-handling 1399s ok 17 /string/up-down 1399s ok 18 /string/set-size 1399s ok 19 /string/to-bytes 1399s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1399s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1399s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1399s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1399s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1399s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1399s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1399s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1399s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1399s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1399s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1399s # -> 4 replacements, "fd fr fals" 1399s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1399s # -> 3 replacements, "aaaaaaaaa" 1399s # 7: Replacing "a" with "" (limit 0) in "aaa" 1399s # -> 3 replacements, "" 1399s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1399s # -> 1 replacements, "bba" 1399s # 9: Replacing "" with "bar" (limit 0) in "foo" 1399s # -> 4 replacements, "barfbarobarobar" 1399s # 10: Replacing "" with "bar" (limit 1) in "foo" 1399s # -> 1 replacements, "barfoo" 1399s # 11: Replacing "" with "bar" (limit 2) in "foo" 1399s # -> 2 replacements, "barfbaroo" 1399s # 12: Replacing "" with "bar" (limit 3) in "foo" 1399s # -> 3 replacements, "barfbarobaro" 1399s # 13: Replacing "" with "bar" (limit 4) in "foo" 1399s # -> 4 replacements, "barfbarobarobar" 1399s # 14: Replacing "" with "bar" (limit 5) in "foo" 1399s # -> 4 replacements, "barfbarobarobar" 1399s # 15: Replacing "" with "x" (limit 0) in "" 1399s # -> 1 replacements, "x" 1399s # 16: Replacing "" with "" (limit 0) in "" 1399s # -> 1 replacements, "" 1399s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1399s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1399s ok 20 /string/replace 1399s ok 21 /string/steal 1399s ok 22 /string/new-take 1399s ok 23 /string/copy 1399s ok 24 /string/sized-new 1399s # Start of new-take tests 1399s ok 25 /string/new-take/null 1399s # End of new-take tests 1399s # End of string tests 1399s ok - glib/string.test 1399s # Running test: glib/credentials.test 1399s ok - glib/credentials.test 1399s TAP version 14 1399s # random seed: R02S13ac7169320be9319dbeadb464ce3a83 1399s 1..1 1399s # Start of credentials tests 1399s # GCredentials:linux-ucred:pid=7195,uid=1000,gid=1000 1399s # GCredentials:linux-ucred:pid=7195,uid=0,gid=1000 1399s ok 1 /credentials/basic 1399s # End of credentials tests 1399s # Running test: glib/async-splice-output-stream.test 1399s TAP version 14 1399s # random seed: R02Sf87f757c35372c71128d283c48a1e3a5 1399s 1..5 1399s # Start of async-splice tests 1399s ok 1 /async-splice/copy-chunks 1399s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1399s ok 2 /async-splice/copy-chunks-threaded-input 1399s ok 3 /async-splice/copy-chunks-threaded-output 1399s ok - glib/async-splice-output-stream.test 1399s # Running test: glib/overflow.test 1399s ok 4 /async-splice/copy-chunks-threaded 1399s ok 5 /async-splice/cancelled 1399s # End of async-splice tests 1399s TAP version 14 1399s # random seed: R02S4eb29864639295bd687175e59707f956 1399s 1..6 1399s # Start of glib tests 1399s # Start of checked-math tests 1399s ok 1 /glib/checked-math/guint-add 1399s ok 2 /glib/checked-math/guint-mul 1399s ok 3 /glib/checked-math/guint64-add 1399s ok 4 /glib/checked-math/guint64-mul 1399s ok 5 /glib/checked-math/gsize-add 1399s ok 6 /glib/checked-math/gsize-mul 1399s # End of checked-math tests 1399s # End of glib tests 1399s ok - glib/overflow.test 1399s # Running test: glib/gsubprocess.test 1399s TAP version 14 1399s # random seed: R02S4fdd7d3d2691567139fdf887c39ade55 1399s 1..84 1399s # Start of gsubprocess tests 1399s ok 1 /gsubprocess/noop 1399s ok 2 /gsubprocess/noop-all-to-null 1399s ok 3 /gsubprocess/noop-no-wait 1399s ok 4 /gsubprocess/noop-stdin-inherit 1399s ok 5 /gsubprocess/search-path 1399s ok 6 /gsubprocess/search-path-from-envp 1401s # Executing: glib/gsubprocess.test 1402s ok 7 /gsubprocess/signal 1402s # slow test /gsubprocess/signal executed in 3.59 secs 1402s ok 8 /gsubprocess/exit1 1402s ok 9 /gsubprocess/echo1 1402s ok 10 /gsubprocess/echo-merged 1402s ok 11 /gsubprocess/cat-utf8 1403s ok 12 /gsubprocess/cat-eof 1403s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1406s # Executing: glib/gsubprocess.test 1407s ok 13 /gsubprocess/multi1 1407s # slow test /gsubprocess/multi1 executed in 3.01 secs 1407s ok 14 /gsubprocess/communicate 1409s ok 15 /gsubprocess/terminate 1409s # slow test /gsubprocess/terminate executed in 2.98 secs 1409s ok 16 /gsubprocess/fail-initialization 1409s ok 17 /gsubprocess/env 1409s ok 18 /gsubprocess/cwd 1409s ok 19 /gsubprocess/launcher-close 1409s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1409s ok 20 /gsubprocess/stdout-file 1410s ok 21 /gsubprocess/stdout-fd 1410s ok 22 /gsubprocess/child-setup 1410s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1410s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1410s ok 23 /gsubprocess/launcher-environment 1410s # Start of exit1 tests 1410s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1410s ok 24 /gsubprocess/exit1/cancel 1410s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1410s ok 25 /gsubprocess/exit1/cancel_in_cb 1410s # End of exit1 tests 1410s # Start of communicate tests 1410s ok 26 /gsubprocess/communicate/cancelled 1410s ok 27 /gsubprocess/communicate/async 1410s ok 28 /gsubprocess/communicate/utf8 1410s # hello world 1410s ok 29 /gsubprocess/communicate/no-pipes 1410s ok 30 /gsubprocess/communicate/separate-stderr 1410s ok 31 /gsubprocess/communicate/stdout-only 1410s # hello world 1410s ok 32 /gsubprocess/communicate/stderr-only 1410s ok 33 /gsubprocess/communicate/stdout-silence 1410s ok 34 /gsubprocess/communicate/nothing 1410s # Start of async tests 1410s ok 35 /gsubprocess/communicate/async/cancelled 1410s # hello world 1410s ok 36 /gsubprocess/communicate/async/no-pipes 1410s ok 37 /gsubprocess/communicate/async/separate-stderr 1410s ok 38 /gsubprocess/communicate/async/stdout-only 1410s # hello world 1410s ok 39 /gsubprocess/communicate/async/stderr-only 1410s ok 40 /gsubprocess/communicate/async/stdout-silence 1410s # Start of cancelled tests 1410s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1410s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1410s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1410s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1410s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1410s # End of cancelled tests 1410s # End of async tests 1410s # Start of utf8 tests 1410s ok 46 /gsubprocess/communicate/utf8/cancelled 1410s ok 47 /gsubprocess/communicate/utf8/async 1410s # hello world 1410s ok 48 /gsubprocess/communicate/utf8/no-pipes 1410s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1410s ok 50 /gsubprocess/communicate/utf8/stdout-only 1410s # hello world 1410s ok 51 /gsubprocess/communicate/utf8/stderr-only 1410s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1410s ok 53 /gsubprocess/communicate/utf8/invalid 1410s # Start of async tests 1410s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1410s # hello world 1410s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1410s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1410s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1410s # hello world 1410s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1410s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1410s ok 60 /gsubprocess/communicate/utf8/async/invalid 1410s # Start of cancelled tests 1410s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1410s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1410s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1410s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1410s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1410s # End of cancelled tests 1410s # End of async tests 1410s # Start of cancelled tests 1410s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1410s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1410s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1410s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1410s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1410s # End of cancelled tests 1410s # End of utf8 tests 1410s # Start of cancelled tests 1410s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1410s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1410s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1410s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1410s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1410s # End of cancelled tests 1410s # End of communicate tests 1410s # Start of env tests 1410s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1410s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1410s ok 76 /gsubprocess/env/inherit 1410s # End of env tests 1410s # Start of pass-fd tests 1410s ok 77 /gsubprocess/pass-fd/basic 1410s ok 78 /gsubprocess/pass-fd/empty-child-setup 1410s ok 79 /gsubprocess/pass-fd/inherit-fds 1410s # End of pass-fd tests 1410s # Start of fd-conflation tests 1410s ok 80 /gsubprocess/fd-conflation/basic 1410s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1410s ok 82 /gsubprocess/fd-conflation/inherit-fds 1410s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1410s # End of fd-conflation tests 1410s # Start of exit-status tests 1410s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1410s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1410s ok - glib/gsubprocess.test 1410s # Running test: glib/gdbus-connection-flush.test 1410s ok 84 /gsubprocess/exit-status/trapped 1410s # End of exit-status tests 1410s # End of gsubprocess tests 1410s TAP version 14 1410s # random seed: R02S6c2cfb7dd86c14cebec2a3b12dcb2ad4 1410s 1..2 1410s # Start of gdbus tests 1410s # Start of connection tests 1410s # Start of flush tests 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/busy/.dirs/runtime 1410s ok 1 /gdbus/connection/flush/busy 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_F0UFK3/gdbus/connection/flush/idle/.dirs/runtime 1410s ok 2 /gdbus/connection/flush/idle 1410s # End of flush tests 1410s # End of connection tests 1410s # End of gdbus tests 1410s ok - glib/gdbus-connection-flush.test 1410s # Running test: glib/signalgroup.test 1410s TAP version 14 1410s # random seed: R02S1535775801c363713a9a4e49b53ea66b 1410s 1..9 1410s # Start of GObject tests 1410s # Start of SignalGroup tests 1410s ok 1 /GObject/SignalGroup/invalid 1410s ok 2 /GObject/SignalGroup/simple 1410s ok 3 /GObject/SignalGroup/changing-target 1410s ok 4 /GObject/SignalGroup/blocking 1410s ok 5 /GObject/SignalGroup/weak-ref-target 1410s ok 6 /GObject/SignalGroup/connect-object 1410s ok - glib/signalgroup.test 1410s # Running test: glib/data-input-stream.test 1410s ok 7 /GObject/SignalGroup/signal-parsing 1410s ok 8 /GObject/SignalGroup/properties 1410s ok 9 /GObject/SignalGroup/interface 1410s # Start of signal-parsing tests 1410s # End of signal-parsing tests 1410s # End of SignalGroup tests 1410s # End of GObject tests 1410s TAP version 14 1410s # random seed: R02S217c35493d9eda23e96f745d6b058a2d 1410s 1..10 1410s # Start of data-input-stream tests 1410s ok 1 /data-input-stream/basic 1410s ok 2 /data-input-stream/read-lines-LF 1410s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1410s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1410s ok 5 /data-input-stream/read-lines-CR 1410s ok 6 /data-input-stream/read-lines-CR-LF 1410s ok 7 /data-input-stream/read-lines-any 1410s ok 8 /data-input-stream/read-until 1410s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1410s # Test vector 1: {"key": "value"}? and ? 1410s ok 9 /data-input-stream/read-upto 1410s ok 10 /data-input-stream/read-int 1410s # End of data-input-stream tests 1410s ok - glib/data-input-stream.test 1410s # Running test: glib/simple-proxy.test 1410s TAP version 14 1410s # random seed: R02Sd3e113170fc2d5d222c4cc3b655730a7 1410s 1..3 1410s # Start of static-proxy tests 1410s ok 1 /static-proxy/uri 1410s ok 2 /static-proxy/socks 1410s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 1410s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 1410s ok 3 /static-proxy/ignore 1410s # End of static-proxy tests 1410s ok - glib/simple-proxy.test 1410s # Running test: glib/utils-isolated.test 1410s TAP version 14 1410s # random seed: R02S36a78e6f728a506cf0f243eb6566ada2 1410s 1..11 1410s # Start of utils-isolated tests 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/tmp-dir/.dirs/runtime 1410s ok 1 /utils-isolated/tmp-dir 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/home-dir/.dirs/runtime 1410s ok 2 /utils-isolated/home-dir 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-cache-dir/.dirs/runtime 1410s ok 3 /utils-isolated/user-cache-dir 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-config-dirs/.dirs/runtime 1410s ok 4 /utils-isolated/system-config-dirs 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-config-dir/.dirs/runtime 1410s ok 5 /utils-isolated/user-config-dir 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/system-data-dirs/.dirs/runtime 1410s ok 6 /utils-isolated/system-data-dirs 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-data-dir/.dirs/runtime 1410s ok 7 /utils-isolated/user-data-dir 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-state-dir/.dirs/runtime 1410s ok 8 /utils-isolated/user-state-dir 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/user-runtime-dir/.dirs/runtime 1410s ok 9 /utils-isolated/user-runtime-dir 1410s # Start of cleanup tests 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/runtime 1410s Unable to clean up temporary directory /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1410s Unable to clean up temporary directory /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1410s Unable to clean up temporary directory /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/handles-errors: Directory not empty 1410s ok 10 /utils-isolated/cleanup/handles-errors 1410s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1410s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1410s Unable to clean up temporary directory /tmp/test_utils-isolated_6Z2AK3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1410s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1410s # End of cleanup tests 1410s # End of utils-isolated tests 1410s ok - glib/utils-isolated.test 1410s # Running test: glib/gsocketclient-slow.test 1410s TAP version 14 1410s # random seed: R02S8f144d411d59a42f8ef286523e4877f0 1410s 1..4 1410s # Start of socket-client tests 1410s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1410s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1410s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa35e0c478e0 and GSocketClientAsyncConnectData 0xa35e0c42520 1410s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1410s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1410s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa35e0c4b540 for GSocketClientAsyncConnectData 0xa35e0c42520 1410s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1410s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1410s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1410s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1410s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1410s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1410s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa35e0c4b540 for GSocketClientAsyncConnectData 0xa35e0c42520 1410s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1411s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1411s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1411s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1411s ok 1 /socket-client/connection-fail 1411s # slow test /socket-client/connection-fail executed in 1.20 secs 1411s # Start of happy-eyeballs tests 1411s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa35e0c4a0d0 and GSocketClientAsyncConnectData 0xa35e0c4b070 1411s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1411s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1411s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa35e0c4e340 for GSocketClientAsyncConnectData 0xa35e0c4b070 1411s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1411s # Executing: glib/gsocketclient-slow.test 1412s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1412s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1412s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1412s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1412s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1412s ok 2 /socket-client/happy-eyeballs/slow 1412s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1412s # Start of cancellation tests 1412s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa35e0c4ad50 and GSocketClientAsyncConnectData 0xa35e0c4e5e0 1412s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1412s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1412s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1412s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa35e0c49ff0 and GSocketClientAsyncConnectData 0xa35e0c4df70 1412s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1412s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1412s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa35e0c4eba0 for GSocketClientAsyncConnectData 0xa35e0c4df70 1412s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1412s ok - glib/gsocketclient-slow.test 1412s # Running test: glib/resources.test 1412s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1412s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1412s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1412s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1412s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1412s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1412s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1412s # End of cancellation tests 1412s # End of happy-eyeballs tests 1412s # End of socket-client tests 1412s TAP version 14 1412s # random seed: R02Sc5fcdff77e2abb27e124f7aa8df4f549 1412s 1..19 1412s # Start of resource tests 1412s ok 1 /resource/file 1412s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1412s ok 2 /resource/file-path 1412s ok 3 /resource/data 1412s ok 4 /resource/data_unaligned 1412s ok 5 /resource/data-corrupt 1412s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1412s ok 6 /resource/data-corrupt-compression 1412s ok 7 /resource/data-empty 1412s ok 8 /resource/registered 1412s ok 9 /resource/manual 1412s ok 10 /resource/manual2 1412s ok 11 /resource/automatic 1412s ok 12 /resource/module 1412s ok 13 /resource/binary-linked 1412s ok 14 /resource/64k 1412s GLib-GIO-Message: 04:38:18.519: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1412s GLib-GIO-Message: 04:38:18.519: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1412s GLib-GIO-Message: 04:38:18.519: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1412s ok 15 /resource/overlay 1412s ok 16 /resource/digits 1412s ok 17 /resource/has-children 1412s # Start of uri tests 1412s ok 18 /resource/uri/query-info 1412s ok 19 /resource/uri/file 1412s # End of uri tests 1412s # End of resource tests 1412s TAP version 14 1412s # random seed: R02S0d4e3a5baf2c077a76f1aecb9b588ec9 1412s 1..11 1412s # Start of GObject tests 1412s # Start of BindingGroup tests 1412s ok 1 /GObject/BindingGroup/invalid 1412s ok 2 /GObject/BindingGroup/default 1412s ok 3 /GObject/BindingGroup/bidirectional 1412s ok 4 /GObject/BindingGroup/transform 1412s ok 5 /GObject/BindingGroup/transform-closures 1412s ok 6 /GObject/BindingGroup/same-object 1412s ok 7 /GObject/BindingGroup/weak-ref-source 1412s ok 8 /GObject/BindingGroup/weak-ref-target 1412s ok 9 /GObject/BindingGroup/properties 1412s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1412s ok 11 /GObject/BindingGroup/empty-closures 1412s # End of BindingGroup tests 1412s # End of GObject tests 1412s ok - glib/resources.test 1412s # Running test: glib/bindinggroup.test 1412s ok - glib/bindinggroup.test 1412s # Running test: glib/task.test 1412s TAP version 14 1412s # random seed: R02Sdfdf0f8dea0874ec17b7aa1d47d6ecd4 1412s 1..36 1412s # Start of gtask tests 1412s ok 1 /gtask/basic 1412s ok 2 /gtask/error 1412s ok 3 /gtask/error-literal 1412s ok 4 /gtask/error-literal-from-variable 1412s ok 5 /gtask/return-from-same-iteration 1412s ok 6 /gtask/return-from-toplevel 1412s ok 7 /gtask/return-from-anon-thread 1412s ok 8 /gtask/return-from-wrong-thread 1412s ok 9 /gtask/no-callback 1412s ok 10 /gtask/report-error 1412s ok 11 /gtask/priority 1412s ok 12 /gtask/name 1412s ok 13 /gtask/static-name 1412s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 1413s ok 14 /gtask/asynchronous-cancellation 1413s ok 15 /gtask/check-cancellable 1413s ok 16 /gtask/return-if-cancelled 1413s ok 17 /gtask/run-in-thread 1413s ok 18 /gtask/run-in-thread-sync 1413s ok 19 /gtask/run-in-thread-priority 1413s ok 20 /gtask/run-in-thread-nested 1413s ok 21 /gtask/run-in-thread-overflow 1413s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 1413s # GLib-GIO-DEBUG: GTask 0x9cbc6a3aca0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1413s # GLib-GIO-DEBUG: GTask 0x9cbc6a3ae30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1413s ok 22 /gtask/return-on-cancel 1413s # GLib-GIO-DEBUG: GTask 0x9cbc69d0cc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1413s # GLib-GIO-DEBUG: GTask 0x9cbc69d0070 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1413s ok 23 /gtask/return-on-cancel-sync 1413s ok 24 /gtask/return-on-cancel-atomic 1413s ok 25 /gtask/return-pointer 1413s ok 26 /gtask/return-value 1413s ok 27 /gtask/return-prefixed-error 1413s ok 28 /gtask/object-keepalive 1413s ok 29 /gtask/legacy-error 1413s ok - glib/task.test 1413s # Running test: glib/deprecated-properties.test 1413s ok - glib/deprecated-properties.test 1413s # Running test: glib/file-enumerator.test 1413s ok 30 /gtask/finalize-without-return 1413s # Start of name tests 1413s ok 31 /gtask/name/macro-wrapper 1413s # End of name tests 1413s # Start of return tests 1413s ok 32 /gtask/return/error-first 1413s ok 33 /gtask/return/value-first 1413s # Start of in-idle tests 1413s ok 34 /gtask/return/in-idle/error-first 1413s ok 35 /gtask/return/in-idle/value-first 1413s # End of in-idle tests 1413s # End of return tests 1413s # Start of attach-source tests 1413s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 1413s ok 36 /gtask/attach-source/set-name 1413s # End of attach-source tests 1413s # End of gtask tests 1413s TAP version 14 1413s # random seed: R02S9fef9e32db1461b43d4749c7ec2cff5b 1413s 1..3 1413s # Start of deprecated-properties tests 1413s ok 1 /deprecated-properties/construct 1413s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1413s ok 2 /deprecated-properties/default-construct 1413s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1413s ok 3 /deprecated-properties/set 1413s # End of deprecated-properties tests 1413s TAP version 14 1413s ok - glib/file-enumerator.test 1413s # Running test: glib/filenamecompleter.test 1413s ok - glib/filenamecompleter.test 1413s # Running test: glib/option-argv0.test 1413s ok - glib/option-argv0.test 1413s # Running test: glib/cxx.test 1413s ok - glib/cxx.test 1413s # Running test: glib/timeout.test 1413s # random seed: R02S283325127c6d23cfa7098c71b5463171 1413s 1..1 1413s # Start of file-enumerator tests 1413s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1413s ok 1 /file-enumerator/close-on-dispose 1413s # End of file-enumerator tests 1413s TAP version 14 1413s # random seed: R02S343d67c7320c164dacd596dae723ffdc 1413s 1..1 1413s # Start of filenamecompleter tests 1413s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/home 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/cache 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/system-config2 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/config 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/system-data2 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/data 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/state 1413s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_H3KKK3/filenamecompleter/basic/.dirs/runtime 1413s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1413s ok 1 /filenamecompleter/basic 1413s # End of filenamecompleter tests 1413s TAP version 14 1413s # random seed: R02S306cc7cedfa3cd3fdd81a76339370e16 1413s 1..1 1413s # Start of option tests 1413s ok 1 /option/argv0 1413s # End of option tests 1413s TAP version 14 1413s # random seed: R02S82803f0c1533f3f6c31ae127c2f2601a 1413s 1..2 1413s # Start of gtask tests 1413s # 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. 1413s ok 1 /gtask/name 1413s # Start of name tests 1413s # 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. 1413s ok 2 /gtask/name/macro-wrapper 1413s # End of name tests 1413s # End of gtask tests 1413s TAP version 14 1413s # random seed: R02S2f96573d1c016e787df8c1e677da4fd1 1413s 1..5 1413s # Start of timeout tests 1413s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1415s ok 1 /timeout/seconds 1415s # slow test /timeout/seconds executed in 2.10 secs 1416s # Executing: glib/timeout.test 1418s ok 2 /timeout/seconds-once 1418s # slow test /timeout/seconds-once executed in 2.10 secs 1418s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1420s ok 3 /timeout/weeks-overflow 1420s # slow test /timeout/weeks-overflow executed in 2.10 secs 1420s ok 4 /timeout/far-future-ready-time 1421s # Executing: glib/timeout.test 1426s # Executing: glib/timeout.test 1430s ok 5 /timeout/rounding 1430s # slow test /timeout/rounding executed in 9.94 secs 1430s # End of timeout tests 1430s ok - glib/timeout.test 1430s # Running test: glib/bytes.test 1430s TAP version 14 1430s # random seed: R02Sa39d1581685d5f4392be86d0032881f4 1430s 1..21 1430s # Start of bytes tests 1430s ok 1 /bytes/new 1430s ok 2 /bytes/new-take 1430s ok 3 /bytes/new-static 1430s ok 4 /bytes/new-with-free-func 1430s ok 5 /bytes/new-from-bytes 1430s ok 6 /bytes/new-from-bytes-slice 1430s ok 7 /bytes/new-from-bytes-shared-ref 1430s ok 8 /bytes/hash 1430s ok 9 /bytes/equal 1430s ok 10 /bytes/compare 1430s ok 11 /bytes/null 1430s ok 12 /bytes/get-region 1430s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1430s ok 13 /bytes/unref-null 1430s # Start of to-data tests 1430s ok 14 /bytes/to-data/transferred 1430s ok 15 /bytes/to-data/two-refs 1430s ok 16 /bytes/to-data/non-malloc 1430s ok 17 /bytes/to-data/different-free-func 1430s # End of to-data tests 1430s # Start of to-array tests 1430s ok 18 /bytes/to-array/transferred 1430s ok 19 /bytes/to-array/two-refs 1430s ok 20 /bytes/to-array/non-malloc 1430s # Start of transferred tests 1430s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1430s ok 21 /bytes/to-array/transferred/oversize 1430s # End of transferred tests 1430s # End of to-array tests 1430s # End of bytes tests 1430s ok - glib/bytes.test 1430s # Running test: glib/properties-introspection.test 1430s TAP version 14 1430s # random seed: R02S0f644cb360186dacc4ee58b3da977e55 1430s 1..2 1430s # Start of properties tests 1430s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1430s ok 1 /properties/introspection 1430s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1430s ok 2 /properties/collision 1430s ok - glib/properties-introspection.test 1430s # Running test: glib/types.test 1430s ok - glib/types.test 1430s # Running test: glib/spawn-test.test 1430s # End of properties tests 1430s TAP version 14 1430s # random seed: R02S4c7b794297bce52659f811f29cfc241b 1430s 1..1 1430s # Start of types tests 1430s ok 1 /types/basic_types 1430s # End of types tests 1430s TAP version 14 1430s # random seed: R02S6e6b6f7c708ee70fe2958fc3363f05e1 1430s 1..2 1430s # Start of spawn tests 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_UZ2EK3/spawn/basics/.dirs/runtime 1430s ok 1 /spawn/basics 1430s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/home 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/cache 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/system-config2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/config 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/system-data2 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/data 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/state 1430s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_UZ2EK3/spawn/stdio-overwrite/.dirs/runtime 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1430s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1430s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1430s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1430s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1430s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1430s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1430s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1430s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1430s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1430s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1430s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1430s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1430s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1430s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1430s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1430s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1430s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1430s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1430s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1430s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1430s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1430s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1430s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1430s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1430s # Fetching GSpawn result with stdin open, stdout open, stderr open 1430s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1430s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1430s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1430s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1430s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1430s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1430s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1430s ok - glib/spawn-test.test 1430s ok 2 /spawn/stdio-overwrite 1430s # End of spawn tests 1430s # Running test: glib/bitlock.test 1430s ok - glib/bitlock.test 1430s TAP version 14 1430s # random seed: R02S2db90980630a4500491166700e58d0b9 1430s 1..2 1430s # Start of bitlock tests 1430s # Start of performance tests 1430s # max perf: iterations per second 1430s ok 1 /bitlock/performance/uncontended 1430s ok 2 /bitlock/performance/parallel 1430s # End of performance tests 1430s # End of bitlock tests 1430s # Running test: glib/fileattributematcher.test 1430s TAP version 14 1430s # random seed: R02S32e755ef8d5008154c19eda62fb9dea2 1430s ok - glib/fileattributematcher.test 1430s 1..3 1430s # Start of fileattributematcher tests 1430s ok 1 /fileattributematcher/exact 1430s ok 2 /fileattributematcher/equality 1430s ok 3 /fileattributematcher/subtract 1430s # End of fileattributematcher tests 1430s # Running test: glib/utf8-private.test 1430s TAP version 14 1430s # random seed: R02S6496e551d941dd74f61e726371be3d76 1430s 1..2 1430s # Start of utf8 tests 1430s ok 1 /utf8/utf8-to-utf16-make-valid 1430s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 1430s # End of utf8 tests 1430s ok - glib/utf8-private.test 1430s # Running test: glib/portal-support-none.test 1430s TAP version 14 1430s # random seed: R02S772efa4ebfd818f3fe383a0f27d1a3ae 1430s 1..1 1430s # Start of portal-support tests 1430s ok 1 /portal-support/none 1430s # End of portal-support tests 1430s ok - glib/portal-support-none.test 1430s # Running test: glib/cxx-17.test 1430s TAP version 14 1430s # random seed: R02Sc28ee756d3af62f102b7c7c09014ad31 1430s 1..2 1430s # Start of gtask tests 1430s # 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. 1430s ok 1 /gtask/name 1430s # Start of name tests 1430s # 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. 1430s ok 2 /gtask/name/macro-wrapper 1430s # End of name tests 1430s # End of gtask tests 1430s ok - glib/cxx-17.test 1430s # Running test: glib/notify-init.test 1430s TAP version 14 1430s # random seed: R02Sff38384689323660fbf041c62495675c 1430s 1..1 1430s # Start of properties tests 1430s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1430s ok 1 /properties/notify-in-init 1430s # End of properties tests 1430s ok - glib/notify-init.test 1430s # Running test: glib/relation.test 1430s TAP version 14 1430s # random seed: R02S11e7d9eae5771f7269d02e82034ff3f8 1430s 1..1 1430s # Start of glib tests 1430s ok 1 /glib/relation 1430s # End of glib tests 1430s ok - glib/relation.test 1430s # Running test: glib/buffered-output-stream.test 1430s ok - glib/buffered-output-stream.test 1430s TAP version 14 1430s # random seed: R02Sc6bda9298617dd6eff048ce2cb9e7070 1430s 1..5 1430s # Start of buffered-output-stream tests 1430s ok 1 /buffered-output-stream/write 1430s ok 2 /buffered-output-stream/grow 1430s ok 3 /buffered-output-stream/seek 1430s ok 4 /buffered-output-stream/truncate 1430s # End of buffered-output-stream tests 1430s # Start of filter-output-stream tests 1430s ok 5 /filter-output-stream/close 1430s # End of filter-output-stream tests 1430s # Running test: glib/proxy-test.test 1430s TAP version 14 1430s # random seed: R02Sb24e318e1372460d8342e5bca43fbb97 1430s 1..11 1430s # Start of proxy tests 1430s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1430s ok 1 /proxy/direct_sync 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4df20 and GSocketClientAsyncConnectData 0x6246ca4d440 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca4ea40 for GSocketClientAsyncConnectData 0x6246ca4d440 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1430s ok 2 /proxy/direct_async 1430s ok 3 /proxy/single_sync 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4e500 and GSocketClientAsyncConnectData 0x6246ca4d440 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca4fba0 for GSocketClientAsyncConnectData 0x6246ca4d440 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1430s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1430s ok 4 /proxy/single_async 1430s ok 5 /proxy/multiple_sync 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4e7f0 and GSocketClientAsyncConnectData 0x6246ca4e780 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca500e0 for GSocketClientAsyncConnectData 0x6246ca4e780 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca50080 for GSocketClientAsyncConnectData 0x6246ca4e780 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1430s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1430s ok 6 /proxy/multiple_async 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1430s ok 7 /proxy/invalid-uris-sync 1430s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4e3e0 and GSocketClientAsyncConnectData 0x6246ca50270 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1430s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4e500 and GSocketClientAsyncConnectData 0x6246ca4e780 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1430s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4e3e0 and GSocketClientAsyncConnectData 0x6246ca50270 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca4eaa0 for GSocketClientAsyncConnectData 0x6246ca50270 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4e500 and GSocketClientAsyncConnectData 0x6246ca50270 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca502e0 for GSocketClientAsyncConnectData 0x6246ca50270 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1430s ok 8 /proxy/invalid-uris-async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4df20 and GSocketClientAsyncConnectData 0x6246ca50270 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1430s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1430s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca50400 and GSocketClientAsyncConnectData 0x6246ca4e990 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca4fa00 for GSocketClientAsyncConnectData 0x6246ca4e990 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1430s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4e3e0 and GSocketClientAsyncConnectData 0x6246ca4e780 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca4eaa0 for GSocketClientAsyncConnectData 0x6246ca4e780 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1430s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1430s ok 9 /proxy/dns 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4df20 and GSocketClientAsyncConnectData 0x6246ca4e780 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca4eaa0 for GSocketClientAsyncConnectData 0x6246ca4e780 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1430s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4e3e0 and GSocketClientAsyncConnectData 0x6246ca4e5c0 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca4fa00 for GSocketClientAsyncConnectData 0x6246ca4e5c0 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1430s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1430s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1430s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x6246ca4df20 and GSocketClientAsyncConnectData 0x6246ca50270 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1430s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x6246ca500e0 for GSocketClientAsyncConnectData 0x6246ca50270 1430s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1430s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1430s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1430s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1430s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1430s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1430s ok 10 /proxy/override 1430s ok 11 /proxy/enumerator-ports 1430s # End of proxy tests 1430s TAP version 14 1430s # random seed: R02S57c6ac76c9aca04cc5483dca2f597f41 1430s 1..1 1430s # Start of network-monitor tests 1430s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1430s ok - glib/proxy-test.test 1430s # Running test: glib/network-monitor-race.test 1431s # Executing: glib/network-monitor-race.test 1432s ok 1 /network-monitor/create-in-thread 1432s # slow test /network-monitor/create-in-thread executed in 2.19 secs 1432s # End of network-monitor tests 1432s ok - glib/network-monitor-race.test 1432s # Running test: glib/unix.test 1432s TAP version 14 1432s # random seed: R02Sa451ab6a40e9cbbce69cf7ded0ee1a6b 1432s 1..20 1432s # Start of glib-unix tests 1432s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 1432s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 1432s ok 1 /glib-unix/closefrom 1432s ok 2 /glib-unix/pipe 1432s # /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 1432s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 1432s ok 3 /glib-unix/pipe-stdio-overwrite 1432s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 1432s ok 4 /glib-unix/pipe-struct 1432s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 1432s ok 5 /glib-unix/pipe-struct-auto 1432s ok 6 /glib-unix/error 1432s ok 7 /glib-unix/nonblocking 1432s ok 8 /glib-unix/sighup 1432s # slow test /glib-unix/sighup executed in 0.50 secs 1433s ok 9 /glib-unix/sigterm 1433s # slow test /glib-unix/sigterm executed in 0.50 secs 1433s ok 10 /glib-unix/sighup_again 1433s # slow test /glib-unix/sighup_again executed in 0.50 secs 1433s ok 11 /glib-unix/sighup_add_remove 1433s ok 12 /glib-unix/sighup_nested 1435s ok 13 /glib-unix/callback_after_signal 1435s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 1435s ok 14 /glib-unix/child-wait 1435s # Start of closefrom tests 1435s # Start of subprocess tests 1435s # End of subprocess tests 1435s # End of closefrom tests 1435s # Start of pipe tests 1435s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 1435s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 1435s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 1435s ok 15 /glib-unix/pipe/fd-cloexec 1435s # End of pipe tests 1435s # Start of sighup tests 1436s ok 16 /glib-unix/sighup/alternate-stack 1436s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 1436s # End of sighup tests 1436s # Start of sigterm tests 1436s # Executing: glib/unix.test 1437s ok 17 /glib-unix/sigterm/alternate-stack 1437s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 1437s # End of sigterm tests 1437s # Start of sighup_again tests 1438s ok - glib/unix.test 1438s ok 18 /glib-unix/sighup_again/alternate-stack 1438s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 1438s # End of sighup_again tests 1438s # Start of get-passwd-entry tests 1438s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 1438s ok 19 /glib-unix/get-passwd-entry/root 1438s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 1438s ok 20 /glib-unix/get-passwd-entry/nonexistent 1438s # End of get-passwd-entry tests 1438s # End of glib-unix tests 1438s # Running test: glib/gdbus-connection.test 1438s TAP version 14 1438s # random seed: R02Sc6b18127e2d405ed955d013fb6dd18c2 1438s 1..9 1438s # Start of gdbus tests 1438s # Start of connection tests 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/bus-failure/.dirs/runtime 1438s ok 1 /gdbus/connection/bus-failure 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/basic/.dirs/runtime 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s ok 2 /gdbus/connection/basic 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/life-cycle/.dirs/runtime 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s ok 3 /gdbus/connection/life-cycle 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/send/.dirs/runtime 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s ok 4 /gdbus/connection/send 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signals/.dirs/runtime 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s ok 5 /gdbus/connection/signals 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/signal-match-rules/.dirs/runtime 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s ok 6 /gdbus/connection/signal-match-rules 1438s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/home 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/cache 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/system-config2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/config 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/system-data2 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/data 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/state 1438s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/filter/.dirs/runtime 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1438s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s ok 7 /gdbus/connection/filter 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/serials/.dirs/runtime 1439s ok - glib/gdbus-connection.test 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s ok 8 /gdbus/connection/serials 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_I6GNK3/gdbus/connection/cancel/.dirs/runtime 1439s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1439s ok 9 /gdbus/connection/cancel 1439s # End of connection tests 1439s # End of gdbus tests 1439s TAP version 14 1439s # Running test: glib/utf8-validate.test 1439s # random seed: R02Sbebab04601da5ea6933e891381107259 1439s 1..238 1439s # Start of utf8 tests 1439s # Vector 0 1439s # Vector 1 1439s # Vector 2 1439s # Vector 3 1439s # Vector 4 1439s # Vector 5 1439s # Vector 6 1439s # Vector 7 1439s # Vector 8 1439s # Vector 9 1439s # Vector 10 1439s # Vector 11 1439s # Vector 12 1439s # Vector 13 1439s # Vector 14 1439s # Vector 15 1439s # Vector 16 1439s # Vector 17 1439s # Vector 18 1439s # Vector 19 1439s # Vector 20 1439s # Vector 21 1439s # Vector 22 1439s # Vector 23 1439s # Vector 24 1439s # Vector 25 1439s # Vector 26 1439s # Vector 27 1439s ok 1 /utf8/get-char-validated 1439s # Start of validate tests 1439s ok 2 /utf8/validate/0 1439s ok 3 /utf8/validate/1 1439s ok 4 /utf8/validate/2 1439s ok 5 /utf8/validate/3 1439s ok 6 /utf8/validate/4 1439s ok 7 /utf8/validate/5 1439s ok 8 /utf8/validate/6 1439s ok 9 /utf8/validate/7 1439s ok 10 /utf8/validate/8 1439s ok 11 /utf8/validate/9 1439s ok 12 /utf8/validate/10 1439s ok 13 /utf8/validate/11 1439s ok 14 /utf8/validate/12 1439s ok 15 /utf8/validate/13 1439s ok 16 /utf8/validate/14 1439s ok 17 /utf8/validate/15 1439s ok 18 /utf8/validate/16 1439s ok 19 /utf8/validate/17 1439s ok 20 /utf8/validate/18 1439s ok 21 /utf8/validate/19 1439s ok 22 /utf8/validate/20 1439s ok 23 /utf8/validate/21 1439s ok 24 /utf8/validate/22 1439s ok 25 /utf8/validate/23 1439s ok 26 /utf8/validate/24 1439s ok 27 /utf8/validate/25 1439s ok 28 /utf8/validate/26 1439s ok 29 /utf8/validate/27 1439s ok 30 /utf8/validate/28 1439s ok 31 /utf8/validate/29 1439s ok 32 /utf8/validate/30 1439s ok 33 /utf8/validate/31 1439s ok 34 /utf8/validate/32 1439s ok 35 /utf8/validate/33 1439s ok 36 /utf8/validate/34 1439s ok 37 /utf8/validate/35 1439s ok 38 /utf8/validate/36 1439s ok 39 /utf8/validate/37 1439s ok 40 /utf8/validate/38 1439s ok 41 /utf8/validate/39 1439s ok 42 /utf8/validate/40 1439s ok 43 /utf8/validate/41 1439s ok 44 /utf8/validate/42 1439s ok 45 /utf8/validate/43 1439s ok 46 /utf8/validate/44 1439s ok 47 /utf8/validate/45 1439s ok 48 /utf8/validate/46 1439s ok 49 /utf8/validate/47 1439s ok 50 /utf8/validate/48 1439s ok 51 /utf8/validate/49 1439s ok 52 /utf8/validate/50 1439s ok 53 /utf8/validate/51 1439s ok 54 /utf8/validate/52 1439s ok 55 /utf8/validate/53 1439s ok 56 /utf8/validate/54 1439s ok 57 /utf8/validate/55 1439s ok 58 /utf8/validate/56 1439s ok 59 /utf8/validate/57 1439s ok 60 /utf8/validate/58 1439s ok 61 /utf8/validate/59 1439s ok 62 /utf8/validate/60 1439s ok 63 /utf8/validate/61 1439s ok 64 /utf8/validate/62 1439s ok 65 /utf8/validate/63 1439s ok 66 /utf8/validate/64 1439s ok 67 /utf8/validate/65 1439s ok 68 /utf8/validate/66 1439s ok 69 /utf8/validate/67 1439s ok 70 /utf8/validate/68 1439s ok 71 /utf8/validate/69 1439s ok 72 /utf8/validate/70 1439s ok 73 /utf8/validate/71 1439s ok 74 /utf8/validate/72 1439s ok 75 /utf8/validate/73 1439s ok 76 /utf8/validate/74 1439s ok 77 /utf8/validate/75 1439s ok 78 /utf8/validate/76 1439s ok 79 /utf8/validate/77 1439s ok 80 /utf8/validate/78 1439s ok 81 /utf8/validate/79 1439s ok 82 /utf8/validate/80 1439s ok 83 /utf8/validate/81 1439s ok 84 /utf8/validate/82 1439s ok 85 /utf8/validate/83 1439s ok 86 /utf8/validate/84 1439s ok 87 /utf8/validate/85 1439s ok 88 /utf8/validate/86 1439s ok 89 /utf8/validate/87 1439s ok 90 /utf8/validate/88 1439s ok 91 /utf8/validate/89 1439s ok 92 /utf8/validate/90 1439s ok 93 /utf8/validate/91 1439s ok 94 /utf8/validate/92 1439s ok 95 /utf8/validate/93 1439s ok 96 /utf8/validate/94 1439s ok 97 /utf8/validate/95 1439s ok 98 /utf8/validate/96 1439s ok 99 /utf8/validate/97 1439s ok 100 /utf8/validate/98 1439s ok 101 /utf8/validate/99 1439s ok 102 /utf8/validate/100 1439s ok 103 /utf8/validate/101 1439s ok 104 /utf8/validate/102 1439s ok 105 /utf8/validate/103 1439s ok 106 /utf8/validate/104 1439s ok 107 /utf8/validate/105 1439s ok 108 /utf8/validate/106 1439s ok 109 /utf8/validate/107 1439s ok 110 /utf8/validate/108 1439s ok 111 /utf8/validate/109 1439s ok 112 /utf8/validate/110 1439s ok 113 /utf8/validate/111 1439s ok 114 /utf8/validate/112 1439s ok 115 /utf8/validate/113 1439s ok 116 /utf8/validate/114 1439s ok 117 /utf8/validate/115 1439s ok 118 /utf8/validate/116 1439s ok 119 /utf8/validate/117 1439s ok 120 /utf8/validate/118 1439s ok 121 /utf8/validate/119 1439s ok 122 /utf8/validate/120 1439s ok 123 /utf8/validate/121 1439s ok 124 /utf8/validate/122 1439s ok 125 /utf8/validate/123 1439s ok 126 /utf8/validate/124 1439s ok 127 /utf8/validate/125 1439s ok 128 /utf8/validate/126 1439s ok 129 /utf8/validate/127 1439s ok 130 /utf8/validate/128 1439s ok 131 /utf8/validate/129 1439s ok 132 /utf8/validate/130 1439s ok 133 /utf8/validate/131 1439s ok 134 /utf8/validate/132 1439s ok 135 /utf8/validate/133 1439s ok 136 /utf8/validate/134 1439s ok 137 /utf8/validate/135 1439s ok 138 /utf8/validate/136 1439s ok 139 /utf8/validate/137 1439s ok 140 /utf8/validate/138 1439s ok 141 /utf8/validate/139 1439s ok 142 /utf8/validate/140 1439s ok 143 /utf8/validate/141 1439s ok 144 /utf8/validate/142 1439s ok 145 /utf8/validate/143 1439s ok 146 /utf8/validate/144 1439s ok 147 /utf8/validate/145 1439s ok 148 /utf8/validate/146 1439s ok 149 /utf8/validate/147 1439s ok 150 /utf8/validate/148 1439s ok 151 /utf8/validate/149 1439s ok 152 /utf8/validate/150 1439s ok 153 /utf8/validate/151 1439s ok 154 /utf8/validate/152 1439s ok 155 /utf8/validate/153 1439s ok 156 /utf8/validate/154 1439s ok 157 /utf8/validate/155 1439s ok 158 /utf8/validate/156 1439s ok 159 /utf8/validate/157 1439s ok 160 /utf8/validate/158 1439s ok 161 /utf8/validate/159 1439s ok 162 /utf8/validate/160 1439s ok 163 /utf8/validate/161 1439s ok 164 /utf8/validate/162 1439s ok 165 /utf8/validate/163 1439s ok 166 /utf8/validate/164 1439s ok 167 /utf8/validate/165 1439s ok 168 /utf8/validate/166 1439s ok 169 /utf8/validate/167 1439s ok 170 /utf8/validate/168 1439s ok 171 /utf8/validate/169 1439s ok 172 /utf8/validate/170 1439s ok 173 /utf8/validate/171 1439s ok 174 /utf8/validate/172 1439s ok 175 /utf8/validate/173 1439s ok 176 /utf8/validate/174 1439s ok 177 /utf8/validate/175 1439s ok 178 /utf8/validate/176 1439s ok 179 /utf8/validate/177 1439s ok 180 /utf8/validate/178 1439s ok 181 /utf8/validate/179 1439s ok 182 /utf8/validate/180 1439s ok 183 /utf8/validate/181 1439s ok 184 /utf8/validate/182 1439s ok 185 /utf8/validate/183 1439s ok 186 /utf8/validate/184 1439s ok 187 /utf8/validate/185 1439s ok 188 /utf8/validate/186 1439s ok 189 /utf8/validate/187 1439s ok 190 /utf8/validate/188 1439s ok 191 /utf8/validate/189 1439s ok 192 /utf8/validate/190 1439s ok 193 /utf8/validate/191 1439s ok 194 /utf8/validate/192 1439s ok 195 /utf8/validate/193 1439s ok 196 /utf8/validate/194 1439s ok 197 /utf8/validate/195 1439s ok 198 /utf8/validate/196 1439s ok 199 /utf8/validate/197 1439s ok 200 /utf8/validate/198 1439s ok 201 /utf8/validate/199 1439s ok 202 /utf8/validate/200 1439s ok 203 /utf8/validate/201 1439s ok 204 /utf8/validate/202 1439s ok 205 /utf8/validate/203 1439s ok 206 /utf8/validate/204 1439s ok 207 /utf8/validate/205 1439s ok 208 /utf8/validate/206 1439s ok 209 /utf8/validate/207 1439s ok 210 /utf8/validate/208 1439s ok 211 /utf8/validate/209 1439s ok 212 /utf8/validate/210 1439s ok 213 /utf8/validate/211 1439s ok 214 /utf8/validate/212 1439s ok 215 /utf8/validate/213 1439s ok 216 /utf8/validate/214 1439s ok 217 /utf8/validate/215 1439s ok 218 /utf8/validate/216 1439s ok 219 /utf8/validate/217 1439s ok 220 /utf8/validate/218 1439s ok 221 /utf8/validate/219 1439s ok 222 /utf8/validate/220 1439s ok 223 /utf8/validate/221 1439s ok 224 /utf8/validate/222 1439s ok 225 /utf8/validate/223 1439s ok 226 /utf8/validate/224 1439s ok 227 /utf8/validate/225 1439s ok 228 /utf8/validate/226 1439s ok 229 /utf8/validate/227 1439s ok 230 /utf8/validate/228 1439s ok 231 /utf8/validate/229 1439s ok 232 /utf8/validate/230 1439s ok 233 /utf8/validate/231 1439s ok 234 /utf8/validate/232 1439s ok 235 /utf8/validate/233 1439s ok 236 /utf8/validate/234 1439s ok 237 /utf8/validate/235 1439s ok 238 /utf8/validate/236 1439s # End of validate tests 1439s # End of utf8 tests 1439s TAP version 14 1439s # random seed: R02Scf9b32aa9fe6a42cb035dbace38249e1 1439s 1..8 1439s # Start of monitor tests 1439s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1439s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1439s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1439s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1439s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1439s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1439s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1439s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1439s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1439s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1439s # Start of file tests 1439s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1439s # End of file tests 1439s # End of monitor tests 1439s ok - glib/utf8-validate.test 1439s # Running test: glib/testfilemonitor.test 1439s ok - glib/testfilemonitor.test 1439s # Running test: glib/unicode-normalize.test 1439s TAP version 14 1439s # random seed: R02Sfcecae1b18a63e29aa483e5e25668523 1439s 1..3 1439s # Start of unicode tests 1439s # Processing Part0 # Specific cases 1439s # Processing Part1 # Character by character test 1439s # Processing Part2 # Canonical Order Test 1439s # Processing Part3 # PRI #29 Test 1439s # Processing Part4 # Canonical closures (excluding Hangul) 1439s # Processing Part5 # Chained primary composites 1439s ok 1 /unicode/normalize 1439s # Invalid UTF-8 vector 0 1439s # Invalid UTF-8 vector 1 1439s # Invalid UTF-8 vector 2 1439s # Invalid UTF-8 vector 3 1439s ok - glib/unicode-normalize.test 1439s # Invalid UTF-8 vector 4 1439s # Invalid UTF-8 vector 5 1439s # Invalid UTF-8 vector 6 1439s # Invalid UTF-8 vector 7 1439s # Invalid UTF-8 vector 8 1439s # Invalid UTF-8 vector 9 1439s # Invalid UTF-8 vector 10 1439s # Invalid UTF-8 vector 11 1439s # Invalid UTF-8 vector 12 1439s ok 2 /unicode/normalize-invalid 1439s # Start of normalize tests 1439s ok 3 /unicode/normalize/bad-length 1439s # End of normalize tests 1439s # End of unicode tests 1439s # Running test: glib/vfs.test 1439s TAP version 14 1439s # random seed: R02Sdc8d0002e5c7e79d5d0d1c3aae669b8a 1439s 1..3 1439s # Start of gvfs tests 1439s ok - glib/vfs.test 1439s ok 1 /gvfs/local 1439s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1439s ok 2 /gvfs/register-scheme 1439s # Start of resource tests 1439s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1439s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1439s ok 3 /gvfs/resource/malformed-escaping 1439s # End of resource tests 1439s # End of gvfs tests 1439s # Running test: glib/object.test 1439s ok - glib/object.test 1439s TAP version 14 1439s # random seed: R02Seeff96d936c450feb93f1cca4b59da32 1439s 1..2 1439s # Start of object tests 1439s # Start of constructor tests 1439s ok 1 /object/constructor/singleton 1439s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 1439s # End of constructor tests 1439s # End of object tests 1439s # Running test: glib/shell.test 1439s TAP version 14 1439s # random seed: R02S63004b4a73cfdc100aa06bf79b9ca059 1439s 1..52 1439s # Start of shell tests 1439s # Start of cmdline tests 1439s test cmdline: foo bar 1439s ok 1 /shell/cmdline/0 1439s test cmdline: foo 'bar' 1439s ok 2 /shell/cmdline/1 1439s test cmdline: foo "bar" 1439s ok 3 /shell/cmdline/2 1439s test cmdline: foo '' 'bar' 1439s ok 4 /shell/cmdline/3 1439s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1439s ok 5 /shell/cmdline/4 1439s test cmdline: foo blah foo bar baz 1439s ok 6 /shell/cmdline/5 1439s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1439s ok 7 /shell/cmdline/6 1439s test cmdline: foo \ 1439s bar 1439s ok 8 /shell/cmdline/7 1439s test cmdline: foo '' '' 1439s ok 9 /shell/cmdline/8 1439s test cmdline: foo \" la la la 1439s ok 10 /shell/cmdline/9 1439s test cmdline: foo \ foo woo woo\ 1439s ok 11 /shell/cmdline/10 1439s test cmdline: foo "yada yada \$\"" 1439s ok 12 /shell/cmdline/11 1439s test cmdline: foo "c:\\" 1439s ok 13 /shell/cmdline/12 1439s test cmdline: foo # bla bla bla 1439s bar 1439s ok 14 /shell/cmdline/13 1439s test cmdline: foo a#b 1439s ok 15 /shell/cmdline/14 1439s test cmdline: #foo 1439s ok 16 /shell/cmdline/15 1439s test cmdline: foo bar \ 1439s ok 17 /shell/cmdline/16 1439s test cmdline: foo 'bar baz 1439s ok 18 /shell/cmdline/17 1439s test cmdline: foo '"bar" baz 1439s ok 19 /shell/cmdline/18 1439s test cmdline: 1439s ok 20 /shell/cmdline/19 1439s test cmdline: 1439s ok 21 /shell/cmdline/20 1439s test cmdline: # foo bar 1439s ok 22 /shell/cmdline/21 1439s test cmdline: # 1439s ok 23 /shell/cmdline/22 1439s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1439s ok 24 /shell/cmdline/23 1439s # End of cmdline tests 1439s # Start of quote tests 1439s ok 25 /shell/quote/0 1439s ok 26 /shell/quote/1 1439s ok 27 /shell/quote/2 1439s ok 28 /shell/quote/3 1439s ok 29 /shell/quote/4 1439s ok 30 /shell/quote/5 1439s ok 31 /shell/quote/6 1439s # End of quote tests 1439s # Start of unquote tests 1439s ok 32 /shell/unquote/0 1439s ok 33 /shell/unquote/1 1439s ok 34 /shell/unquote/2 1439s ok 35 /shell/unquote/3 1439s ok 36 /shell/unquote/4 1439s ok 37 /shell/unquote/5 1439s ok 38 /shell/unquote/6 1439s ok 39 /shell/unquote/7 1439s ok 40 /shell/unquote/8 1439s ok 41 /shell/unquote/9 1439s ok 42 /shell/unquote/10 1439s ok 43 /shell/unquote/11 1439s ok 44 /shell/unquote/12 1439s ok 45 /shell/unquote/13 1439s ok 46 /shell/unquote/14 1439s ok 47 /shell/unquote/15 1439s ok 48 /shell/unquote/16 1439s ok 49 /shell/unquote/17 1439s ok 50 /shell/unquote/18 1439s ok 51 /shell/unquote/19 1439s ok 52 /shell/unquote/20 1439s # End of unquote tests 1439s # End of shell tests 1439s TAP version 14 1439s # random seed: R02S9b6f20ee63c200797ea62e82bdb5ea83 1439s 1..2 1439s # Start of cmph-bdz tests 1439s ok 1 /cmph-bdz/search 1439s ok 2 /cmph-bdz/search-packed 1439s # End of cmph-bdz tests 1439s TAP version 14 1439s # random seed: R02Sf4e6e820600a1c7bf3d4c53745a0ac8a 1439s 1..1 1439s # Start of gobject tests 1439s ok 1 /gobject/accumulator 1439s # End of gobject tests 1439s TAP version 14 1439s ok - glib/shell.test 1439s # Running test: glib/cmph-bdz.test 1439s ok - glib/cmph-bdz.test 1439s # Running test: glib/accumulator.test 1439s ok - glib/accumulator.test 1439s # Running test: glib/uri.test 1439s ok - glib/uri.test 1439s # Running test: glib/gdbus-peer.test 1439s # random seed: R02S2e278fac61f130f6ae7dead4536e3de7 1439s 1..24 1439s # Start of uri tests 1439s ok 1 /uri/file-to-uri 1439s ok 2 /uri/file-from-uri 1439s ok 3 /uri/file-roundtrip 1439s ok 4 /uri/list 1439s # Test 0: %2Babc %4F 1439s # Test 1: %2Babc %4F 1439s # Test 2: %00abc %4F 1439s # Test 3: /cursors/none.png 1439s # Test 4: /cursors%2fbad-subdir/none.png 1439s # Test 5: %0 1439s # Test 6: %ra 1439s # Test 7: %2r 1439s # Test 8: Timm Bäder 1439s # Test 9: (null) 1439s ok 5 /uri/unescape-string 1439s ok 6 /uri/unescape-segment 1439s # Test 0: abcdefgABCDEFG._~ 1439s # Test 1: :+ \\?# 1439s # Test 2: a+b:c 1439s # Test 3: a+b:c\303\234 1439s # Test 4: \374;\322 1439s # Test 5: \303\261\303( 1439s ok 7 /uri/escape-string 1439s ok 8 /uri/escape-bytes 1439s ok 9 /uri/scheme 1439s ok 10 /uri/build 1439s ok 11 /uri/split 1439s ok 12 /uri/is_valid 1439s ok 13 /uri/to-string 1439s ok 14 /uri/join 1439s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1439s # Combination 0 1439s # Combination 1 1439s # Combination 2 1439s # Combination 3 1439s # Combination 4 1439s # Combination 5 1439s # Combination 6 1439s # Combination 7 1439s # Combination 8 1439s # Combination 9 1439s # Combination 10 1439s # Combination 11 1439s # Combination 12 1439s # Combination 13 1439s # Combination 14 1439s # Combination 15 1439s # Combination 16 1439s # Combination 17 1439s # Combination 18 1439s # Combination 19 1439s # Combination 20 1439s # Combination 21 1439s # Combination 22 1439s # Combination 23 1439s # Combination 24 1439s # Combination 25 1439s # Combination 26 1439s # Combination 27 1439s # Combination 28 1439s # Combination 29 1439s # Combination 30 1439s # Combination 31 1439s # Combination 32 1439s # Combination 33 1439s # Combination 34 1439s # Combination 35 1439s # Combination 36 1439s # Combination 37 1439s # Combination 38 1439s # Combination 39 1439s # Combination 40 1439s # Combination 41 1439s # Combination 42 1439s # Combination 43 1439s # Combination 44 1439s # Combination 45 1439s # Combination 46 1439s # Combination 47 1439s # Combination 48 1439s # Combination 49 1439s # Combination 50 1439s # Combination 51 1439s # Combination 52 1439s # Combination 53 1439s # Combination 54 1439s # Combination 55 1439s # Combination 56 1439s # Combination 57 1439s # Combination 58 1439s # Combination 59 1439s # Combination 60 1439s # Combination 61 1439s # Combination 62 1439s # Combination 63 1439s # Combination 64 1439s # Combination 65 1439s # Combination 66 1439s # Combination 67 1439s # Combination 68 1439s # Combination 69 1439s # Combination 70 1439s # Combination 71 1439s # Combination 72 1439s # Combination 73 1439s # Combination 74 1439s # Combination 75 1439s # Combination 76 1439s # Combination 77 1439s # Combination 78 1439s # Combination 79 1439s # Combination 80 1439s # Combination 81 1439s # Combination 82 1439s # Combination 83 1439s # Combination 84 1439s # Combination 85 1439s # Combination 86 1439s # Combination 87 1439s # Combination 88 1439s # Combination 89 1439s # Combination 90 1439s # Combination 91 1439s # Combination 92 1439s # Combination 93 1439s # Combination 94 1439s # Combination 95 1439s # Combination 96 1439s # Combination 97 1439s # Combination 98 1439s # Combination 99 1439s # Combination 100 1439s # Combination 101 1439s # Combination 102 1439s # Combination 103 1439s # Combination 104 1439s # Combination 105 1439s # Combination 106 1439s # Combination 107 1439s # Combination 108 1439s # Combination 109 1439s # Combination 110 1439s # Combination 111 1439s # Combination 112 1439s # Combination 113 1439s # Combination 114 1439s # Combination 115 1439s # Combination 116 1439s # Combination 117 1439s # Combination 118 1439s # Combination 119 1439s # Combination 120 1439s # Combination 121 1439s # Combination 122 1439s # Combination 123 1439s # Combination 124 1439s # Combination 125 1439s # Combination 126 1439s # Combination 127 1439s # Combination 128 1439s # Combination 129 1439s # Combination 130 1439s # Combination 131 1439s # Combination 132 1439s # Combination 133 1439s # Combination 134 1439s # Combination 135 1439s # Combination 136 1439s # Combination 137 1439s # Combination 138 1439s # Combination 139 1439s # Combination 140 1439s # Combination 141 1439s # Combination 142 1439s # Combination 143 1439s # Combination 144 1439s # Combination 145 1439s # Combination 146 1439s # Combination 147 1439s # Combination 148 1439s # Combination 149 1439s # Combination 150 1439s # Combination 151 1439s # Combination 152 1439s # Combination 153 1439s # Combination 154 1439s # Combination 155 1439s # Combination 156 1439s # Combination 157 1439s # Combination 158 1439s # Combination 159 1439s # Combination 160 1439s # Combination 161 1439s # Combination 162 1439s # Combination 163 1439s # Combination 164 1439s # Combination 165 1439s # Combination 166 1439s # Combination 167 1439s # Combination 168 1439s # Combination 169 1439s # Combination 170 1439s # Combination 171 1439s # Combination 172 1439s # Combination 173 1439s # Combination 174 1439s # Combination 175 1439s # Combination 176 1439s # Combination 177 1439s # Combination 178 1439s # Combination 179 1439s # Combination 180 1439s # Combination 181 1439s # Combination 182 1439s # Combination 183 1439s # Combination 184 1439s # Combination 185 1439s # Combination 186 1439s # Combination 187 1439s # Combination 188 1439s # Combination 189 1439s # Combination 190 1439s # Combination 191 1439s # Combination 192 1439s # Combination 193 1439s # Combination 194 1439s # Combination 195 1439s # Combination 196 1439s # Combination 197 1439s # Combination 198 1439s # Combination 199 1439s # Combination 200 1439s # Combination 201 1439s # Combination 202 1439s # Combination 203 1439s # Combination 204 1439s # Combination 205 1439s # Combination 206 1439s # Combination 207 1439s # Combination 208 1439s # Combination 209 1439s # Combination 210 1439s # Combination 211 1439s # Combination 212 1439s # Combination 213 1439s # Combination 214 1439s # Combination 215 1439s # Combination 216 1439s # Combination 217 1439s # Combination 218 1439s # Combination 219 1439s # Combination 220 1439s # Combination 221 1439s # Combination 222 1439s # Combination 223 1439s # Combination 224 1439s # Combination 225 1439s # Combination 226 1439s # Combination 227 1439s # Combination 228 1439s # Combination 229 1439s # Combination 230 1439s # Combination 231 1439s # Combination 232 1439s # Combination 233 1439s # Combination 234 1439s # Combination 235 1439s # Combination 236 1439s # Combination 237 1439s # Combination 238 1439s # Combination 239 1439s # Combination 240 1439s # Combination 241 1439s # Combination 242 1439s # Combination 243 1439s # Combination 244 1439s # Combination 245 1439s # Combination 246 1439s # Combination 247 1439s # Combination 248 1439s # Combination 249 1439s # Combination 250 1439s # Combination 251 1439s # Combination 252 1439s # Combination 253 1439s # Combination 254 1439s # Combination 255 1439s ok 15 /uri/join-split-round-trip 1439s ok 16 /uri/normalize 1439s # Start of unescape-bytes tests 1439s # Test 0: %00%00 1439s # Test 1: /cursors/none.png 1439s # Test 2: /cursors%2fbad-subdir/none.png 1439s # Test 3: %% 1439s # Test 4: % 1439s ok 17 /uri/unescape-bytes/nul-terminated 1439s # Test 0: %00%00 1439s # Test 1: /cursors/none.png 1439s # Test 2: /cursors%2fbad-subdir/none.png 1439s # Test 3: %% 1439s # Test 4: % 1439s ok 18 /uri/unescape-bytes/length 1439s # End of unescape-bytes tests 1439s # Start of parsing tests 1439s # Test 0: foo: 1439s # Test 1: file:/dev/null 1439s # Test 2: file:///dev/null 1439s # Test 3: ftp://user@host/path 1439s # Test 4: ftp://user@host:9999/path 1439s # Test 5: ftp://user:password@host/path 1439s # Test 6: ftp://user:password@host:9999/path 1439s # Test 7: ftp://user:password@host 1439s # Test 8: http://us%65r@host 1439s # Test 9: http://us%40r@host 1439s # Test 10: http://us%3ar@host 1439s # Test 11: http://us%2fr@host 1439s # Test 12: http://us%3fr@host 1439s # Test 13: http://host?query 1439s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1439s # 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 1439s # Test 16: http://space/%20 1439s # Test 17: http://delims/%3C%3E%23%25%22 1439s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1439s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1439s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1439s # Test 21: http://[3ffe:2a00:100:7031::1] 1439s # Test 22: http://[1080::8:800:200C:417A]/foo 1439s # Test 23: http://[::192.9.5.5]/ipng 1439s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1439s # Test 25: http://[2010:836B:4179::836B:4179] 1439s # Test 26: http://host/path with spaces 1439s # Test 27: http://host/path 1439s # Test 28: http://host/path 1439s # Test 29: http://host 1439s # Test 30: http://host:999 1439s # Test 31: http://host/pa 1439s # th 1439s # Test 32: http: 1439s # //host/path 1439s # Test 33: http:// host/path 1439s # Test 34: http://host/path? 1439s # Test 35: http://host/path# 1439s # Test 36: http://host/path% 1439s # Test 37: http://h%ost/path 1439s # Test 38: http://host/path%% 1439s # Test 39: http://host/path%%% 1439s # Test 40: http://host/path%/x/ 1439s # Test 41: http://host/path%0x/ 1439s # Test 42: http://host/path%ax 1439s # Test 43: http://host/päth/ 1439s # Test 44: HTTP://////////////// 1439s # Test 45: http://@host 1439s # Test 46: http://:@host 1439s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1439s # Test 48: http://example.com/.. 1439s # Test 49: foo0://host/path 1439s # Test 50: f0.o://host/path 1439s # Test 51: http++://host/path 1439s # Test 52: http-ish://host/path 1439s # Test 53: http://[fe80::dead:beef%]/ 1439s # Test 54: http://[fe80::dead:beef%em1]/ 1439s # Test 55: http://[fe80::dead:beef%em1]/ 1439s # Test 56: http://[fe80::dead:beef%25em1]/ 1439s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1439s # Test 58: http://[fe80::dead:beef%25em%31]/ 1439s # Test 59: http://[fe80::dead:beef%10]/ 1439s # Test 60: http://[fe80::dead:beef%10]/ 1439s # Test 61: http://[fe80::dead:beef%25]/ 1439s # Test 62: http://[fe80::dead:beef%25]/ 1439s # Test 63: http://[192.168.0.1%25em1]/ 1439s # Test 64: http://[fe80::dead:beef%2em1]/ 1439s # Test 65: http://[fe80::dead:beef%2em1]/ 1439s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1439s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1439s # Test 68: http://xn--mixed-üp/ 1439s # Test 69: data:./// 1439s # Test 70: data:/.// 1439s ok 19 /uri/parsing/absolute 1439s ok 20 /uri/parsing/relative 1439s # End of parsing tests 1439s # Start of iter-params tests 1439s # URI 0: p1=foo&p2=bar;p3=baz 1439s # URI 1: p1=foo&p2=bar 1439s # URI 2: p1=foo&&P1=bar 1439s # URI 3: %00=foo 1439s # URI 4: p1=%00 1439s # URI 5: p1=foo&p1=bar 1439s # URI 6: p1=foo&P1=bar 1439s # URI 7: =% 1439s # URI 8: = 1439s # URI 9: foo 1439s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1439s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1439s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1439s ok 21 /uri/iter-params/nul-terminated 1439s # URI 0: p1=foo&p2=bar;p3=baz 1439s # URI 1: p1=foo&p2=bar 1439s # URI 2: p1=foo&&P1=bar 1439s # URI 3: %00=foo 1439s # URI 4: p1=%00 1439s # URI 5: p1=foo&p1=bar 1439s # URI 6: p1=foo&P1=bar 1439s # URI 7: =% 1439s # URI 8: = 1439s # URI 9: foo 1439s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1439s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1439s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1439s ok 22 /uri/iter-params/length 1439s # End of iter-params tests 1439s # Start of parse-params tests 1439s # URI 0: p1=foo&p2=bar;p3=baz 1439s # URI 1: p1=foo&p2=bar 1439s # URI 2: p1=foo&&P1=bar 1439s # URI 3: %00=foo 1439s # URI 4: p1=%00 1439s # URI 5: p1=foo&p1=bar 1439s # URI 6: p1=foo&P1=bar 1439s # URI 7: =% 1439s # URI 8: = 1439s # URI 9: foo 1439s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1439s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1439s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1439s ok 23 /uri/parse-params/nul-terminated 1439s # URI 0: p1=foo&p2=bar;p3=baz 1439s # URI 1: p1=foo&p2=bar 1439s # URI 2: p1=foo&&P1=bar 1439s # URI 3: %00=foo 1439s # URI 4: p1=%00 1439s # URI 5: p1=foo&p1=bar 1439s # URI 6: p1=foo&P1=bar 1439s # URI 7: =% 1439s # URI 8: = 1439s # URI 9: foo 1439s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1439s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1439s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1439s ok 24 /uri/parse-params/length 1439s # End of parse-params tests 1439s # End of uri tests 1439s TAP version 14 1439s # random seed: R02S1715a47a4f20c699914b923a03a339b5 1439s 1..12 1439s # Start of gdbus tests 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/.dirs/runtime 1439s # Testing with unix:dir address 1439s # Testing with unix:tmpdir address 1439s # Testing with unix:path address 1439s ok 1 /gdbus/peer-to-peer 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/delayed-message-processing/.dirs/runtime 1439s # Testing with unix:dir address 1439s ok 2 /gdbus/delayed-message-processing 1439s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/nonce-tcp/.dirs/runtime 1439s ok 3 /gdbus/nonce-tcp 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/tcp-anonymous/.dirs/runtime 1439s ok 4 /gdbus/tcp-anonymous 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/credentials/.dirs/runtime 1439s ok 5 /gdbus/credentials 1439s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/home 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/cache 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/system-config2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/config 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/system-data2 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/data 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/state 1439s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/codegen-peer-to-peer/.dirs/runtime 1439s # Testing with unix:dir address 1439s # Machine ID: 1729867ac2524f3c990ff96e821fdbc7 1440s ok 6 /gdbus/codegen-peer-to-peer 1440s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1440s # Start of peer-to-peer tests 1440s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/home 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/cache 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/system-config2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/config 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/system-data2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/data 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/state 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/signals/.dirs/runtime 1440s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1440s # Testing with unix:dir address 1440s ok 7 /gdbus/peer-to-peer/signals 1440s # Start of invalid tests 1440s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/home 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/cache 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/config 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/data 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/state 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1440s ok 8 /gdbus/peer-to-peer/invalid/server 1440s # Start of conn tests 1440s # Start of stream tests 1440s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1440s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1440s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1440s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1440s # End of stream tests 1440s # Start of addr tests 1440s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1440s ok - glib/gdbus-peer.test 1440s # Running test: glib/markup-collect.test 1440s ok - glib/markup-collect.test 1440s # Running test: glib/power-profile-monitor.test 1440s ok - glib/power-profile-monitor.test 1440s # Running test: glib/memory-monitor.test 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1440s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1440s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_RUPIK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1440s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1440s # End of addr tests 1440s # End of conn tests 1440s # End of invalid tests 1440s # End of peer-to-peer tests 1440s # End of gdbus tests 1440s TAP version 14 1440s # random seed: R02S42beea1e199dfbc257c4c95800b370a1 1440s 1..21 1440s # Start of markup tests 1440s # Start of collect tests 1440s ok 1 /markup/collect/0 1440s ok 2 /markup/collect/1 1440s ok 3 /markup/collect/2 1440s ok 4 /markup/collect/3 1440s ok 5 /markup/collect/4 1440s ok 6 /markup/collect/5 1440s ok 7 /markup/collect/6 1440s ok 8 /markup/collect/7 1440s ok 9 /markup/collect/8 1440s ok 10 /markup/collect/9 1440s ok 11 /markup/collect/10 1440s ok 12 /markup/collect/11 1440s ok 13 /markup/collect/12 1440s ok 14 /markup/collect/13 1440s ok 15 /markup/collect/14 1440s ok 16 /markup/collect/15 1440s ok 17 /markup/collect/16 1440s ok 18 /markup/collect/17 1440s ok 19 /markup/collect/18 1440s ok 20 /markup/collect/19 1440s ok 21 /markup/collect/cleanup 1440s # End of collect tests 1440s # End of markup tests 1440s TAP version 14 1440s # random seed: R02Sbb43ac30967674dcfcbed2aef32a8cc2 1440s 1..1 1440s # Start of power-profile-monitor tests 1440s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1440s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1440s ok 1 /power-profile-monitor/default 1440s # End of power-profile-monitor tests 1440s TAP version 14 1440s # random seed: R02S60add10d864b9245d0ad7a6a330ffbba 1440s 1..1 1440s # Start of memory-monitor tests 1440s ok - glib/memory-monitor.test 1440s # Running test: glib/gdbus-proxy-unique-name.test 1440s ok - glib/gdbus-proxy-unique-name.test 1440s # Running test: glib/inet-address.test 1440s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1440s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1440s ok 1 /memory-monitor/default 1440s # End of memory-monitor tests 1440s TAP version 14 1440s # random seed: R02Sdd14f85c07f78651a215f7d52145b773 1440s 1..1 1440s # Start of gdbus tests 1440s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/home 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/cache 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/system-config2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/config 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/system-data2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/data 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/state 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_RLVNK3/gdbus/proxy-unique-name/.dirs/runtime 1440s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1440s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1440s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1440s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1440s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1440s ok 1 /gdbus/proxy-unique-name 1440s # End of gdbus tests 1440s TAP version 14 1440s # random seed: R02S5cc189c0675f73662b972fe99a7bba72 1440s 1..11 1440s # Start of inet-address tests 1440s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 1440s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 1440s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 1440s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 1440s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 1440s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 1440s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 1440s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 1440s ok 1 /inet-address/parse 1440s ok 2 /inet-address/any 1440s ok 3 /inet-address/loopback 1440s ok 4 /inet-address/bytes 1440s ok 5 /inet-address/property 1440s # End of inet-address tests 1440s # Start of socket-address tests 1440s ok 6 /socket-address/basic 1440s ok 7 /socket-address/to-string 1440s # End of socket-address tests 1440s # Start of address-mask tests 1440s ok 8 /address-mask/parse 1440s ok 9 /address-mask/property 1440s ok 10 /address-mask/equal 1440s ok 11 /address-mask/match 1440s # End of address-mask tests 1440s ok - glib/inet-address.test 1440s # Running test: glib/pathbuf.test 1440s TAP version 14 1440s # random seed: R02S4c432e5110024a06ddec04b7a30976cd 1440s 1..3 1440s # Start of pathbuf tests 1440s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/home 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/cache 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/system-config2 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/config 1440s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_LMFOK3/pathbuf/init/.dirs/runtime 1441s # Initializing empty path buf 1441s # Initializing with empty path 1441s # Initializing with full path 1441s # Initializing with no path 1441s # Allocating GPathBuf on the heap 1441s ok 1 /pathbuf/init 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_LMFOK3/pathbuf/push-pop/.dirs/runtime 1441s # Pushing relative path component 1441s # Pushing absolute path component 1441s # Popping a path component 1441s # Can't pop the last element of a path buffer 1441s ok 2 /pathbuf/push-pop 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_LMFOK3/pathbuf/filename-extension/.dirs/runtime 1441s ok 3 /pathbuf/filename-extension 1441s # End of pathbuf tests 1441s TAP version 14 1441s # random seed: R02S8c8cc9945e34b1adf75bbd86e2d12e14 1441s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1441s 1..3 1441s # Start of volumemonitor tests 1441s ok 1 /volumemonitor/connected_drives 1441s ok 2 /volumemonitor/volumes 1441s ok 3 /volumemonitor/mounts 1441s # End of volumemonitor tests 1441s TAP version 14 1441s # random seed: R02Scd75c73a67626ecdcb31cf04756ab740 1441s 1..41 1441s # Start of utils tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/language-names/.dirs/runtime 1441s ok 1 /utils/language-names 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/locale-variants/.dirs/runtime 1441s # Testing locale ‘en’ 1441s # Testing locale ‘sr@latin’ 1441s ok - glib/pathbuf.test 1441s # Running test: glib/volumemonitor.test 1441s ok - glib/volumemonitor.test 1441s # Running test: glib/utils-c-17.test 1441s # Testing locale ‘fr_BE’ 1441s # Testing locale ‘sr_SR@latin’ 1441s # Testing locale ‘sr_SR@latin.UTF-8’ 1441s # Testing locale ‘sr@latin_invalid’ 1441s # Testing locale ‘sr.UTF-8@latin’ 1441s # Testing locale ‘sr.UTF-8_latin’ 1441s # Testing locale ‘sr.UTF-8@latin_invalid’ 1441s ok 2 /utils/locale-variants 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/version/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/version/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/version/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/version/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/version/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/version/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/version/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/version/.dirs/runtime 1441s ok 3 /utils/version 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/appname/.dirs/runtime 1441s ok 4 /utils/appname 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/prgname-thread-safety/.dirs/runtime 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1441s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1441s ok 5 /utils/prgname-thread-safety 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/tmpdir/.dirs/runtime 1441s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1441s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1441s Unable to clean up temporary directory /tmp/test_utils-c-17_61KOK3/utils/tmpdir: No such file or directory 1441s ok 6 /utils/tmpdir 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/basic_bits/.dirs/runtime 1441s ok 7 /utils/basic_bits 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/bits/.dirs/runtime 1441s ok 8 /utils/bits 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/swap/.dirs/runtime 1441s ok 9 /utils/swap 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/find-program/.dirs/runtime 1441s ok 10 /utils/find-program 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/find-program-for-path/.dirs/runtime 1441s ok 11 /utils/find-program-for-path 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/debug/.dirs/runtime 1441s Unable to clean up temporary directory /tmp/test_utils-c-17_61KOK3/utils/debug: No such file or directory 1441s ok 12 /utils/debug 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/codeset/.dirs/runtime 1441s ok 13 /utils/codeset 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/codeset2/.dirs/runtime 1441s Unable to clean up temporary directory /tmp/test_utils-c-17_61KOK3/utils/codeset2: No such file or directory 1441s ok 14 /utils/codeset2 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/console-charset/.dirs/runtime 1441s ok 15 /utils/console-charset 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/gettext/.dirs/runtime 1441s ok 16 /utils/gettext 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/username/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/username/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/username/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/username/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/username/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/username/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/username/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/username/.dirs/runtime 1441s ok 17 /utils/username 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/realname/.dirs/runtime 1441s ok 18 /utils/realname 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/hostname/.dirs/runtime 1441s ok 19 /utils/hostname 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/os-info/.dirs/runtime 1441s # NAME: Ubuntu 1441s ok 20 /utils/os-info 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/.dirs/runtime 1441s ok 21 /utils/clear-pointer 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer-cast/.dirs/runtime 1441s ok 22 /utils/clear-pointer-cast 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/take-pointer/.dirs/runtime 1441s ok 23 /utils/take-pointer 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/clear-source/.dirs/runtime 1441s ok 24 /utils/clear-source 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/misc-mem/.dirs/runtime 1441s ok 25 /utils/misc-mem 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/.dirs/runtime 1441s # /utils/aligned-mem summary: Aligned memory allocator 1441s # Alignment must not be zero 1441s # Alignment must be a power of two 1441s # Alignment must be a multiple of sizeof(void*) 1441s ok 26 /utils/aligned-mem 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/free-sized/.dirs/runtime 1441s # /utils/free-sized summary: Check that g_free_sized() works 1441s ok 27 /utils/free-sized 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/nullify/.dirs/runtime 1441s ok 28 /utils/nullify 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/atexit/.dirs/runtime 1441s Unable to clean up temporary directory /tmp/test_utils-c-17_61KOK3/utils/atexit: No such file or directory 1441s ok 29 /utils/atexit 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/check-setuid/.dirs/runtime 1441s ok 30 /utils/check-setuid 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/int-limits/.dirs/runtime 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1441s ok 31 /utils/int-limits 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/clear-list/.dirs/runtime 1441s ok 32 /utils/clear-list 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/clear-slist/.dirs/runtime 1441s ok 33 /utils/clear-slist 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/steal-handle-id/.dirs/runtime 1441s ok 34 /utils/steal-handle-id 1441s # Start of user-special-dirs tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/desktop/.dirs/runtime 1441s ok 35 /utils/user-special-dirs/desktop 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1441s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1441s Unable to clean up temporary directory /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/load-unlocked: No such file or directory 1441s ok 36 /utils/user-special-dirs/load-unlocked 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1441s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1441s Unable to clean up temporary directory /tmp/test_utils-c-17_61KOK3/utils/user-special-dirs/reload-leaks: No such file or directory 1441s ok 37 /utils/user-special-dirs/reload-leaks 1441s # End of user-special-dirs tests 1441s # Start of clear-pointer tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/clear-pointer/side-effects/.dirs/runtime 1441s ok 38 /utils/clear-pointer/side-effects 1441s # End of clear-pointer tests 1441s # Start of aligned-mem tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/data 1441s ok - glib/utils-c-17.test 1441s # Running test: glib/utf8-misc.test 1441s ok - glib/utf8-misc.test 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/alignment/.dirs/runtime 1441s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1441s ok 39 /utils/aligned-mem/alignment 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/zeroed/.dirs/runtime 1441s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1441s ok 40 /utils/aligned-mem/zeroed 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_61KOK3/utils/aligned-mem/free-sized/.dirs/runtime 1441s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1441s ok 41 /utils/aligned-mem/free-sized 1441s # Start of subprocess tests 1441s # End of subprocess tests 1441s # End of aligned-mem tests 1441s # End of utils tests 1441s TAP version 14 1441s # random seed: R02S0a8c2aa6436a4024f6e4786a654e06d8 1441s 1..7 1441s # Start of utf8 tests 1441s ok 1 /utf8/strlen 1441s ok 2 /utf8/strncpy 1441s ok 3 /utf8/strrchr 1441s ok 4 /utf8/reverse 1441s ok 5 /utf8/substring 1441s ok 6 /utf8/make-valid 1441s ok 7 /utf8/truncate-middle 1441s # End of utf8 tests 1441s # Running test: glib/gdbus-serialization.test 1441s TAP version 14 1441s # random seed: R02S447a53e1525e551ae8c57ff7e22a8f85 1441s 1..18 1441s # Start of gdbus tests 1441s # Start of message-serialize tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/basic/.dirs/runtime 1441s ok 1 /gdbus/message-serialize/basic 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/complex/.dirs/runtime 1441s ok 2 /gdbus/message-serialize/complex 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/invalid/.dirs/runtime 1441s ok 3 /gdbus/message-serialize/invalid 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/.dirs/runtime 1441s ok 4 /gdbus/message-serialize/header-checks 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/double-array/.dirs/runtime 1441s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1441s ok 5 /gdbus/message-serialize/double-array 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/empty-structure/.dirs/runtime 1441s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1441s ok 6 /gdbus/message-serialize/empty-structure 1441s # Start of header-checks tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1441s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1441s ok 7 /gdbus/message-serialize/header-checks/valid 1441s # End of header-checks tests 1441s # End of message-serialize tests 1441s # Start of message-parse tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1441s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1441s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/non-signature-header/.dirs/runtime 1441s ok 9 /gdbus/message-parse/non-signature-header 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1441s ok 10 /gdbus/message-parse/empty-signature-header 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1441s ok 11 /gdbus/message-parse/multiple-signature-header 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1441s ok 12 /gdbus/message-parse/over-long-signature-header 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1441s ok 13 /gdbus/message-parse/deep-header-nesting 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1441s ok 14 /gdbus/message-parse/deep-body-nesting 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/truncated/.dirs/runtime 1441s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1441s ok 15 /gdbus/message-parse/truncated 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/empty-structure/.dirs/runtime 1441s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1441s ok 16 /gdbus/message-parse/empty-structure 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/missing-header/.dirs/runtime 1441s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1441s ok 17 /gdbus/message-parse/missing-header 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/cache 1441s ok - glib/gdbus-serialization.test 1441s # Running test: glib/repository-search-paths.test 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_TLQEK3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1441s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1441s ok 18 /gdbus/message-parse/invalid-header-type 1441s # End of message-parse tests 1441s # End of gdbus tests 1441s TAP version 14 1441s # random seed: R02S5328a66d6f63432cd392a2d93c29ca39 1441s 1..4 1441s # Start of repository tests 1441s # Start of search-paths tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/default/.dirs/runtime 1441s ok 1 /repository/search-paths/default 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_QR2EK3/repository/search-paths/prepend/.dirs/runtime 1441s ok 2 /repository/search-paths/prepend 1441s # End of search-paths tests 1441s # Start of library-paths tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/default/.dirs/runtime 1441s ok 3 /repository/library-paths/default 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/system-data2 1441s ok - glib/repository-search-paths.test 1441s # Running test: glib/union-info.test 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_QR2EK3/repository/library-paths/prepend/.dirs/runtime 1441s ok 4 /repository/library-paths/prepend 1441s # End of library-paths tests 1441s # End of repository tests 1441s ok - glib/union-info.test 1441s # Running test: glib/memory-monitor-poll.test 1441s TAP version 14 1441s # random seed: R02S79b2872e513d13dc2b50bd8af503addc 1441s 1..2 1441s # Start of union-info tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_POAFK3/union-info/basic/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_POAFK3/union-info/basic/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_POAFK3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_POAFK3/union-info/basic/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_POAFK3/union-info/basic/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_POAFK3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_POAFK3/union-info/basic/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_POAFK3/union-info/basic/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_POAFK3/union-info/basic/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_POAFK3/union-info/basic/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /union-info/basic summary: Test basic properties of GIUnionInfo 1441s ok 1 /union-info/basic 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_POAFK3/union-info/methods/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_POAFK3/union-info/methods/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_POAFK3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_POAFK3/union-info/methods/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_POAFK3/union-info/methods/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_POAFK3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_POAFK3/union-info/methods/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_POAFK3/union-info/methods/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_POAFK3/union-info/methods/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_POAFK3/union-info/methods/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1441s ok 2 /union-info/methods 1441s # End of union-info tests 1441s TAP version 14 1441s # random seed: R02Sf0e7c9a989ef151812e5b21c828ac9a2 1441s 1..4 1441s # Start of memory-monitor-poll tests 1441s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1441s ok 1 /memory-monitor-poll/dup-default 1441s # GLib-GIO-DEBUG: memory free ratio 0.190000 1441s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1441s ok 2 /memory-monitor-poll/critical-event 1441s # GLib-GIO-DEBUG: memory free ratio 0.290000 1441s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1441s ok 3 /memory-monitor-poll/medium-event 1441s # GLib-GIO-DEBUG: memory free ratio 0.390000 1441s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1441s ok 4 /memory-monitor-poll/low-event 1441s # End of memory-monitor-poll tests 1441s TAP version 14 1441s # random seed: R02Sd96b74bb4f5ab21b064eb9b7769b6105 1441s ok - glib/memory-monitor-poll.test 1441s # Running test: glib/checksum.test 1441s 1..1851 1441s # Start of checksum tests 1441s ok 1 /checksum/unsupported 1441s # Start of MD5 tests 1441s ok 2 /checksum/MD5/0 1441s ok 3 /checksum/MD5/1 1441s ok 4 /checksum/MD5/2 1441s ok 5 /checksum/MD5/3 1441s ok 6 /checksum/MD5/4 1441s ok 7 /checksum/MD5/5 1441s ok 8 /checksum/MD5/6 1441s ok 9 /checksum/MD5/7 1441s ok 10 /checksum/MD5/8 1441s ok 11 /checksum/MD5/9 1441s ok 12 /checksum/MD5/10 1441s ok 13 /checksum/MD5/11 1441s ok 14 /checksum/MD5/12 1441s ok 15 /checksum/MD5/13 1441s ok 16 /checksum/MD5/14 1441s ok 17 /checksum/MD5/15 1441s ok 18 /checksum/MD5/16 1441s ok 19 /checksum/MD5/17 1441s ok 20 /checksum/MD5/18 1441s ok 21 /checksum/MD5/19 1441s ok 22 /checksum/MD5/20 1441s ok 23 /checksum/MD5/21 1441s ok 24 /checksum/MD5/22 1441s ok 25 /checksum/MD5/23 1441s ok 26 /checksum/MD5/24 1441s ok 27 /checksum/MD5/25 1441s ok 28 /checksum/MD5/26 1441s ok 29 /checksum/MD5/27 1441s ok 30 /checksum/MD5/28 1441s ok 31 /checksum/MD5/29 1441s ok 32 /checksum/MD5/30 1441s ok 33 /checksum/MD5/31 1441s ok 34 /checksum/MD5/32 1441s ok 35 /checksum/MD5/33 1441s ok 36 /checksum/MD5/34 1441s ok 37 /checksum/MD5/35 1441s ok 38 /checksum/MD5/36 1441s ok 39 /checksum/MD5/37 1441s ok 40 /checksum/MD5/38 1441s ok 41 /checksum/MD5/39 1441s ok 42 /checksum/MD5/40 1441s ok 43 /checksum/MD5/41 1441s ok 44 /checksum/MD5/42 1441s ok 45 /checksum/MD5/43 1441s ok 46 /checksum/MD5/44 1441s ok 47 /checksum/MD5/45 1441s ok 48 /checksum/MD5/46 1441s ok 49 /checksum/MD5/47 1441s ok 50 /checksum/MD5/48 1441s ok 51 /checksum/MD5/49 1441s ok 52 /checksum/MD5/50 1441s ok 53 /checksum/MD5/51 1441s ok 54 /checksum/MD5/52 1441s ok 55 /checksum/MD5/53 1441s ok 56 /checksum/MD5/54 1441s ok 57 /checksum/MD5/55 1441s ok 58 /checksum/MD5/56 1441s ok 59 /checksum/MD5/57 1441s ok 60 /checksum/MD5/58 1441s ok 61 /checksum/MD5/59 1441s ok 62 /checksum/MD5/60 1441s ok 63 /checksum/MD5/61 1441s ok 64 /checksum/MD5/62 1441s ok 65 /checksum/MD5/63 1441s ok 66 /checksum/MD5/64 1441s ok 67 /checksum/MD5/65 1441s ok 68 /checksum/MD5/66 1441s ok 69 /checksum/MD5/67 1441s ok 70 /checksum/MD5/68 1441s ok 71 /checksum/MD5/69 1441s ok 72 /checksum/MD5/70 1441s ok 73 /checksum/MD5/71 1441s ok 74 /checksum/MD5/72 1441s ok 75 /checksum/MD5/73 1441s ok 76 /checksum/MD5/74 1441s ok 77 /checksum/MD5/75 1441s ok 78 /checksum/MD5/76 1441s ok 79 /checksum/MD5/77 1441s ok 80 /checksum/MD5/78 1441s ok 81 /checksum/MD5/79 1441s ok 82 /checksum/MD5/80 1441s ok 83 /checksum/MD5/81 1441s ok 84 /checksum/MD5/82 1441s ok 85 /checksum/MD5/83 1441s ok 86 /checksum/MD5/84 1441s ok 87 /checksum/MD5/85 1441s ok 88 /checksum/MD5/86 1441s ok 89 /checksum/MD5/87 1441s ok 90 /checksum/MD5/88 1441s ok 91 /checksum/MD5/89 1441s ok 92 /checksum/MD5/90 1441s ok 93 /checksum/MD5/91 1441s ok 94 /checksum/MD5/92 1441s ok 95 /checksum/MD5/93 1441s ok 96 /checksum/MD5/94 1441s ok 97 /checksum/MD5/95 1441s ok 98 /checksum/MD5/96 1441s ok 99 /checksum/MD5/97 1441s ok 100 /checksum/MD5/98 1441s ok 101 /checksum/MD5/99 1441s ok 102 /checksum/MD5/100 1441s ok 103 /checksum/MD5/101 1441s ok 104 /checksum/MD5/102 1441s ok 105 /checksum/MD5/103 1441s ok 106 /checksum/MD5/104 1441s ok 107 /checksum/MD5/105 1441s ok 108 /checksum/MD5/106 1441s ok 109 /checksum/MD5/107 1441s ok 110 /checksum/MD5/108 1441s ok 111 /checksum/MD5/109 1441s ok 112 /checksum/MD5/110 1441s ok 113 /checksum/MD5/111 1441s ok 114 /checksum/MD5/112 1441s ok 115 /checksum/MD5/113 1441s ok 116 /checksum/MD5/114 1441s ok 117 /checksum/MD5/115 1441s ok 118 /checksum/MD5/116 1441s ok 119 /checksum/MD5/117 1441s ok 120 /checksum/MD5/118 1441s ok 121 /checksum/MD5/119 1441s ok 122 /checksum/MD5/120 1441s ok 123 /checksum/MD5/121 1441s ok 124 /checksum/MD5/122 1441s ok 125 /checksum/MD5/123 1441s ok 126 /checksum/MD5/124 1441s ok 127 /checksum/MD5/125 1441s ok 128 /checksum/MD5/126 1441s ok 129 /checksum/MD5/127 1441s ok 130 /checksum/MD5/128 1441s ok 131 /checksum/MD5/129 1441s ok 132 /checksum/MD5/130 1441s ok 133 /checksum/MD5/131 1441s ok 134 /checksum/MD5/132 1441s ok 135 /checksum/MD5/133 1441s ok 136 /checksum/MD5/134 1441s ok 137 /checksum/MD5/135 1441s ok 138 /checksum/MD5/136 1441s ok 139 /checksum/MD5/137 1441s ok 140 /checksum/MD5/138 1441s ok 141 /checksum/MD5/139 1441s ok 142 /checksum/MD5/140 1441s ok 143 /checksum/MD5/141 1441s ok 144 /checksum/MD5/142 1441s ok 145 /checksum/MD5/143 1441s ok 146 /checksum/MD5/144 1441s ok 147 /checksum/MD5/145 1441s ok 148 /checksum/MD5/146 1441s ok 149 /checksum/MD5/147 1441s ok 150 /checksum/MD5/148 1441s ok 151 /checksum/MD5/149 1441s ok 152 /checksum/MD5/150 1441s ok 153 /checksum/MD5/151 1441s ok 154 /checksum/MD5/152 1441s ok 155 /checksum/MD5/153 1441s ok 156 /checksum/MD5/154 1441s ok 157 /checksum/MD5/155 1441s ok 158 /checksum/MD5/156 1441s ok 159 /checksum/MD5/157 1441s ok 160 /checksum/MD5/158 1441s ok 161 /checksum/MD5/159 1441s ok 162 /checksum/MD5/160 1441s ok 163 /checksum/MD5/161 1441s ok 164 /checksum/MD5/162 1441s ok 165 /checksum/MD5/163 1441s ok 166 /checksum/MD5/164 1441s ok 167 /checksum/MD5/165 1441s ok 168 /checksum/MD5/166 1441s ok 169 /checksum/MD5/167 1441s ok 170 /checksum/MD5/168 1441s ok 171 /checksum/MD5/169 1441s ok 172 /checksum/MD5/170 1441s ok 173 /checksum/MD5/171 1441s ok 174 /checksum/MD5/172 1441s ok 175 /checksum/MD5/173 1441s ok 176 /checksum/MD5/174 1441s ok 177 /checksum/MD5/175 1441s ok 178 /checksum/MD5/176 1441s ok 179 /checksum/MD5/177 1441s ok 180 /checksum/MD5/178 1441s ok 181 /checksum/MD5/179 1441s ok 182 /checksum/MD5/180 1441s ok 183 /checksum/MD5/181 1441s ok 184 /checksum/MD5/182 1441s ok 185 /checksum/MD5/183 1441s ok 186 /checksum/MD5/string 1441s ok 187 /checksum/MD5/bytes 1441s # Start of reset tests 1441s ok 188 /checksum/MD5/reset/0 1441s ok 189 /checksum/MD5/reset/1 1441s ok 190 /checksum/MD5/reset/2 1441s ok 191 /checksum/MD5/reset/3 1441s ok 192 /checksum/MD5/reset/4 1441s ok 193 /checksum/MD5/reset/5 1441s ok 194 /checksum/MD5/reset/6 1441s ok 195 /checksum/MD5/reset/7 1441s ok 196 /checksum/MD5/reset/8 1441s ok 197 /checksum/MD5/reset/9 1441s ok 198 /checksum/MD5/reset/10 1441s ok 199 /checksum/MD5/reset/11 1441s ok 200 /checksum/MD5/reset/12 1441s ok 201 /checksum/MD5/reset/13 1441s ok 202 /checksum/MD5/reset/14 1441s ok 203 /checksum/MD5/reset/15 1441s ok 204 /checksum/MD5/reset/16 1441s ok 205 /checksum/MD5/reset/17 1441s ok 206 /checksum/MD5/reset/18 1441s ok 207 /checksum/MD5/reset/19 1441s ok 208 /checksum/MD5/reset/20 1441s ok 209 /checksum/MD5/reset/21 1441s ok 210 /checksum/MD5/reset/22 1441s ok 211 /checksum/MD5/reset/23 1441s ok 212 /checksum/MD5/reset/24 1441s ok 213 /checksum/MD5/reset/25 1441s ok 214 /checksum/MD5/reset/26 1441s ok 215 /checksum/MD5/reset/27 1441s ok 216 /checksum/MD5/reset/28 1441s ok 217 /checksum/MD5/reset/29 1441s ok 218 /checksum/MD5/reset/30 1441s ok 219 /checksum/MD5/reset/31 1441s ok 220 /checksum/MD5/reset/32 1441s ok 221 /checksum/MD5/reset/33 1441s ok 222 /checksum/MD5/reset/34 1441s ok 223 /checksum/MD5/reset/35 1441s ok 224 /checksum/MD5/reset/36 1441s ok 225 /checksum/MD5/reset/37 1441s ok 226 /checksum/MD5/reset/38 1441s ok 227 /checksum/MD5/reset/39 1441s ok 228 /checksum/MD5/reset/40 1441s ok 229 /checksum/MD5/reset/41 1441s ok 230 /checksum/MD5/reset/42 1441s ok 231 /checksum/MD5/reset/43 1441s ok 232 /checksum/MD5/reset/44 1441s ok 233 /checksum/MD5/reset/45 1441s ok 234 /checksum/MD5/reset/46 1441s ok 235 /checksum/MD5/reset/47 1441s ok 236 /checksum/MD5/reset/48 1441s ok 237 /checksum/MD5/reset/49 1441s ok 238 /checksum/MD5/reset/50 1441s ok 239 /checksum/MD5/reset/51 1441s ok 240 /checksum/MD5/reset/52 1441s ok 241 /checksum/MD5/reset/53 1441s ok 242 /checksum/MD5/reset/54 1441s ok 243 /checksum/MD5/reset/55 1441s ok 244 /checksum/MD5/reset/56 1441s ok 245 /checksum/MD5/reset/57 1441s ok 246 /checksum/MD5/reset/58 1441s ok 247 /checksum/MD5/reset/59 1441s ok 248 /checksum/MD5/reset/60 1441s ok 249 /checksum/MD5/reset/61 1441s ok 250 /checksum/MD5/reset/62 1441s ok 251 /checksum/MD5/reset/63 1441s ok 252 /checksum/MD5/reset/64 1441s ok 253 /checksum/MD5/reset/65 1441s ok 254 /checksum/MD5/reset/66 1441s ok 255 /checksum/MD5/reset/67 1441s ok 256 /checksum/MD5/reset/68 1441s ok 257 /checksum/MD5/reset/69 1441s ok 258 /checksum/MD5/reset/70 1441s ok 259 /checksum/MD5/reset/71 1441s ok 260 /checksum/MD5/reset/72 1441s ok 261 /checksum/MD5/reset/73 1441s ok 262 /checksum/MD5/reset/74 1441s ok 263 /checksum/MD5/reset/75 1441s ok 264 /checksum/MD5/reset/76 1441s ok 265 /checksum/MD5/reset/77 1441s ok 266 /checksum/MD5/reset/78 1441s ok 267 /checksum/MD5/reset/79 1441s ok 268 /checksum/MD5/reset/80 1441s ok 269 /checksum/MD5/reset/81 1441s ok 270 /checksum/MD5/reset/82 1441s ok 271 /checksum/MD5/reset/83 1441s ok 272 /checksum/MD5/reset/84 1441s ok 273 /checksum/MD5/reset/85 1441s ok 274 /checksum/MD5/reset/86 1441s ok 275 /checksum/MD5/reset/87 1441s ok 276 /checksum/MD5/reset/88 1441s ok 277 /checksum/MD5/reset/89 1441s ok 278 /checksum/MD5/reset/90 1441s ok 279 /checksum/MD5/reset/91 1441s ok 280 /checksum/MD5/reset/92 1441s ok 281 /checksum/MD5/reset/93 1441s ok 282 /checksum/MD5/reset/94 1441s ok 283 /checksum/MD5/reset/95 1441s ok 284 /checksum/MD5/reset/96 1441s ok 285 /checksum/MD5/reset/97 1441s ok 286 /checksum/MD5/reset/98 1441s ok 287 /checksum/MD5/reset/99 1441s ok 288 /checksum/MD5/reset/100 1441s ok 289 /checksum/MD5/reset/101 1441s ok 290 /checksum/MD5/reset/102 1441s ok 291 /checksum/MD5/reset/103 1441s ok 292 /checksum/MD5/reset/104 1441s ok 293 /checksum/MD5/reset/105 1441s ok 294 /checksum/MD5/reset/106 1441s ok 295 /checksum/MD5/reset/107 1441s ok 296 /checksum/MD5/reset/108 1441s ok 297 /checksum/MD5/reset/109 1441s ok 298 /checksum/MD5/reset/110 1441s ok 299 /checksum/MD5/reset/111 1441s ok 300 /checksum/MD5/reset/112 1441s ok 301 /checksum/MD5/reset/113 1441s ok 302 /checksum/MD5/reset/114 1441s ok 303 /checksum/MD5/reset/115 1441s ok 304 /checksum/MD5/reset/116 1441s ok 305 /checksum/MD5/reset/117 1441s ok 306 /checksum/MD5/reset/118 1441s ok 307 /checksum/MD5/reset/119 1441s ok 308 /checksum/MD5/reset/120 1441s ok 309 /checksum/MD5/reset/121 1441s ok 310 /checksum/MD5/reset/122 1441s ok 311 /checksum/MD5/reset/123 1441s ok 312 /checksum/MD5/reset/124 1441s ok 313 /checksum/MD5/reset/125 1441s ok 314 /checksum/MD5/reset/126 1441s ok 315 /checksum/MD5/reset/127 1441s ok 316 /checksum/MD5/reset/128 1441s ok 317 /checksum/MD5/reset/129 1441s ok 318 /checksum/MD5/reset/130 1441s ok 319 /checksum/MD5/reset/131 1441s ok 320 /checksum/MD5/reset/132 1441s ok 321 /checksum/MD5/reset/133 1441s ok 322 /checksum/MD5/reset/134 1441s ok 323 /checksum/MD5/reset/135 1441s ok 324 /checksum/MD5/reset/136 1441s ok 325 /checksum/MD5/reset/137 1441s ok 326 /checksum/MD5/reset/138 1441s ok 327 /checksum/MD5/reset/139 1441s ok 328 /checksum/MD5/reset/140 1441s ok 329 /checksum/MD5/reset/141 1441s ok 330 /checksum/MD5/reset/142 1441s ok 331 /checksum/MD5/reset/143 1441s ok 332 /checksum/MD5/reset/144 1441s ok 333 /checksum/MD5/reset/145 1441s ok 334 /checksum/MD5/reset/146 1441s ok 335 /checksum/MD5/reset/147 1441s ok 336 /checksum/MD5/reset/148 1441s ok 337 /checksum/MD5/reset/149 1441s ok 338 /checksum/MD5/reset/150 1441s ok 339 /checksum/MD5/reset/151 1441s ok 340 /checksum/MD5/reset/152 1441s ok 341 /checksum/MD5/reset/153 1441s ok 342 /checksum/MD5/reset/154 1441s ok 343 /checksum/MD5/reset/155 1441s ok 344 /checksum/MD5/reset/156 1441s ok 345 /checksum/MD5/reset/157 1441s ok 346 /checksum/MD5/reset/158 1441s ok 347 /checksum/MD5/reset/159 1441s ok 348 /checksum/MD5/reset/160 1441s ok 349 /checksum/MD5/reset/161 1441s ok 350 /checksum/MD5/reset/162 1441s ok 351 /checksum/MD5/reset/163 1441s ok 352 /checksum/MD5/reset/164 1441s ok 353 /checksum/MD5/reset/165 1441s ok 354 /checksum/MD5/reset/166 1441s ok 355 /checksum/MD5/reset/167 1441s ok 356 /checksum/MD5/reset/168 1441s ok 357 /checksum/MD5/reset/169 1441s ok 358 /checksum/MD5/reset/170 1441s ok 359 /checksum/MD5/reset/171 1441s ok 360 /checksum/MD5/reset/172 1441s ok 361 /checksum/MD5/reset/173 1441s ok 362 /checksum/MD5/reset/174 1441s ok 363 /checksum/MD5/reset/175 1441s ok 364 /checksum/MD5/reset/176 1441s ok 365 /checksum/MD5/reset/177 1441s ok 366 /checksum/MD5/reset/178 1441s ok 367 /checksum/MD5/reset/179 1441s ok 368 /checksum/MD5/reset/180 1441s ok 369 /checksum/MD5/reset/181 1441s ok 370 /checksum/MD5/reset/182 1441s ok 371 /checksum/MD5/reset/183 1441s # End of reset tests 1441s # End of MD5 tests 1441s # Start of SHA1 tests 1441s ok 372 /checksum/SHA1/0 1441s ok 373 /checksum/SHA1/1 1441s ok 374 /checksum/SHA1/2 1441s ok 375 /checksum/SHA1/3 1441s ok 376 /checksum/SHA1/4 1441s ok 377 /checksum/SHA1/5 1441s ok 378 /checksum/SHA1/6 1441s ok 379 /checksum/SHA1/7 1441s ok 380 /checksum/SHA1/8 1441s ok 381 /checksum/SHA1/9 1441s ok 382 /checksum/SHA1/10 1441s ok 383 /checksum/SHA1/11 1441s ok 384 /checksum/SHA1/12 1441s ok 385 /checksum/SHA1/13 1441s ok 386 /checksum/SHA1/14 1441s ok 387 /checksum/SHA1/15 1441s ok 388 /checksum/SHA1/16 1441s ok 389 /checksum/SHA1/17 1441s ok 390 /checksum/SHA1/18 1441s ok 391 /checksum/SHA1/19 1441s ok 392 /checksum/SHA1/20 1441s ok 393 /checksum/SHA1/21 1441s ok 394 /checksum/SHA1/22 1441s ok 395 /checksum/SHA1/23 1441s ok 396 /checksum/SHA1/24 1441s ok 397 /checksum/SHA1/25 1441s ok 398 /checksum/SHA1/26 1441s ok 399 /checksum/SHA1/27 1441s ok 400 /checksum/SHA1/28 1441s ok 401 /checksum/SHA1/29 1441s ok 402 /checksum/SHA1/30 1441s ok 403 /checksum/SHA1/31 1441s ok 404 /checksum/SHA1/32 1441s ok 405 /checksum/SHA1/33 1441s ok 406 /checksum/SHA1/34 1441s ok 407 /checksum/SHA1/35 1441s ok 408 /checksum/SHA1/36 1441s ok 409 /checksum/SHA1/37 1441s ok 410 /checksum/SHA1/38 1441s ok 411 /checksum/SHA1/39 1441s ok 412 /checksum/SHA1/40 1441s ok 413 /checksum/SHA1/41 1441s ok 414 /checksum/SHA1/42 1441s ok 415 /checksum/SHA1/43 1441s ok 416 /checksum/SHA1/44 1441s ok 417 /checksum/SHA1/45 1441s ok 418 /checksum/SHA1/46 1441s ok 419 /checksum/SHA1/47 1441s ok 420 /checksum/SHA1/48 1441s ok 421 /checksum/SHA1/49 1441s ok 422 /checksum/SHA1/50 1441s ok 423 /checksum/SHA1/51 1441s ok 424 /checksum/SHA1/52 1441s ok 425 /checksum/SHA1/53 1441s ok 426 /checksum/SHA1/54 1441s ok 427 /checksum/SHA1/55 1441s ok 428 /checksum/SHA1/56 1441s ok 429 /checksum/SHA1/57 1441s ok 430 /checksum/SHA1/58 1441s ok 431 /checksum/SHA1/59 1441s ok 432 /checksum/SHA1/60 1441s ok 433 /checksum/SHA1/61 1441s ok 434 /checksum/SHA1/62 1441s ok 435 /checksum/SHA1/63 1441s ok 436 /checksum/SHA1/64 1441s ok 437 /checksum/SHA1/65 1441s ok 438 /checksum/SHA1/66 1441s ok 439 /checksum/SHA1/67 1441s ok 440 /checksum/SHA1/68 1441s ok 441 /checksum/SHA1/69 1441s ok 442 /checksum/SHA1/70 1441s ok 443 /checksum/SHA1/71 1441s ok 444 /checksum/SHA1/72 1441s ok 445 /checksum/SHA1/73 1441s ok 446 /checksum/SHA1/74 1441s ok 447 /checksum/SHA1/75 1441s ok 448 /checksum/SHA1/76 1441s ok 449 /checksum/SHA1/77 1441s ok 450 /checksum/SHA1/78 1441s ok 451 /checksum/SHA1/79 1441s ok 452 /checksum/SHA1/80 1441s ok 453 /checksum/SHA1/81 1441s ok 454 /checksum/SHA1/82 1441s ok 455 /checksum/SHA1/83 1441s ok 456 /checksum/SHA1/84 1441s ok 457 /checksum/SHA1/85 1441s ok 458 /checksum/SHA1/86 1441s ok 459 /checksum/SHA1/87 1441s ok 460 /checksum/SHA1/88 1441s ok 461 /checksum/SHA1/89 1441s ok 462 /checksum/SHA1/90 1441s ok 463 /checksum/SHA1/91 1441s ok 464 /checksum/SHA1/92 1441s ok 465 /checksum/SHA1/93 1441s ok 466 /checksum/SHA1/94 1441s ok 467 /checksum/SHA1/95 1441s ok 468 /checksum/SHA1/96 1441s ok 469 /checksum/SHA1/97 1441s ok 470 /checksum/SHA1/98 1441s ok 471 /checksum/SHA1/99 1441s ok 472 /checksum/SHA1/100 1441s ok 473 /checksum/SHA1/101 1441s ok 474 /checksum/SHA1/102 1441s ok 475 /checksum/SHA1/103 1441s ok 476 /checksum/SHA1/104 1441s ok 477 /checksum/SHA1/105 1441s ok 478 /checksum/SHA1/106 1441s ok 479 /checksum/SHA1/107 1441s ok 480 /checksum/SHA1/108 1441s ok 481 /checksum/SHA1/109 1441s ok 482 /checksum/SHA1/110 1441s ok 483 /checksum/SHA1/111 1441s ok 484 /checksum/SHA1/112 1441s ok 485 /checksum/SHA1/113 1441s ok 486 /checksum/SHA1/114 1441s ok 487 /checksum/SHA1/115 1441s ok 488 /checksum/SHA1/116 1441s ok 489 /checksum/SHA1/117 1441s ok 490 /checksum/SHA1/118 1441s ok 491 /checksum/SHA1/119 1441s ok 492 /checksum/SHA1/120 1441s ok 493 /checksum/SHA1/121 1441s ok 494 /checksum/SHA1/122 1441s ok 495 /checksum/SHA1/123 1441s ok 496 /checksum/SHA1/124 1441s ok 497 /checksum/SHA1/125 1441s ok 498 /checksum/SHA1/126 1441s ok 499 /checksum/SHA1/127 1441s ok 500 /checksum/SHA1/128 1441s ok 501 /checksum/SHA1/129 1441s ok 502 /checksum/SHA1/130 1441s ok 503 /checksum/SHA1/131 1441s ok 504 /checksum/SHA1/132 1441s ok 505 /checksum/SHA1/133 1441s ok 506 /checksum/SHA1/134 1441s ok 507 /checksum/SHA1/135 1441s ok 508 /checksum/SHA1/136 1441s ok 509 /checksum/SHA1/137 1441s ok 510 /checksum/SHA1/138 1441s ok 511 /checksum/SHA1/139 1441s ok 512 /checksum/SHA1/140 1441s ok 513 /checksum/SHA1/141 1441s ok 514 /checksum/SHA1/142 1441s ok 515 /checksum/SHA1/143 1441s ok 516 /checksum/SHA1/144 1441s ok 517 /checksum/SHA1/145 1441s ok 518 /checksum/SHA1/146 1441s ok 519 /checksum/SHA1/147 1441s ok 520 /checksum/SHA1/148 1441s ok 521 /checksum/SHA1/149 1441s ok 522 /checksum/SHA1/150 1441s ok 523 /checksum/SHA1/151 1441s ok 524 /checksum/SHA1/152 1441s ok 525 /checksum/SHA1/153 1441s ok 526 /checksum/SHA1/154 1441s ok 527 /checksum/SHA1/155 1441s ok 528 /checksum/SHA1/156 1441s ok 529 /checksum/SHA1/157 1441s ok 530 /checksum/SHA1/158 1441s ok 531 /checksum/SHA1/159 1441s ok 532 /checksum/SHA1/160 1441s ok 533 /checksum/SHA1/161 1441s ok 534 /checksum/SHA1/162 1441s ok 535 /checksum/SHA1/163 1441s ok 536 /checksum/SHA1/164 1441s ok 537 /checksum/SHA1/165 1441s ok 538 /checksum/SHA1/166 1441s ok 539 /checksum/SHA1/167 1441s ok 540 /checksum/SHA1/168 1441s ok 541 /checksum/SHA1/169 1441s ok 542 /checksum/SHA1/170 1441s ok 543 /checksum/SHA1/171 1441s ok 544 /checksum/SHA1/172 1441s ok 545 /checksum/SHA1/173 1441s ok 546 /checksum/SHA1/174 1441s ok 547 /checksum/SHA1/175 1441s ok 548 /checksum/SHA1/176 1441s ok 549 /checksum/SHA1/177 1441s ok 550 /checksum/SHA1/178 1441s ok 551 /checksum/SHA1/179 1441s ok 552 /checksum/SHA1/180 1441s ok 553 /checksum/SHA1/181 1441s ok 554 /checksum/SHA1/182 1441s ok 555 /checksum/SHA1/183 1441s ok 556 /checksum/SHA1/string 1441s ok 557 /checksum/SHA1/bytes 1441s # Start of reset tests 1441s ok 558 /checksum/SHA1/reset/0 1441s ok 559 /checksum/SHA1/reset/1 1441s ok 560 /checksum/SHA1/reset/2 1441s ok 561 /checksum/SHA1/reset/3 1441s ok 562 /checksum/SHA1/reset/4 1441s ok 563 /checksum/SHA1/reset/5 1441s ok 564 /checksum/SHA1/reset/6 1441s ok 565 /checksum/SHA1/reset/7 1441s ok 566 /checksum/SHA1/reset/8 1441s ok 567 /checksum/SHA1/reset/9 1441s ok 568 /checksum/SHA1/reset/10 1441s ok 569 /checksum/SHA1/reset/11 1441s ok 570 /checksum/SHA1/reset/12 1441s ok 571 /checksum/SHA1/reset/13 1441s ok 572 /checksum/SHA1/reset/14 1441s ok 573 /checksum/SHA1/reset/15 1441s ok 574 /checksum/SHA1/reset/16 1441s ok 575 /checksum/SHA1/reset/17 1441s ok 576 /checksum/SHA1/reset/18 1441s ok 577 /checksum/SHA1/reset/19 1441s ok 578 /checksum/SHA1/reset/20 1441s ok 579 /checksum/SHA1/reset/21 1441s ok 580 /checksum/SHA1/reset/22 1441s ok 581 /checksum/SHA1/reset/23 1441s ok 582 /checksum/SHA1/reset/24 1441s ok 583 /checksum/SHA1/reset/25 1441s ok 584 /checksum/SHA1/reset/26 1441s ok 585 /checksum/SHA1/reset/27 1441s ok 586 /checksum/SHA1/reset/28 1441s ok 587 /checksum/SHA1/reset/29 1441s ok 588 /checksum/SHA1/reset/30 1441s ok 589 /checksum/SHA1/reset/31 1441s ok 590 /checksum/SHA1/reset/32 1441s ok 591 /checksum/SHA1/reset/33 1441s ok 592 /checksum/SHA1/reset/34 1441s ok 593 /checksum/SHA1/reset/35 1441s ok 594 /checksum/SHA1/reset/36 1441s ok 595 /checksum/SHA1/reset/37 1441s ok 596 /checksum/SHA1/reset/38 1441s ok 597 /checksum/SHA1/reset/39 1441s ok 598 /checksum/SHA1/reset/40 1441s ok 599 /checksum/SHA1/reset/41 1441s ok 600 /checksum/SHA1/reset/42 1441s ok 601 /checksum/SHA1/reset/43 1441s ok 602 /checksum/SHA1/reset/44 1441s ok 603 /checksum/SHA1/reset/45 1441s ok 604 /checksum/SHA1/reset/46 1441s ok 605 /checksum/SHA1/reset/47 1441s ok 606 /checksum/SHA1/reset/48 1441s ok 607 /checksum/SHA1/reset/49 1441s ok 608 /checksum/SHA1/reset/50 1441s ok 609 /checksum/SHA1/reset/51 1441s ok 610 /checksum/SHA1/reset/52 1441s ok 611 /checksum/SHA1/reset/53 1441s ok 612 /checksum/SHA1/reset/54 1441s ok 613 /checksum/SHA1/reset/55 1441s ok 614 /checksum/SHA1/reset/56 1441s ok 615 /checksum/SHA1/reset/57 1441s ok 616 /checksum/SHA1/reset/58 1441s ok 617 /checksum/SHA1/reset/59 1441s ok 618 /checksum/SHA1/reset/60 1441s ok 619 /checksum/SHA1/reset/61 1441s ok 620 /checksum/SHA1/reset/62 1441s ok 621 /checksum/SHA1/reset/63 1441s ok 622 /checksum/SHA1/reset/64 1441s ok 623 /checksum/SHA1/reset/65 1441s ok 624 /checksum/SHA1/reset/66 1441s ok 625 /checksum/SHA1/reset/67 1441s ok 626 /checksum/SHA1/reset/68 1441s ok 627 /checksum/SHA1/reset/69 1441s ok 628 /checksum/SHA1/reset/70 1441s ok 629 /checksum/SHA1/reset/71 1441s ok 630 /checksum/SHA1/reset/72 1441s ok 631 /checksum/SHA1/reset/73 1441s ok 632 /checksum/SHA1/reset/74 1441s ok 633 /checksum/SHA1/reset/75 1441s ok 634 /checksum/SHA1/reset/76 1441s ok 635 /checksum/SHA1/reset/77 1441s ok 636 /checksum/SHA1/reset/78 1441s ok 637 /checksum/SHA1/reset/79 1441s ok 638 /checksum/SHA1/reset/80 1441s ok 639 /checksum/SHA1/reset/81 1441s ok 640 /checksum/SHA1/reset/82 1441s ok 641 /checksum/SHA1/reset/83 1441s ok 642 /checksum/SHA1/reset/84 1441s ok 643 /checksum/SHA1/reset/85 1441s ok 644 /checksum/SHA1/reset/86 1441s ok 645 /checksum/SHA1/reset/87 1441s ok 646 /checksum/SHA1/reset/88 1441s ok 647 /checksum/SHA1/reset/89 1441s ok 648 /checksum/SHA1/reset/90 1441s ok 649 /checksum/SHA1/reset/91 1441s ok 650 /checksum/SHA1/reset/92 1441s ok 651 /checksum/SHA1/reset/93 1441s ok 652 /checksum/SHA1/reset/94 1441s ok 653 /checksum/SHA1/reset/95 1441s ok 654 /checksum/SHA1/reset/96 1441s ok 655 /checksum/SHA1/reset/97 1441s ok 656 /checksum/SHA1/reset/98 1441s ok 657 /checksum/SHA1/reset/99 1441s ok 658 /checksum/SHA1/reset/100 1441s ok 659 /checksum/SHA1/reset/101 1441s ok 660 /checksum/SHA1/reset/102 1441s ok 661 /checksum/SHA1/reset/103 1441s ok 662 /checksum/SHA1/reset/104 1441s ok 663 /checksum/SHA1/reset/105 1441s ok 664 /checksum/SHA1/reset/106 1441s ok 665 /checksum/SHA1/reset/107 1441s ok 666 /checksum/SHA1/reset/108 1441s ok 667 /checksum/SHA1/reset/109 1441s ok 668 /checksum/SHA1/reset/110 1441s ok 669 /checksum/SHA1/reset/111 1441s ok 670 /checksum/SHA1/reset/112 1441s ok 671 /checksum/SHA1/reset/113 1441s ok 672 /checksum/SHA1/reset/114 1441s ok 673 /checksum/SHA1/reset/115 1441s ok 674 /checksum/SHA1/reset/116 1441s ok 675 /checksum/SHA1/reset/117 1441s ok 676 /checksum/SHA1/reset/118 1441s ok 677 /checksum/SHA1/reset/119 1441s ok 678 /checksum/SHA1/reset/120 1441s ok 679 /checksum/SHA1/reset/121 1441s ok 680 /checksum/SHA1/reset/122 1441s ok 681 /checksum/SHA1/reset/123 1441s ok 682 /checksum/SHA1/reset/124 1441s ok 683 /checksum/SHA1/reset/125 1441s ok 684 /checksum/SHA1/reset/126 1441s ok 685 /checksum/SHA1/reset/127 1441s ok 686 /checksum/SHA1/reset/128 1441s ok 687 /checksum/SHA1/reset/129 1441s ok 688 /checksum/SHA1/reset/130 1441s ok 689 /checksum/SHA1/reset/131 1441s ok 690 /checksum/SHA1/reset/132 1441s ok 691 /checksum/SHA1/reset/133 1441s ok 692 /checksum/SHA1/reset/134 1441s ok 693 /checksum/SHA1/reset/135 1441s ok 694 /checksum/SHA1/reset/136 1441s ok 695 /checksum/SHA1/reset/137 1441s ok 696 /checksum/SHA1/reset/138 1441s ok 697 /checksum/SHA1/reset/139 1441s ok 698 /checksum/SHA1/reset/140 1441s ok 699 /checksum/SHA1/reset/141 1441s ok 700 /checksum/SHA1/reset/142 1441s ok 701 /checksum/SHA1/reset/143 1441s ok 702 /checksum/SHA1/reset/144 1441s ok 703 /checksum/SHA1/reset/145 1441s ok 704 /checksum/SHA1/reset/146 1441s ok 705 /checksum/SHA1/reset/147 1441s ok 706 /checksum/SHA1/reset/148 1441s ok 707 /checksum/SHA1/reset/149 1441s ok 708 /checksum/SHA1/reset/150 1441s ok 709 /checksum/SHA1/reset/151 1441s ok 710 /checksum/SHA1/reset/152 1441s ok 711 /checksum/SHA1/reset/153 1441s ok 712 /checksum/SHA1/reset/154 1441s ok 713 /checksum/SHA1/reset/155 1441s ok 714 /checksum/SHA1/reset/156 1441s ok 715 /checksum/SHA1/reset/157 1441s ok 716 /checksum/SHA1/reset/158 1441s ok 717 /checksum/SHA1/reset/159 1441s ok 718 /checksum/SHA1/reset/160 1441s ok 719 /checksum/SHA1/reset/161 1441s ok 720 /checksum/SHA1/reset/162 1441s ok 721 /checksum/SHA1/reset/163 1441s ok 722 /checksum/SHA1/reset/164 1441s ok 723 /checksum/SHA1/reset/165 1441s ok 724 /checksum/SHA1/reset/166 1441s ok 725 /checksum/SHA1/reset/167 1441s ok 726 /checksum/SHA1/reset/168 1441s ok 727 /checksum/SHA1/reset/169 1441s ok 728 /checksum/SHA1/reset/170 1441s ok 729 /checksum/SHA1/reset/171 1441s ok 730 /checksum/SHA1/reset/172 1441s ok 731 /checksum/SHA1/reset/173 1441s ok 732 /checksum/SHA1/reset/174 1441s ok 733 /checksum/SHA1/reset/175 1441s ok 734 /checksum/SHA1/reset/176 1441s ok 735 /checksum/SHA1/reset/177 1441s ok 736 /checksum/SHA1/reset/178 1441s ok 737 /checksum/SHA1/reset/179 1441s ok 738 /checksum/SHA1/reset/180 1441s ok 739 /checksum/SHA1/reset/181 1441s ok 740 /checksum/SHA1/reset/182 1441s ok 741 /checksum/SHA1/reset/183 1441s # End of reset tests 1441s # End of SHA1 tests 1441s # Start of SHA256 tests 1441s ok 742 /checksum/SHA256/0 1441s ok 743 /checksum/SHA256/1 1441s ok 744 /checksum/SHA256/2 1441s ok 745 /checksum/SHA256/3 1441s ok 746 /checksum/SHA256/4 1441s ok 747 /checksum/SHA256/5 1441s ok 748 /checksum/SHA256/6 1441s ok 749 /checksum/SHA256/7 1441s ok 750 /checksum/SHA256/8 1441s ok 751 /checksum/SHA256/9 1441s ok 752 /checksum/SHA256/10 1441s ok 753 /checksum/SHA256/11 1441s ok 754 /checksum/SHA256/12 1441s ok 755 /checksum/SHA256/13 1441s ok 756 /checksum/SHA256/14 1441s ok 757 /checksum/SHA256/15 1441s ok 758 /checksum/SHA256/16 1441s ok 759 /checksum/SHA256/17 1441s ok 760 /checksum/SHA256/18 1441s ok 761 /checksum/SHA256/19 1441s ok 762 /checksum/SHA256/20 1441s ok 763 /checksum/SHA256/21 1441s ok 764 /checksum/SHA256/22 1441s ok 765 /checksum/SHA256/23 1441s ok 766 /checksum/SHA256/24 1441s ok 767 /checksum/SHA256/25 1441s ok 768 /checksum/SHA256/26 1441s ok 769 /checksum/SHA256/27 1441s ok 770 /checksum/SHA256/28 1441s ok 771 /checksum/SHA256/29 1441s ok 772 /checksum/SHA256/30 1441s ok 773 /checksum/SHA256/31 1441s ok 774 /checksum/SHA256/32 1441s ok 775 /checksum/SHA256/33 1441s ok 776 /checksum/SHA256/34 1441s ok 777 /checksum/SHA256/35 1441s ok 778 /checksum/SHA256/36 1441s ok 779 /checksum/SHA256/37 1441s ok 780 /checksum/SHA256/38 1441s ok 781 /checksum/SHA256/39 1441s ok 782 /checksum/SHA256/40 1441s ok 783 /checksum/SHA256/41 1441s ok 784 /checksum/SHA256/42 1441s ok 785 /checksum/SHA256/43 1441s ok 786 /checksum/SHA256/44 1441s ok 787 /checksum/SHA256/45 1441s ok 788 /checksum/SHA256/46 1441s ok 789 /checksum/SHA256/47 1441s ok 790 /checksum/SHA256/48 1441s ok 791 /checksum/SHA256/49 1441s ok 792 /checksum/SHA256/50 1441s ok 793 /checksum/SHA256/51 1441s ok 794 /checksum/SHA256/52 1441s ok 795 /checksum/SHA256/53 1441s ok 796 /checksum/SHA256/54 1441s ok 797 /checksum/SHA256/55 1441s ok 798 /checksum/SHA256/56 1441s ok 799 /checksum/SHA256/57 1441s ok 800 /checksum/SHA256/58 1441s ok 801 /checksum/SHA256/59 1441s ok 802 /checksum/SHA256/60 1441s ok 803 /checksum/SHA256/61 1441s ok 804 /checksum/SHA256/62 1441s ok 805 /checksum/SHA256/63 1441s ok 806 /checksum/SHA256/64 1441s ok 807 /checksum/SHA256/65 1441s ok 808 /checksum/SHA256/66 1441s ok 809 /checksum/SHA256/67 1441s ok 810 /checksum/SHA256/68 1441s ok 811 /checksum/SHA256/69 1441s ok 812 /checksum/SHA256/70 1441s ok 813 /checksum/SHA256/71 1441s ok 814 /checksum/SHA256/72 1441s ok 815 /checksum/SHA256/73 1441s ok 816 /checksum/SHA256/74 1441s ok 817 /checksum/SHA256/75 1441s ok 818 /checksum/SHA256/76 1441s ok 819 /checksum/SHA256/77 1441s ok 820 /checksum/SHA256/78 1441s ok 821 /checksum/SHA256/79 1441s ok 822 /checksum/SHA256/80 1441s ok 823 /checksum/SHA256/81 1441s ok 824 /checksum/SHA256/82 1441s ok 825 /checksum/SHA256/83 1441s ok 826 /checksum/SHA256/84 1441s ok 827 /checksum/SHA256/85 1441s ok 828 /checksum/SHA256/86 1441s ok 829 /checksum/SHA256/87 1441s ok 830 /checksum/SHA256/88 1441s ok 831 /checksum/SHA256/89 1441s ok 832 /checksum/SHA256/90 1441s ok 833 /checksum/SHA256/91 1441s ok 834 /checksum/SHA256/92 1441s ok 835 /checksum/SHA256/93 1441s ok 836 /checksum/SHA256/94 1441s ok 837 /checksum/SHA256/95 1441s ok 838 /checksum/SHA256/96 1441s ok 839 /checksum/SHA256/97 1441s ok 840 /checksum/SHA256/98 1441s ok 841 /checksum/SHA256/99 1441s ok 842 /checksum/SHA256/100 1441s ok 843 /checksum/SHA256/101 1441s ok 844 /checksum/SHA256/102 1441s ok 845 /checksum/SHA256/103 1441s ok 846 /checksum/SHA256/104 1441s ok 847 /checksum/SHA256/105 1441s ok 848 /checksum/SHA256/106 1441s ok 849 /checksum/SHA256/107 1441s ok 850 /checksum/SHA256/108 1441s ok 851 /checksum/SHA256/109 1441s ok 852 /checksum/SHA256/110 1441s ok 853 /checksum/SHA256/111 1441s ok 854 /checksum/SHA256/112 1441s ok 855 /checksum/SHA256/113 1441s ok 856 /checksum/SHA256/114 1441s ok 857 /checksum/SHA256/115 1441s ok 858 /checksum/SHA256/116 1441s ok 859 /checksum/SHA256/117 1441s ok 860 /checksum/SHA256/118 1441s ok 861 /checksum/SHA256/119 1441s ok 862 /checksum/SHA256/120 1441s ok 863 /checksum/SHA256/121 1441s ok 864 /checksum/SHA256/122 1441s ok 865 /checksum/SHA256/123 1441s ok 866 /checksum/SHA256/124 1441s ok 867 /checksum/SHA256/125 1441s ok 868 /checksum/SHA256/126 1441s ok 869 /checksum/SHA256/127 1441s ok 870 /checksum/SHA256/128 1441s ok 871 /checksum/SHA256/129 1441s ok 872 /checksum/SHA256/130 1441s ok 873 /checksum/SHA256/131 1441s ok 874 /checksum/SHA256/132 1441s ok 875 /checksum/SHA256/133 1441s ok 876 /checksum/SHA256/134 1441s ok 877 /checksum/SHA256/135 1441s ok 878 /checksum/SHA256/136 1441s ok 879 /checksum/SHA256/137 1441s ok 880 /checksum/SHA256/138 1441s ok 881 /checksum/SHA256/139 1441s ok 882 /checksum/SHA256/140 1441s ok 883 /checksum/SHA256/141 1441s ok 884 /checksum/SHA256/142 1441s ok 885 /checksum/SHA256/143 1441s ok 886 /checksum/SHA256/144 1441s ok 887 /checksum/SHA256/145 1441s ok 888 /checksum/SHA256/146 1441s ok 889 /checksum/SHA256/147 1441s ok 890 /checksum/SHA256/148 1441s ok 891 /checksum/SHA256/149 1441s ok 892 /checksum/SHA256/150 1441s ok 893 /checksum/SHA256/151 1441s ok 894 /checksum/SHA256/152 1441s ok 895 /checksum/SHA256/153 1441s ok 896 /checksum/SHA256/154 1441s ok 897 /checksum/SHA256/155 1441s ok 898 /checksum/SHA256/156 1441s ok 899 /checksum/SHA256/157 1441s ok 900 /checksum/SHA256/158 1441s ok 901 /checksum/SHA256/159 1441s ok 902 /checksum/SHA256/160 1441s ok 903 /checksum/SHA256/161 1441s ok 904 /checksum/SHA256/162 1441s ok 905 /checksum/SHA256/163 1441s ok 906 /checksum/SHA256/164 1441s ok 907 /checksum/SHA256/165 1441s ok 908 /checksum/SHA256/166 1441s ok 909 /checksum/SHA256/167 1441s ok 910 /checksum/SHA256/168 1441s ok 911 /checksum/SHA256/169 1441s ok 912 /checksum/SHA256/170 1441s ok 913 /checksum/SHA256/171 1441s ok 914 /checksum/SHA256/172 1441s ok 915 /checksum/SHA256/173 1441s ok 916 /checksum/SHA256/174 1441s ok 917 /checksum/SHA256/175 1441s ok 918 /checksum/SHA256/176 1441s ok 919 /checksum/SHA256/177 1441s ok 920 /checksum/SHA256/178 1441s ok 921 /checksum/SHA256/179 1441s ok 922 /checksum/SHA256/180 1441s ok 923 /checksum/SHA256/181 1441s ok 924 /checksum/SHA256/182 1441s ok 925 /checksum/SHA256/183 1441s ok 926 /checksum/SHA256/string 1441s ok 927 /checksum/SHA256/bytes 1441s # Start of reset tests 1441s ok 928 /checksum/SHA256/reset/0 1441s ok 929 /checksum/SHA256/reset/1 1441s ok 930 /checksum/SHA256/reset/2 1441s ok 931 /checksum/SHA256/reset/3 1441s ok 932 /checksum/SHA256/reset/4 1441s ok 933 /checksum/SHA256/reset/5 1441s ok 934 /checksum/SHA256/reset/6 1441s ok 935 /checksum/SHA256/reset/7 1441s ok 936 /checksum/SHA256/reset/8 1441s ok 937 /checksum/SHA256/reset/9 1441s ok 938 /checksum/SHA256/reset/10 1441s ok 939 /checksum/SHA256/reset/11 1441s ok 940 /checksum/SHA256/reset/12 1441s ok 941 /checksum/SHA256/reset/13 1441s ok 942 /checksum/SHA256/reset/14 1441s ok 943 /checksum/SHA256/reset/15 1441s ok 944 /checksum/SHA256/reset/16 1441s ok 945 /checksum/SHA256/reset/17 1441s ok 946 /checksum/SHA256/reset/18 1441s ok 947 /checksum/SHA256/reset/19 1441s ok 948 /checksum/SHA256/reset/20 1441s ok 949 /checksum/SHA256/reset/21 1441s ok 950 /checksum/SHA256/reset/22 1441s ok 951 /checksum/SHA256/reset/23 1441s ok 952 /checksum/SHA256/reset/24 1441s ok 953 /checksum/SHA256/reset/25 1441s ok 954 /checksum/SHA256/reset/26 1441s ok 955 /checksum/SHA256/reset/27 1441s ok 956 /checksum/SHA256/reset/28 1441s ok 957 /checksum/SHA256/reset/29 1441s ok 958 /checksum/SHA256/reset/30 1441s ok 959 /checksum/SHA256/reset/31 1441s ok 960 /checksum/SHA256/reset/32 1441s ok 961 /checksum/SHA256/reset/33 1441s ok 962 /checksum/SHA256/reset/34 1441s ok 963 /checksum/SHA256/reset/35 1441s ok 964 /checksum/SHA256/reset/36 1441s ok 965 /checksum/SHA256/reset/37 1441s ok 966 /checksum/SHA256/reset/38 1441s ok 967 /checksum/SHA256/reset/39 1441s ok 968 /checksum/SHA256/reset/40 1441s ok 969 /checksum/SHA256/reset/41 1441s ok 970 /checksum/SHA256/reset/42 1441s ok 971 /checksum/SHA256/reset/43 1441s ok 972 /checksum/SHA256/reset/44 1441s ok 973 /checksum/SHA256/reset/45 1441s ok 974 /checksum/SHA256/reset/46 1441s ok 975 /checksum/SHA256/reset/47 1441s ok 976 /checksum/SHA256/reset/48 1441s ok 977 /checksum/SHA256/reset/49 1441s ok 978 /checksum/SHA256/reset/50 1441s ok 979 /checksum/SHA256/reset/51 1441s ok 980 /checksum/SHA256/reset/52 1441s ok 981 /checksum/SHA256/reset/53 1441s ok 982 /checksum/SHA256/reset/54 1441s ok 983 /checksum/SHA256/reset/55 1441s ok 984 /checksum/SHA256/reset/56 1441s ok 985 /checksum/SHA256/reset/57 1441s ok 986 /checksum/SHA256/reset/58 1441s ok 987 /checksum/SHA256/reset/59 1441s ok 988 /checksum/SHA256/reset/60 1441s ok 989 /checksum/SHA256/reset/61 1441s ok 990 /checksum/SHA256/reset/62 1441s ok 991 /checksum/SHA256/reset/63 1441s ok 992 /checksum/SHA256/reset/64 1441s ok 993 /checksum/SHA256/reset/65 1441s ok 994 /checksum/SHA256/reset/66 1441s ok 995 /checksum/SHA256/reset/67 1441s ok 996 /checksum/SHA256/reset/68 1441s ok 997 /checksum/SHA256/reset/69 1441s ok 998 /checksum/SHA256/reset/70 1441s ok 999 /checksum/SHA256/reset/71 1441s ok 1000 /checksum/SHA256/reset/72 1441s ok 1001 /checksum/SHA256/reset/73 1441s ok 1002 /checksum/SHA256/reset/74 1441s ok 1003 /checksum/SHA256/reset/75 1441s ok 1004 /checksum/SHA256/reset/76 1441s ok 1005 /checksum/SHA256/reset/77 1441s ok 1006 /checksum/SHA256/reset/78 1441s ok 1007 /checksum/SHA256/reset/79 1441s ok 1008 /checksum/SHA256/reset/80 1441s ok 1009 /checksum/SHA256/reset/81 1441s ok 1010 /checksum/SHA256/reset/82 1441s ok 1011 /checksum/SHA256/reset/83 1441s ok 1012 /checksum/SHA256/reset/84 1441s ok 1013 /checksum/SHA256/reset/85 1441s ok 1014 /checksum/SHA256/reset/86 1441s ok 1015 /checksum/SHA256/reset/87 1441s ok 1016 /checksum/SHA256/reset/88 1441s ok 1017 /checksum/SHA256/reset/89 1441s ok 1018 /checksum/SHA256/reset/90 1441s ok 1019 /checksum/SHA256/reset/91 1441s ok 1020 /checksum/SHA256/reset/92 1441s ok 1021 /checksum/SHA256/reset/93 1441s ok 1022 /checksum/SHA256/reset/94 1441s ok 1023 /checksum/SHA256/reset/95 1441s ok 1024 /checksum/SHA256/reset/96 1441s ok 1025 /checksum/SHA256/reset/97 1441s ok 1026 /checksum/SHA256/reset/98 1441s ok 1027 /checksum/SHA256/reset/99 1441s ok 1028 /checksum/SHA256/reset/100 1441s ok 1029 /checksum/SHA256/reset/101 1441s ok 1030 /checksum/SHA256/reset/102 1441s ok 1031 /checksum/SHA256/reset/103 1441s ok 1032 /checksum/SHA256/reset/104 1441s ok 1033 /checksum/SHA256/reset/105 1441s ok 1034 /checksum/SHA256/reset/106 1441s ok 1035 /checksum/SHA256/reset/107 1441s ok 1036 /checksum/SHA256/reset/108 1441s ok 1037 /checksum/SHA256/reset/109 1441s ok 1038 /checksum/SHA256/reset/110 1441s ok 1039 /checksum/SHA256/reset/111 1441s ok 1040 /checksum/SHA256/reset/112 1441s ok 1041 /checksum/SHA256/reset/113 1441s ok 1042 /checksum/SHA256/reset/114 1441s ok 1043 /checksum/SHA256/reset/115 1441s ok 1044 /checksum/SHA256/reset/116 1441s ok 1045 /checksum/SHA256/reset/117 1441s ok 1046 /checksum/SHA256/reset/118 1441s ok 1047 /checksum/SHA256/reset/119 1441s ok 1048 /checksum/SHA256/reset/120 1441s ok 1049 /checksum/SHA256/reset/121 1441s ok 1050 /checksum/SHA256/reset/122 1441s ok 1051 /checksum/SHA256/reset/123 1441s ok 1052 /checksum/SHA256/reset/124 1441s ok 1053 /checksum/SHA256/reset/125 1441s ok 1054 /checksum/SHA256/reset/126 1441s ok 1055 /checksum/SHA256/reset/127 1441s ok 1056 /checksum/SHA256/reset/128 1441s ok 1057 /checksum/SHA256/reset/129 1441s ok 1058 /checksum/SHA256/reset/130 1441s ok 1059 /checksum/SHA256/reset/131 1441s ok 1060 /checksum/SHA256/reset/132 1441s ok 1061 /checksum/SHA256/reset/133 1441s ok 1062 /checksum/SHA256/reset/134 1441s ok 1063 /checksum/SHA256/reset/135 1441s ok 1064 /checksum/SHA256/reset/136 1441s ok 1065 /checksum/SHA256/reset/137 1441s ok 1066 /checksum/SHA256/reset/138 1441s ok 1067 /checksum/SHA256/reset/139 1441s ok 1068 /checksum/SHA256/reset/140 1441s ok 1069 /checksum/SHA256/reset/141 1441s ok 1070 /checksum/SHA256/reset/142 1441s ok 1071 /checksum/SHA256/reset/143 1441s ok 1072 /checksum/SHA256/reset/144 1441s ok 1073 /checksum/SHA256/reset/145 1441s ok 1074 /checksum/SHA256/reset/146 1441s ok 1075 /checksum/SHA256/reset/147 1441s ok 1076 /checksum/SHA256/reset/148 1441s ok 1077 /checksum/SHA256/reset/149 1441s ok 1078 /checksum/SHA256/reset/150 1441s ok 1079 /checksum/SHA256/reset/151 1441s ok 1080 /checksum/SHA256/reset/152 1441s ok 1081 /checksum/SHA256/reset/153 1441s ok 1082 /checksum/SHA256/reset/154 1441s ok 1083 /checksum/SHA256/reset/155 1441s ok 1084 /checksum/SHA256/reset/156 1441s ok 1085 /checksum/SHA256/reset/157 1441s ok 1086 /checksum/SHA256/reset/158 1441s ok 1087 /checksum/SHA256/reset/159 1441s ok 1088 /checksum/SHA256/reset/160 1441s ok 1089 /checksum/SHA256/reset/161 1441s ok 1090 /checksum/SHA256/reset/162 1441s ok 1091 /checksum/SHA256/reset/163 1441s ok 1092 /checksum/SHA256/reset/164 1441s ok 1093 /checksum/SHA256/reset/165 1441s ok 1094 /checksum/SHA256/reset/166 1441s ok 1095 /checksum/SHA256/reset/167 1441s ok 1096 /checksum/SHA256/reset/168 1441s ok 1097 /checksum/SHA256/reset/169 1441s ok 1098 /checksum/SHA256/reset/170 1441s ok 1099 /checksum/SHA256/reset/171 1441s ok 1100 /checksum/SHA256/reset/172 1441s ok 1101 /checksum/SHA256/reset/173 1441s ok 1102 /checksum/SHA256/reset/174 1441s ok 1103 /checksum/SHA256/reset/175 1441s ok 1104 /checksum/SHA256/reset/176 1441s ok 1105 /checksum/SHA256/reset/177 1441s ok 1106 /checksum/SHA256/reset/178 1441s ok 1107 /checksum/SHA256/reset/179 1441s ok 1108 /checksum/SHA256/reset/180 1441s ok 1109 /checksum/SHA256/reset/181 1441s ok 1110 /checksum/SHA256/reset/182 1441s ok 1111 /checksum/SHA256/reset/183 1441s # End of reset tests 1441s # End of SHA256 tests 1441s # Start of SHA384 tests 1441s ok 1112 /checksum/SHA384/0 1441s ok 1113 /checksum/SHA384/1 1441s ok 1114 /checksum/SHA384/2 1441s ok 1115 /checksum/SHA384/3 1441s ok 1116 /checksum/SHA384/4 1441s ok 1117 /checksum/SHA384/5 1441s ok 1118 /checksum/SHA384/6 1441s ok 1119 /checksum/SHA384/7 1441s ok 1120 /checksum/SHA384/8 1441s ok 1121 /checksum/SHA384/9 1441s ok 1122 /checksum/SHA384/10 1441s ok 1123 /checksum/SHA384/11 1441s ok 1124 /checksum/SHA384/12 1441s ok 1125 /checksum/SHA384/13 1441s ok 1126 /checksum/SHA384/14 1441s ok 1127 /checksum/SHA384/15 1441s ok 1128 /checksum/SHA384/16 1441s ok 1129 /checksum/SHA384/17 1441s ok 1130 /checksum/SHA384/18 1441s ok 1131 /checksum/SHA384/19 1441s ok 1132 /checksum/SHA384/20 1441s ok 1133 /checksum/SHA384/21 1441s ok 1134 /checksum/SHA384/22 1441s ok 1135 /checksum/SHA384/23 1441s ok 1136 /checksum/SHA384/24 1441s ok 1137 /checksum/SHA384/25 1441s ok 1138 /checksum/SHA384/26 1441s ok 1139 /checksum/SHA384/27 1441s ok 1140 /checksum/SHA384/28 1441s ok 1141 /checksum/SHA384/29 1441s ok 1142 /checksum/SHA384/30 1441s ok 1143 /checksum/SHA384/31 1441s ok 1144 /checksum/SHA384/32 1441s ok 1145 /checksum/SHA384/33 1441s ok 1146 /checksum/SHA384/34 1441s ok 1147 /checksum/SHA384/35 1441s ok 1148 /checksum/SHA384/36 1441s ok 1149 /checksum/SHA384/37 1441s ok 1150 /checksum/SHA384/38 1441s ok 1151 /checksum/SHA384/39 1441s ok 1152 /checksum/SHA384/40 1441s ok 1153 /checksum/SHA384/41 1441s ok 1154 /checksum/SHA384/42 1441s ok 1155 /checksum/SHA384/43 1441s ok 1156 /checksum/SHA384/44 1441s ok 1157 /checksum/SHA384/45 1441s ok 1158 /checksum/SHA384/46 1441s ok 1159 /checksum/SHA384/47 1441s ok 1160 /checksum/SHA384/48 1441s ok 1161 /checksum/SHA384/49 1441s ok 1162 /checksum/SHA384/50 1441s ok 1163 /checksum/SHA384/51 1441s ok 1164 /checksum/SHA384/52 1441s ok 1165 /checksum/SHA384/53 1441s ok 1166 /checksum/SHA384/54 1441s ok 1167 /checksum/SHA384/55 1441s ok 1168 /checksum/SHA384/56 1441s ok 1169 /checksum/SHA384/57 1441s ok 1170 /checksum/SHA384/58 1441s ok 1171 /checksum/SHA384/59 1441s ok 1172 /checksum/SHA384/60 1441s ok 1173 /checksum/SHA384/61 1441s ok 1174 /checksum/SHA384/62 1441s ok 1175 /checksum/SHA384/63 1441s ok 1176 /checksum/SHA384/64 1441s ok 1177 /checksum/SHA384/65 1441s ok 1178 /checksum/SHA384/66 1441s ok 1179 /checksum/SHA384/67 1441s ok 1180 /checksum/SHA384/68 1441s ok 1181 /checksum/SHA384/69 1441s ok 1182 /checksum/SHA384/70 1441s ok 1183 /checksum/SHA384/71 1441s ok 1184 /checksum/SHA384/72 1441s ok 1185 /checksum/SHA384/73 1441s ok 1186 /checksum/SHA384/74 1441s ok 1187 /checksum/SHA384/75 1441s ok 1188 /checksum/SHA384/76 1441s ok 1189 /checksum/SHA384/77 1441s ok 1190 /checksum/SHA384/78 1441s ok 1191 /checksum/SHA384/79 1441s ok 1192 /checksum/SHA384/80 1441s ok 1193 /checksum/SHA384/81 1441s ok 1194 /checksum/SHA384/82 1441s ok 1195 /checksum/SHA384/83 1441s ok 1196 /checksum/SHA384/84 1441s ok 1197 /checksum/SHA384/85 1441s ok 1198 /checksum/SHA384/86 1441s ok 1199 /checksum/SHA384/87 1441s ok 1200 /checksum/SHA384/88 1441s ok 1201 /checksum/SHA384/89 1441s ok 1202 /checksum/SHA384/90 1441s ok 1203 /checksum/SHA384/91 1441s ok 1204 /checksum/SHA384/92 1441s ok 1205 /checksum/SHA384/93 1441s ok 1206 /checksum/SHA384/94 1441s ok 1207 /checksum/SHA384/95 1441s ok 1208 /checksum/SHA384/96 1441s ok 1209 /checksum/SHA384/97 1441s ok 1210 /checksum/SHA384/98 1441s ok 1211 /checksum/SHA384/99 1441s ok 1212 /checksum/SHA384/100 1441s ok 1213 /checksum/SHA384/101 1441s ok 1214 /checksum/SHA384/102 1441s ok 1215 /checksum/SHA384/103 1441s ok 1216 /checksum/SHA384/104 1441s ok 1217 /checksum/SHA384/105 1441s ok 1218 /checksum/SHA384/106 1441s ok 1219 /checksum/SHA384/107 1441s ok 1220 /checksum/SHA384/108 1441s ok 1221 /checksum/SHA384/109 1441s ok 1222 /checksum/SHA384/110 1441s ok 1223 /checksum/SHA384/111 1441s ok 1224 /checksum/SHA384/112 1441s ok 1225 /checksum/SHA384/113 1441s ok 1226 /checksum/SHA384/114 1441s ok 1227 /checksum/SHA384/115 1441s ok 1228 /checksum/SHA384/116 1441s ok 1229 /checksum/SHA384/117 1441s ok 1230 /checksum/SHA384/118 1441s ok 1231 /checksum/SHA384/119 1441s ok 1232 /checksum/SHA384/120 1441s ok 1233 /checksum/SHA384/121 1441s ok 1234 /checksum/SHA384/122 1441s ok 1235 /checksum/SHA384/123 1441s ok 1236 /checksum/SHA384/124 1441s ok 1237 /checksum/SHA384/125 1441s ok 1238 /checksum/SHA384/126 1441s ok 1239 /checksum/SHA384/127 1441s ok 1240 /checksum/SHA384/128 1441s ok 1241 /checksum/SHA384/129 1441s ok 1242 /checksum/SHA384/130 1441s ok 1243 /checksum/SHA384/131 1441s ok 1244 /checksum/SHA384/132 1441s ok 1245 /checksum/SHA384/133 1441s ok 1246 /checksum/SHA384/134 1441s ok 1247 /checksum/SHA384/135 1441s ok 1248 /checksum/SHA384/136 1441s ok 1249 /checksum/SHA384/137 1441s ok 1250 /checksum/SHA384/138 1441s ok 1251 /checksum/SHA384/139 1441s ok 1252 /checksum/SHA384/140 1441s ok 1253 /checksum/SHA384/141 1441s ok 1254 /checksum/SHA384/142 1441s ok 1255 /checksum/SHA384/143 1441s ok 1256 /checksum/SHA384/144 1441s ok 1257 /checksum/SHA384/145 1441s ok 1258 /checksum/SHA384/146 1441s ok 1259 /checksum/SHA384/147 1441s ok 1260 /checksum/SHA384/148 1441s ok 1261 /checksum/SHA384/149 1441s ok 1262 /checksum/SHA384/150 1441s ok 1263 /checksum/SHA384/151 1441s ok 1264 /checksum/SHA384/152 1441s ok 1265 /checksum/SHA384/153 1441s ok 1266 /checksum/SHA384/154 1441s ok 1267 /checksum/SHA384/155 1441s ok 1268 /checksum/SHA384/156 1441s ok 1269 /checksum/SHA384/157 1441s ok 1270 /checksum/SHA384/158 1441s ok 1271 /checksum/SHA384/159 1441s ok 1272 /checksum/SHA384/160 1441s ok 1273 /checksum/SHA384/161 1441s ok 1274 /checksum/SHA384/162 1441s ok 1275 /checksum/SHA384/163 1441s ok 1276 /checksum/SHA384/164 1441s ok 1277 /checksum/SHA384/165 1441s ok 1278 /checksum/SHA384/166 1441s ok 1279 /checksum/SHA384/167 1441s ok 1280 /checksum/SHA384/168 1441s ok 1281 /checksum/SHA384/169 1441s ok 1282 /checksum/SHA384/170 1441s ok 1283 /checksum/SHA384/171 1441s ok 1284 /checksum/SHA384/172 1441s ok 1285 /checksum/SHA384/173 1441s ok 1286 /checksum/SHA384/174 1441s ok 1287 /checksum/SHA384/175 1441s ok 1288 /checksum/SHA384/176 1441s ok 1289 /checksum/SHA384/177 1441s ok 1290 /checksum/SHA384/178 1441s ok 1291 /checksum/SHA384/179 1441s ok 1292 /checksum/SHA384/180 1441s ok 1293 /checksum/SHA384/181 1441s ok 1294 /checksum/SHA384/182 1441s ok 1295 /checksum/SHA384/183 1441s ok 1296 /checksum/SHA384/string 1441s ok 1297 /checksum/SHA384/bytes 1441s # Start of reset tests 1441s ok 1298 /checksum/SHA384/reset/0 1441s ok 1299 /checksum/SHA384/reset/1 1441s ok 1300 /checksum/SHA384/reset/2 1441s ok 1301 /checksum/SHA384/reset/3 1441s ok 1302 /checksum/SHA384/reset/4 1441s ok 1303 /checksum/SHA384/reset/5 1441s ok 1304 /checksum/SHA384/reset/6 1441s ok 1305 /checksum/SHA384/reset/7 1441s ok 1306 /checksum/SHA384/reset/8 1441s ok 1307 /checksum/SHA384/reset/9 1441s ok 1308 /checksum/SHA384/reset/10 1441s ok 1309 /checksum/SHA384/reset/11 1441s ok 1310 /checksum/SHA384/reset/12 1441s ok 1311 /checksum/SHA384/reset/13 1441s ok 1312 /checksum/SHA384/reset/14 1441s ok 1313 /checksum/SHA384/reset/15 1441s ok 1314 /checksum/SHA384/reset/16 1441s ok 1315 /checksum/SHA384/reset/17 1441s ok 1316 /checksum/SHA384/reset/18 1441s ok 1317 /checksum/SHA384/reset/19 1441s ok 1318 /checksum/SHA384/reset/20 1441s ok 1319 /checksum/SHA384/reset/21 1441s ok 1320 /checksum/SHA384/reset/22 1441s ok 1321 /checksum/SHA384/reset/23 1441s ok 1322 /checksum/SHA384/reset/24 1441s ok 1323 /checksum/SHA384/reset/25 1441s ok 1324 /checksum/SHA384/reset/26 1441s ok 1325 /checksum/SHA384/reset/27 1441s ok 1326 /checksum/SHA384/reset/28 1441s ok 1327 /checksum/SHA384/reset/29 1441s ok 1328 /checksum/SHA384/reset/30 1441s ok 1329 /checksum/SHA384/reset/31 1441s ok 1330 /checksum/SHA384/reset/32 1441s ok 1331 /checksum/SHA384/reset/33 1441s ok 1332 /checksum/SHA384/reset/34 1441s ok 1333 /checksum/SHA384/reset/35 1441s ok 1334 /checksum/SHA384/reset/36 1441s ok 1335 /checksum/SHA384/reset/37 1441s ok 1336 /checksum/SHA384/reset/38 1441s ok 1337 /checksum/SHA384/reset/39 1441s ok 1338 /checksum/SHA384/reset/40 1441s ok 1339 /checksum/SHA384/reset/41 1441s ok 1340 /checksum/SHA384/reset/42 1441s ok 1341 /checksum/SHA384/reset/43 1441s ok 1342 /checksum/SHA384/reset/44 1441s ok 1343 /checksum/SHA384/reset/45 1441s ok 1344 /checksum/SHA384/reset/46 1441s ok 1345 /checksum/SHA384/reset/47 1441s ok 1346 /checksum/SHA384/reset/48 1441s ok 1347 /checksum/SHA384/reset/49 1441s ok 1348 /checksum/SHA384/reset/50 1441s ok 1349 /checksum/SHA384/reset/51 1441s ok 1350 /checksum/SHA384/reset/52 1441s ok 1351 /checksum/SHA384/reset/53 1441s ok 1352 /checksum/SHA384/reset/54 1441s ok 1353 /checksum/SHA384/reset/55 1441s ok 1354 /checksum/SHA384/reset/56 1441s ok 1355 /checksum/SHA384/reset/57 1441s ok 1356 /checksum/SHA384/reset/58 1441s ok 1357 /checksum/SHA384/reset/59 1441s ok 1358 /checksum/SHA384/reset/60 1441s ok 1359 /checksum/SHA384/reset/61 1441s ok 1360 /checksum/SHA384/reset/62 1441s ok 1361 /checksum/SHA384/reset/63 1441s ok 1362 /checksum/SHA384/reset/64 1441s ok 1363 /checksum/SHA384/reset/65 1441s ok 1364 /checksum/SHA384/reset/66 1441s ok 1365 /checksum/SHA384/reset/67 1441s ok 1366 /checksum/SHA384/reset/68 1441s ok 1367 /checksum/SHA384/reset/69 1441s ok 1368 /checksum/SHA384/reset/70 1441s ok 1369 /checksum/SHA384/reset/71 1441s ok 1370 /checksum/SHA384/reset/72 1441s ok 1371 /checksum/SHA384/reset/73 1441s ok 1372 /checksum/SHA384/reset/74 1441s ok 1373 /checksum/SHA384/reset/75 1441s ok 1374 /checksum/SHA384/reset/76 1441s ok 1375 /checksum/SHA384/reset/77 1441s ok 1376 /checksum/SHA384/reset/78 1441s ok 1377 /checksum/SHA384/reset/79 1441s ok 1378 /checksum/SHA384/reset/80 1441s ok 1379 /checksum/SHA384/reset/81 1441s ok 1380 /checksum/SHA384/reset/82 1441s ok 1381 /checksum/SHA384/reset/83 1441s ok 1382 /checksum/SHA384/reset/84 1441s ok 1383 /checksum/SHA384/reset/85 1441s ok 1384 /checksum/SHA384/reset/86 1441s ok 1385 /checksum/SHA384/reset/87 1441s ok 1386 /checksum/SHA384/reset/88 1441s ok 1387 /checksum/SHA384/reset/89 1441s ok 1388 /checksum/SHA384/reset/90 1441s ok 1389 /checksum/SHA384/reset/91 1441s ok 1390 /checksum/SHA384/reset/92 1441s ok 1391 /checksum/SHA384/reset/93 1441s ok 1392 /checksum/SHA384/reset/94 1441s ok 1393 /checksum/SHA384/reset/95 1441s ok 1394 /checksum/SHA384/reset/96 1441s ok 1395 /checksum/SHA384/reset/97 1441s ok 1396 /checksum/SHA384/reset/98 1441s ok 1397 /checksum/SHA384/reset/99 1441s ok 1398 /checksum/SHA384/reset/100 1441s ok 1399 /checksum/SHA384/reset/101 1441s ok 1400 /checksum/SHA384/reset/102 1441s ok 1401 /checksum/SHA384/reset/103 1441s ok 1402 /checksum/SHA384/reset/104 1441s ok 1403 /checksum/SHA384/reset/105 1441s ok 1404 /checksum/SHA384/reset/106 1441s ok 1405 /checksum/SHA384/reset/107 1441s ok 1406 /checksum/SHA384/reset/108 1441s ok 1407 /checksum/SHA384/reset/109 1441s ok 1408 /checksum/SHA384/reset/110 1441s ok 1409 /checksum/SHA384/reset/111 1441s ok 1410 /checksum/SHA384/reset/112 1441s ok 1411 /checksum/SHA384/reset/113 1441s ok 1412 /checksum/SHA384/reset/114 1441s ok 1413 /checksum/SHA384/reset/115 1441s ok 1414 /checksum/SHA384/reset/116 1441s ok 1415 /checksum/SHA384/reset/117 1441s ok 1416 /checksum/SHA384/reset/118 1441s ok 1417 /checksum/SHA384/reset/119 1441s ok 1418 /checksum/SHA384/reset/120 1441s ok 1419 /checksum/SHA384/reset/121 1441s ok 1420 /checksum/SHA384/reset/122 1441s ok 1421 /checksum/SHA384/reset/123 1441s ok 1422 /checksum/SHA384/reset/124 1441s ok 1423 /checksum/SHA384/reset/125 1441s ok 1424 /checksum/SHA384/reset/126 1441s ok 1425 /checksum/SHA384/reset/127 1441s ok 1426 /checksum/SHA384/reset/128 1441s ok 1427 /checksum/SHA384/reset/129 1441s ok 1428 /checksum/SHA384/reset/130 1441s ok 1429 /checksum/SHA384/reset/131 1441s ok 1430 /checksum/SHA384/reset/132 1441s ok 1431 /checksum/SHA384/reset/133 1441s ok 1432 /checksum/SHA384/reset/134 1441s ok 1433 /checksum/SHA384/reset/135 1441s ok 1434 /checksum/SHA384/reset/136 1441s ok 1435 /checksum/SHA384/reset/137 1441s ok 1436 /checksum/SHA384/reset/138 1441s ok 1437 /checksum/SHA384/reset/139 1441s ok 1438 /checksum/SHA384/reset/140 1441s ok 1439 /checksum/SHA384/reset/141 1441s ok 1440 /checksum/SHA384/reset/142 1441s ok 1441 /checksum/SHA384/reset/143 1441s ok 1442 /checksum/SHA384/reset/144 1441s ok 1443 /checksum/SHA384/reset/145 1441s ok 1444 /checksum/SHA384/reset/146 1441s ok 1445 /checksum/SHA384/reset/147 1441s ok 1446 /checksum/SHA384/reset/148 1441s ok 1447 /checksum/SHA384/reset/149 1441s ok 1448 /checksum/SHA384/reset/150 1441s ok 1449 /checksum/SHA384/reset/151 1441s ok 1450 /checksum/SHA384/reset/152 1441s ok 1451 /checksum/SHA384/reset/153 1441s ok 1452 /checksum/SHA384/reset/154 1441s ok 1453 /checksum/SHA384/reset/155 1441s ok 1454 /checksum/SHA384/reset/156 1441s ok 1455 /checksum/SHA384/reset/157 1441s ok 1456 /checksum/SHA384/reset/158 1441s ok 1457 /checksum/SHA384/reset/159 1441s ok 1458 /checksum/SHA384/reset/160 1441s ok 1459 /checksum/SHA384/reset/161 1441s ok 1460 /checksum/SHA384/reset/162 1441s ok 1461 /checksum/SHA384/reset/163 1441s ok 1462 /checksum/SHA384/reset/164 1441s ok 1463 /checksum/SHA384/reset/165 1441s ok 1464 /checksum/SHA384/reset/166 1441s ok 1465 /checksum/SHA384/reset/167 1441s ok 1466 /checksum/SHA384/reset/168 1441s ok 1467 /checksum/SHA384/reset/169 1441s ok 1468 /checksum/SHA384/reset/170 1441s ok 1469 /checksum/SHA384/reset/171 1441s ok 1470 /checksum/SHA384/reset/172 1441s ok 1471 /checksum/SHA384/reset/173 1441s ok 1472 /checksum/SHA384/reset/174 1441s ok 1473 /checksum/SHA384/reset/175 1441s ok 1474 /checksum/SHA384/reset/176 1441s ok 1475 /checksum/SHA384/reset/177 1441s ok 1476 /checksum/SHA384/reset/178 1441s ok 1477 /checksum/SHA384/reset/179 1441s ok 1478 /checksum/SHA384/reset/180 1441s ok 1479 /checksum/SHA384/reset/181 1441s ok 1480 /checksum/SHA384/reset/182 1441s ok 1481 /checksum/SHA384/reset/183 1441s # End of reset tests 1441s # End of SHA384 tests 1441s # Start of SHA512 tests 1441s ok 1482 /checksum/SHA512/0 1441s ok 1483 /checksum/SHA512/1 1441s ok 1484 /checksum/SHA512/2 1441s ok 1485 /checksum/SHA512/3 1441s ok 1486 /checksum/SHA512/4 1441s ok 1487 /checksum/SHA512/5 1441s ok 1488 /checksum/SHA512/6 1441s ok 1489 /checksum/SHA512/7 1441s ok 1490 /checksum/SHA512/8 1441s ok 1491 /checksum/SHA512/9 1441s ok 1492 /checksum/SHA512/10 1441s ok 1493 /checksum/SHA512/11 1441s ok 1494 /checksum/SHA512/12 1441s ok 1495 /checksum/SHA512/13 1441s ok 1496 /checksum/SHA512/14 1441s ok 1497 /checksum/SHA512/15 1441s ok 1498 /checksum/SHA512/16 1441s ok 1499 /checksum/SHA512/17 1441s ok 1500 /checksum/SHA512/18 1441s ok 1501 /checksum/SHA512/19 1441s ok 1502 /checksum/SHA512/20 1441s ok 1503 /checksum/SHA512/21 1441s ok 1504 /checksum/SHA512/22 1441s ok 1505 /checksum/SHA512/23 1441s ok 1506 /checksum/SHA512/24 1441s ok 1507 /checksum/SHA512/25 1441s ok 1508 /checksum/SHA512/26 1441s ok 1509 /checksum/SHA512/27 1441s ok 1510 /checksum/SHA512/28 1441s ok 1511 /checksum/SHA512/29 1441s ok 1512 /checksum/SHA512/30 1441s ok 1513 /checksum/SHA512/31 1441s ok 1514 /checksum/SHA512/32 1441s ok 1515 /checksum/SHA512/33 1441s ok 1516 /checksum/SHA512/34 1441s ok 1517 /checksum/SHA512/35 1441s ok 1518 /checksum/SHA512/36 1441s ok 1519 /checksum/SHA512/37 1441s ok 1520 /checksum/SHA512/38 1441s ok 1521 /checksum/SHA512/39 1441s ok 1522 /checksum/SHA512/40 1441s ok 1523 /checksum/SHA512/41 1441s ok 1524 /checksum/SHA512/42 1441s ok 1525 /checksum/SHA512/43 1441s ok 1526 /checksum/SHA512/44 1441s ok 1527 /checksum/SHA512/45 1441s ok 1528 /checksum/SHA512/46 1441s ok 1529 /checksum/SHA512/47 1441s ok 1530 /checksum/SHA512/48 1441s ok 1531 /checksum/SHA512/49 1441s ok 1532 /checksum/SHA512/50 1441s ok 1533 /checksum/SHA512/51 1441s ok 1534 /checksum/SHA512/52 1441s ok 1535 /checksum/SHA512/53 1441s ok 1536 /checksum/SHA512/54 1441s ok 1537 /checksum/SHA512/55 1441s ok 1538 /checksum/SHA512/56 1441s ok 1539 /checksum/SHA512/57 1441s ok 1540 /checksum/SHA512/58 1441s ok 1541 /checksum/SHA512/59 1441s ok 1542 /checksum/SHA512/60 1441s ok 1543 /checksum/SHA512/61 1441s ok 1544 /checksum/SHA512/62 1441s ok 1545 /checksum/SHA512/63 1441s ok 1546 /checksum/SHA512/64 1441s ok 1547 /checksum/SHA512/65 1441s ok 1548 /checksum/SHA512/66 1441s ok 1549 /checksum/SHA512/67 1441s ok 1550 /checksum/SHA512/68 1441s ok 1551 /checksum/SHA512/69 1441s ok 1552 /checksum/SHA512/70 1441s ok 1553 /checksum/SHA512/71 1441s ok 1554 /checksum/SHA512/72 1441s ok 1555 /checksum/SHA512/73 1441s ok 1556 /checksum/SHA512/74 1441s ok 1557 /checksum/SHA512/75 1441s ok 1558 /checksum/SHA512/76 1441s ok 1559 /checksum/SHA512/77 1441s ok 1560 /checksum/SHA512/78 1441s ok 1561 /checksum/SHA512/79 1441s ok 1562 /checksum/SHA512/80 1441s ok 1563 /checksum/SHA512/81 1441s ok 1564 /checksum/SHA512/82 1441s ok 1565 /checksum/SHA512/83 1441s ok 1566 /checksum/SHA512/84 1441s ok 1567 /checksum/SHA512/85 1441s ok 1568 /checksum/SHA512/86 1441s ok 1569 /checksum/SHA512/87 1441s ok 1570 /checksum/SHA512/88 1441s ok 1571 /checksum/SHA512/89 1441s ok 1572 /checksum/SHA512/90 1441s ok 1573 /checksum/SHA512/91 1441s ok 1574 /checksum/SHA512/92 1441s ok 1575 /checksum/SHA512/93 1441s ok 1576 /checksum/SHA512/94 1441s ok 1577 /checksum/SHA512/95 1441s ok 1578 /checksum/SHA512/96 1441s ok 1579 /checksum/SHA512/97 1441s ok 1580 /checksum/SHA512/98 1441s ok 1581 /checksum/SHA512/99 1441s ok 1582 /checksum/SHA512/100 1441s ok 1583 /checksum/SHA512/101 1441s ok 1584 /checksum/SHA512/102 1441s ok 1585 /checksum/SHA512/103 1441s ok 1586 /checksum/SHA512/104 1441s ok 1587 /checksum/SHA512/105 1441s ok 1588 /checksum/SHA512/106 1441s ok 1589 /checksum/SHA512/107 1441s ok 1590 /checksum/SHA512/108 1441s ok 1591 /checksum/SHA512/109 1441s ok 1592 /checksum/SHA512/110 1441s ok 1593 /checksum/SHA512/111 1441s ok 1594 /checksum/SHA512/112 1441s ok 1595 /checksum/SHA512/113 1441s ok 1596 /checksum/SHA512/114 1441s ok 1597 /checksum/SHA512/115 1441s ok 1598 /checksum/SHA512/116 1441s ok 1599 /checksum/SHA512/117 1441s ok 1600 /checksum/SHA512/118 1441s ok 1601 /checksum/SHA512/119 1441s ok 1602 /checksum/SHA512/120 1441s ok 1603 /checksum/SHA512/121 1441s ok 1604 /checksum/SHA512/122 1441s ok 1605 /checksum/SHA512/123 1441s ok 1606 /checksum/SHA512/124 1441s ok 1607 /checksum/SHA512/125 1441s ok 1608 /checksum/SHA512/126 1441s ok 1609 /checksum/SHA512/127 1441s ok 1610 /checksum/SHA512/128 1441s ok 1611 /checksum/SHA512/129 1441s ok 1612 /checksum/SHA512/130 1441s ok 1613 /checksum/SHA512/131 1441s ok 1614 /checksum/SHA512/132 1441s ok 1615 /checksum/SHA512/133 1441s ok 1616 /checksum/SHA512/134 1441s ok 1617 /checksum/SHA512/135 1441s ok 1618 /checksum/SHA512/136 1441s ok 1619 /checksum/SHA512/137 1441s ok 1620 /checksum/SHA512/138 1441s ok 1621 /checksum/SHA512/139 1441s ok 1622 /checksum/SHA512/140 1441s ok 1623 /checksum/SHA512/141 1441s ok 1624 /checksum/SHA512/142 1441s ok 1625 /checksum/SHA512/143 1441s ok 1626 /checksum/SHA512/144 1441s ok 1627 /checksum/SHA512/145 1441s ok 1628 /checksum/SHA512/146 1441s ok 1629 /checksum/SHA512/147 1441s ok 1630 /checksum/SHA512/148 1441s ok 1631 /checksum/SHA512/149 1441s ok 1632 /checksum/SHA512/150 1441s ok 1633 /checksum/SHA512/151 1441s ok 1634 /checksum/SHA512/152 1441s ok 1635 /checksum/SHA512/153 1441s ok 1636 /checksum/SHA512/154 1441s ok 1637 /checksum/SHA512/155 1441s ok 1638 /checksum/SHA512/156 1441s ok 1639 /checksum/SHA512/157 1441s ok 1640 /checksum/SHA512/158 1441s ok 1641 /checksum/SHA512/159 1441s ok 1642 /checksum/SHA512/160 1441s ok 1643 /checksum/SHA512/161 1441s ok 1644 /checksum/SHA512/162 1441s ok 1645 /checksum/SHA512/163 1441s ok 1646 /checksum/SHA512/164 1441s ok 1647 /checksum/SHA512/165 1441s ok 1648 /checksum/SHA512/166 1441s ok 1649 /checksum/SHA512/167 1441s ok 1650 /checksum/SHA512/168 1441s ok 1651 /checksum/SHA512/169 1441s ok 1652 /checksum/SHA512/170 1441s ok 1653 /checksum/SHA512/171 1441s ok 1654 /checksum/SHA512/172 1441s ok 1655 /checksum/SHA512/173 1441s ok 1656 /checksum/SHA512/174 1441s ok 1657 /checksum/SHA512/175 1441s ok 1658 /checksum/SHA512/176 1441s ok 1659 /checksum/SHA512/177 1441s ok 1660 /checksum/SHA512/178 1441s ok 1661 /checksum/SHA512/179 1441s ok 1662 /checksum/SHA512/180 1441s ok 1663 /checksum/SHA512/181 1441s ok 1664 /checksum/SHA512/182 1441s ok 1665 /checksum/SHA512/183 1441s ok 1666 /checksum/SHA512/string 1441s ok 1667 /checksum/SHA512/bytes 1441s # Start of reset tests 1441s ok 1668 /checksum/SHA512/reset/0 1441s ok 1669 /checksum/SHA512/reset/1 1441s ok 1670 /checksum/SHA512/reset/2 1441s ok 1671 /checksum/SHA512/reset/3 1441s ok 1672 /checksum/SHA512/reset/4 1441s ok 1673 /checksum/SHA512/reset/5 1441s ok 1674 /checksum/SHA512/reset/6 1441s ok 1675 /checksum/SHA512/reset/7 1441s ok 1676 /checksum/SHA512/reset/8 1441s ok 1677 /checksum/SHA512/reset/9 1441s ok 1678 /checksum/SHA512/reset/10 1441s ok 1679 /checksum/SHA512/reset/11 1441s ok 1680 /checksum/SHA512/reset/12 1441s ok 1681 /checksum/SHA512/reset/13 1441s ok 1682 /checksum/SHA512/reset/14 1441s ok 1683 /checksum/SHA512/reset/15 1441s ok 1684 /checksum/SHA512/reset/16 1441s ok 1685 /checksum/SHA512/reset/17 1441s ok 1686 /checksum/SHA512/reset/18 1441s ok 1687 /checksum/SHA512/reset/19 1441s ok 1688 /checksum/SHA512/reset/20 1441s ok 1689 /checksum/SHA512/reset/21 1441s ok 1690 /checksum/SHA512/reset/22 1441s ok 1691 /checksum/SHA512/reset/23 1441s ok 1692 /checksum/SHA512/reset/24 1441s ok 1693 /checksum/SHA512/reset/25 1441s ok 1694 /checksum/SHA512/reset/26 1441s ok 1695 /checksum/SHA512/reset/27 1441s ok 1696 /checksum/SHA512/reset/28 1441s ok 1697 /checksum/SHA512/reset/29 1441s ok 1698 /checksum/SHA512/reset/30 1441s ok 1699 /checksum/SHA512/reset/31 1441s ok 1700 /checksum/SHA512/reset/32 1441s ok 1701 /checksum/SHA512/reset/33 1441s ok 1702 /checksum/SHA512/reset/34 1441s ok 1703 /checksum/SHA512/reset/35 1441s ok 1704 /checksum/SHA512/reset/36 1441s ok 1705 /checksum/SHA512/reset/37 1441s ok 1706 /checksum/SHA512/reset/38 1441s ok 1707 /checksum/SHA512/reset/39 1441s ok 1708 /checksum/SHA512/reset/40 1441s ok 1709 /checksum/SHA512/reset/41 1441s ok 1710 /checksum/SHA512/reset/42 1441s ok 1711 /checksum/SHA512/reset/43 1441s ok 1712 /checksum/SHA512/reset/44 1441s ok 1713 /checksum/SHA512/reset/45 1441s ok 1714 /checksum/SHA512/reset/46 1441s ok 1715 /checksum/SHA512/reset/47 1441s ok 1716 /checksum/SHA512/reset/48 1441s ok 1717 /checksum/SHA512/reset/49 1441s ok 1718 /checksum/SHA512/reset/50 1441s ok 1719 /checksum/SHA512/reset/51 1441s ok 1720 /checksum/SHA512/reset/52 1441s ok 1721 /checksum/SHA512/reset/53 1441s ok 1722 /checksum/SHA512/reset/54 1441s ok 1723 /checksum/SHA512/reset/55 1441s ok 1724 /checksum/SHA512/reset/56 1441s ok 1725 /checksum/SHA512/reset/57 1441s ok 1726 /checksum/SHA512/reset/58 1441s ok 1727 /checksum/SHA512/reset/59 1441s ok 1728 /checksum/SHA512/reset/60 1441s ok 1729 /checksum/SHA512/reset/61 1441s ok 1730 /checksum/SHA512/reset/62 1441s ok 1731 /checksum/SHA512/reset/63 1441s ok 1732 /checksum/SHA512/reset/64 1441s ok 1733 /checksum/SHA512/reset/65 1441s ok 1734 /checksum/SHA512/reset/66 1441s ok 1735 /checksum/SHA512/reset/67 1441s ok 1736 /checksum/SHA512/reset/68 1441s ok 1737 /checksum/SHA512/reset/69 1441s ok 1738 /checksum/SHA512/reset/70 1441s ok 1739 /checksum/SHA512/reset/71 1441s ok 1740 /checksum/SHA512/reset/72 1441s ok 1741 /checksum/SHA512/reset/73 1441s ok 1742 /checksum/SHA512/reset/74 1441s ok 1743 /checksum/SHA512/reset/75 1441s ok 1744 /checksum/SHA512/reset/76 1441s ok 1745 /checksum/SHA512/reset/77 1441s ok 1746 /checksum/SHA512/reset/78 1441s ok 1747 /checksum/SHA512/reset/79 1441s ok 1748 /checksum/SHA512/reset/80 1441s ok 1749 /checksum/SHA512/reset/81 1441s ok 1750 /checksum/SHA512/reset/82 1441s ok 1751 /checksum/SHA512/reset/83 1441s ok 1752 /checksum/SHA512/reset/84 1441s ok 1753 /checksum/SHA512/reset/85 1441s ok 1754 /checksum/SHA512/reset/86 1441s ok 1755 /checksum/SHA512/reset/87 1441s ok 1756 /checksum/SHA512/reset/88 1441s ok 1757 /checksum/SHA512/reset/89 1441s ok 1758 /checksum/SHA512/reset/90 1441s ok 1759 /checksum/SHA512/reset/91 1441s ok 1760 /checksum/SHA512/reset/92 1441s ok 1761 /checksum/SHA512/reset/93 1441s ok 1762 /checksum/SHA512/reset/94 1441s ok 1763 /checksum/SHA512/reset/95 1441s ok 1764 /checksum/SHA512/reset/96 1441s ok 1765 /checksum/SHA512/reset/97 1441s ok 1766 /checksum/SHA512/reset/98 1441s ok 1767 /checksum/SHA512/reset/99 1441s ok 1768 /checksum/SHA512/reset/100 1441s ok 1769 /checksum/SHA512/reset/101 1441s ok 1770 /checksum/SHA512/reset/102 1441s ok 1771 /checksum/SHA512/reset/103 1441s ok 1772 /checksum/SHA512/reset/104 1441s ok 1773 /checksum/SHA512/reset/105 1441s ok 1774 /checksum/SHA512/reset/106 1441s ok 1775 /checksum/SHA512/reset/107 1441s ok 1776 /checksum/SHA512/reset/108 1441s ok 1777 /checksum/SHA512/reset/109 1441s ok 1778 /checksum/SHA512/reset/110 1441s ok 1779 /checksum/SHA512/reset/111 1441s ok 1780 /checksum/SHA512/reset/112 1441s ok 1781 /checksum/SHA512/reset/113 1441s ok 1782 /checksum/SHA512/reset/114 1441s ok 1783 /checksum/SHA512/reset/115 1441s ok 1784 /checksum/SHA512/reset/116 1441s ok 1785 /checksum/SHA512/reset/117 1441s ok 1786 /checksum/SHA512/reset/118 1441s ok 1787 /checksum/SHA512/reset/119 1441s ok 1788 /checksum/SHA512/reset/120 1441s ok 1789 /checksum/SHA512/reset/121 1441s ok 1790 /checksum/SHA512/reset/122 1441s ok 1791 /checksum/SHA512/reset/123 1441s ok 1792 /checksum/SHA512/reset/124 1441s ok 1793 /checksum/SHA512/reset/125 1441s ok 1794 /checksum/SHA512/reset/126 1441s ok 1795 /checksum/SHA512/reset/127 1441s ok 1796 /checksum/SHA512/reset/128 1441s ok 1797 /checksum/SHA512/reset/129 1441s ok 1798 /checksum/SHA512/reset/130 1441s ok 1799 /checksum/SHA512/reset/131 1441s ok 1800 /checksum/SHA512/reset/132 1441s ok 1801 /checksum/SHA512/reset/133 1441s ok 1802 /checksum/SHA512/reset/134 1441s ok 1803 /checksum/SHA512/reset/135 1441s ok 1804 /checksum/SHA512/reset/136 1441s ok 1805 /checksum/SHA512/reset/137 1441s ok 1806 /checksum/SHA512/reset/138 1441s ok 1807 /checksum/SHA512/reset/139 1441s ok 1808 /checksum/SHA512/reset/140 1441s ok 1809 /checksum/SHA512/reset/141 1441s ok 1810 /checksum/SHA512/reset/142 1441s ok 1811 /checksum/SHA512/reset/143 1441s ok 1812 /checksum/SHA512/reset/144 1441s ok 1813 /checksum/SHA512/reset/145 1441s ok 1814 /checksum/SHA512/reset/146 1441s ok 1815 /checksum/SHA512/reset/147 1441s ok 1816 /checksum/SHA512/reset/148 1441s ok 1817 /checksum/SHA512/reset/149 1441s ok 1818 /checksum/SHA512/reset/150 1441s ok 1819 /checksum/SHA512/reset/151 1441s ok 1820 /checksum/SHA512/reset/152 1441s ok 1821 /checksum/SHA512/reset/153 1441s ok 1822 /checksum/SHA512/reset/154 1441s ok 1823 /checksum/SHA512/reset/155 1441s ok 1824 /checksum/SHA512/reset/156 1441s ok 1825 /checksum/SHA512/reset/157 1441s ok 1826 /checksum/SHA512/reset/158 1441s ok 1827 /checksum/SHA512/reset/159 1441s ok 1828 /checksum/SHA512/reset/160 1441s ok 1829 /checksum/SHA512/reset/161 1441s ok - glib/checksum.test 1441s # Running test: glib/repository.test 1441s ok 1830 /checksum/SHA512/reset/162 1441s ok 1831 /checksum/SHA512/reset/163 1441s ok 1832 /checksum/SHA512/reset/164 1441s ok 1833 /checksum/SHA512/reset/165 1441s ok 1834 /checksum/SHA512/reset/166 1441s ok 1835 /checksum/SHA512/reset/167 1441s ok 1836 /checksum/SHA512/reset/168 1441s ok 1837 /checksum/SHA512/reset/169 1441s ok 1838 /checksum/SHA512/reset/170 1441s ok 1839 /checksum/SHA512/reset/171 1441s ok 1840 /checksum/SHA512/reset/172 1441s ok 1841 /checksum/SHA512/reset/173 1441s ok 1842 /checksum/SHA512/reset/174 1441s ok 1843 /checksum/SHA512/reset/175 1441s ok 1844 /checksum/SHA512/reset/176 1441s ok 1845 /checksum/SHA512/reset/177 1441s ok 1846 /checksum/SHA512/reset/178 1441s ok 1847 /checksum/SHA512/reset/179 1441s ok 1848 /checksum/SHA512/reset/180 1441s ok 1849 /checksum/SHA512/reset/181 1441s ok 1850 /checksum/SHA512/reset/182 1441s ok 1851 /checksum/SHA512/reset/183 1441s # End of reset tests 1441s # End of SHA512 tests 1441s # End of checksum tests 1441s TAP version 14 1441s # random seed: R02S7753fad2fe3e5434df08f7b2d4b21edc 1441s 1..24 1441s # Start of repository tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/basic/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/basic/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/basic/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/basic/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/basic/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/basic/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/basic/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/basic/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/basic/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/basic/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1441s ok 1 /repository/basic 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/info/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/info/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/info/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/info/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/info/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/info/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/info/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/info/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/info/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/info/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1441s ok 2 /repository/info 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/dependencies/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/dependencies/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/dependencies/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/dependencies/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/dependencies/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/dependencies/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/dependencies/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/dependencies/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1441s ok 3 /repository/dependencies 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/arg-info/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/arg-info/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/arg-info/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/arg-info/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/arg-info/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/arg-info/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/arg-info/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/arg-info/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1441s ok 4 /repository/arg-info 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/callable-info/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/callable-info/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/callable-info/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/callable-info/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/callable-info/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/callable-info/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/callable-info/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/callable-info/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1441s ok 5 /repository/callable-info 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/callback-info/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/callback-info/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/callback-info/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/callback-info/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/callback-info/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/callback-info/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/callback-info/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/callback-info/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1441s ok 6 /repository/callback-info 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/char-types/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/char-types/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/char-types/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/char-types/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/char-types/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/char-types/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/char-types/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/char-types/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/char-types/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/char-types/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1441s ok 7 /repository/char-types 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/constructor-return-type/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1441s ok 8 /repository/constructor-return-type 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/enum-info-c-identifier/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1441s ok 9 /repository/enum-info-c-identifier 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/enum-info-static-methods/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/enum-info-static-methods summary: Test an enum with methods 1441s ok 10 /repository/enum-info-static-methods 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/error-quark/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/error-quark/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/error-quark/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/error-quark/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/error-quark/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/error-quark/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/error-quark/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/error-quark/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/error-quark summary: Test finding an error quark by error domain 1441s ok 11 /repository/error-quark 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/flags-info-c-identifier/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1441s ok 12 /repository/flags-info-c-identifier 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/fundamental-ref-func/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1441s ok 13 /repository/fundamental-ref-func 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/instance-method-ownership-transfer/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1441s ok 14 /repository/instance-method-ownership-transfer 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/object-gtype-interfaces/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1441s ok 15 /repository/object-gtype-interfaces 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/signal-info-with-array-length-arg/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1441s ok 16 /repository/signal-info-with-array-length-arg 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/type-info-name/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1441s ok 17 /repository/type-info-name 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1441s ok 18 /repository/vfunc-info-with-no-invoker 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1441s ok 19 /repository/vfunc-info-with-invoker-on-interface 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1441s ok 20 /repository/vfunc-info-with-invoker-on-object 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/find-by-gtype/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/find-by-gtype summary: Test finding a GType 1441s ok 21 /repository/find-by-gtype 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/loaded-namespaces/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1441s ok 22 /repository/loaded-namespaces 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/dup_default/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/dup_default/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/dup_default/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/dup_default/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/dup_default/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/dup_default/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/dup_default/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/dup_default/.dirs/runtime 1441s ok 23 /repository/dup_default 1441s # Start of base-info tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NIU3J3/repository/base-info/clear/.dirs/runtime 1441s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1441s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1441s ok 24 /repository/base-info/clear 1441s # End of base-info tests 1441s # End of repository tests 1441s TAP version 14 1441s # random seed: R02S9ebfd40b3e7592f58a0f7e56587f53d1 1441s 1..1 1441s # Start of tls-backend tests 1441s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1441s ok 1 /tls-backend/set-default-database 1441s # End of tls-backend tests 1441s TAP version 14 1441s # random seed: R02S26c1b6cb35a38df39286b9d616bcbb28 1441s 1..6 1441s # Start of node tests 1441s ok 1 /node/allocation 1441s ok 2 /node/construction 1441s ok 3 /node/traversal 1441s ok 4 /node/misc 1441s ok 5 /node/unlink 1441s ok 6 /node/copy 1441s # End of node tests 1441s TAP version 14 1441s # random seed: R02Sdc495774ddb63dac42fd801280403068 1441s ok - glib/repository.test 1441s # Running test: glib/tls-database.test 1441s ok - glib/tls-database.test 1441s # Running test: glib/node.test 1441s ok - glib/node.test 1441s # Running test: glib/gdbus-connection-loss.test 1441s 1..1 1441s # Start of gdbus tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_V0D4J3/gdbus/connection-loss/.dirs/runtime 1441s ok 1 /gdbus/connection-loss 1441s # End of gdbus tests 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s TAP version 14 1441s # random seed: R02S18a727a8bab7053e6d5748430e7a0de3 1441s ok - glib/gdbus-connection-loss.test 1441s # Running test: glib/gdbus-test-codegen.test 1441s 1..8 1441s # Start of gdbus tests 1441s # Start of codegen tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/annotations/.dirs/runtime 1441s ok 1 /gdbus/codegen/annotations 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/interface_stability/.dirs/runtime 1441s ok 2 /gdbus/codegen/interface_stability 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/object-manager/.dirs/runtime 1441s ok 3 /gdbus/codegen/object-manager 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/property-naming/.dirs/runtime 1441s ok 4 /gdbus/codegen/property-naming 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/autocleanups/.dirs/runtime 1441s ok 5 /gdbus/codegen/autocleanups 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/deprecations/.dirs/runtime 1441s ok 6 /gdbus/codegen/deprecations 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1441s ok 7 /gdbus/codegen/standalone-interface-info 1441s ok - glib/gdbus-test-codegen.test 1441s # Running test: glib/enums.test 1441s ok - glib/enums.test 1441s # Running test: glib/mem-overflow.test 1441s ok - glib/mem-overflow.test 1441s # Running test: glib/stream-rw_all.test 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_2O46J3/gdbus/codegen/unix-fd-list/.dirs/runtime 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1441s ok 8 /gdbus/codegen/unix-fd-list 1441s # End of codegen tests 1441s # End of gdbus tests 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1441s TAP version 14 1441s # random seed: R02S3b9105d83d58616de8f04d49b0acb4ff 1441s 1..4 1441s # Start of enum tests 1441s ok 1 /enum/basic 1441s ok 2 /enum/define-type 1441s # End of enum tests 1441s # Start of flags tests 1441s ok 3 /flags/basic 1441s ok 4 /flags/define-type 1441s # End of flags tests 1441s TAP version 14 1441s # random seed: R02S97daa8bf846ed90f548feb03429b04d0 1441s 1..2 1441s # Start of mem tests 1441s ok 1 /mem/overflow 1441s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1441s ok 2 /mem/empty-alloc 1441s # Start of overflow tests 1441s # Start of subprocess tests 1441s # End of subprocess tests 1441s # End of overflow tests 1441s # Start of empty-alloc tests 1441s # End of empty-alloc tests 1441s # End of mem tests 1441s TAP version 14 1441s # random seed: R02S115560b687327ca748a9a5324bb95793 1441s 1..3 1441s # Start of stream tests 1441s # Start of read_all_async tests 1441s ok 1 /stream/read_all_async/memory 1441s # End of read_all_async tests 1441s # Start of write_all_async tests 1441s ok 2 /stream/write_all_async/memory 1441s # End of write_all_async tests 1441s # Start of read_write_all_async tests 1441s ok - glib/stream-rw_all.test 1441s # Running test: glib/642026.test 1441s ok 3 /stream/read_write_all_async/pipe 1441s # End of read_write_all_async tests 1441s # End of stream tests 1441s TAP version 14 1441s # random seed: R02Sc362bcbcdc8f16d7ef8b9bfd8e27c87d 1441s 1..1 1441s # Start of glib tests 1441s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1441s ok - glib/642026.test 1441s ok 1 /glib/642026 1441s # End of glib tests 1441s # Running test: glib/utils-c-89.test 1441s TAP version 14 1441s # random seed: R02S09f38f0c41ccde1770bb84d8e812ed5e 1441s 1..41 1441s # Start of utils tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/language-names/.dirs/runtime 1441s ok 1 /utils/language-names 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/locale-variants/.dirs/runtime 1441s # Testing locale ‘en’ 1441s # Testing locale ‘sr@latin’ 1441s # Testing locale ‘fr_BE’ 1441s # Testing locale ‘sr_SR@latin’ 1441s # Testing locale ‘sr_SR@latin.UTF-8’ 1441s # Testing locale ‘sr@latin_invalid’ 1441s # Testing locale ‘sr.UTF-8@latin’ 1441s # Testing locale ‘sr.UTF-8_latin’ 1441s # Testing locale ‘sr.UTF-8@latin_invalid’ 1441s ok 2 /utils/locale-variants 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/version/.dirs/runtime 1441s ok 3 /utils/version 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/appname/.dirs/runtime 1441s ok 4 /utils/appname 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/prgname-thread-safety/.dirs/runtime 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1441s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1441s ok 5 /utils/prgname-thread-safety 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/tmpdir/.dirs/runtime 1441s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1441s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1441s Unable to clean up temporary directory /tmp/test_utils-c-89_PLPLK3/utils/tmpdir: No such file or directory 1441s ok 6 /utils/tmpdir 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/basic_bits/.dirs/runtime 1441s ok 7 /utils/basic_bits 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/bits/.dirs/runtime 1441s ok 8 /utils/bits 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/swap/.dirs/runtime 1441s ok 9 /utils/swap 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/find-program/.dirs/runtime 1441s ok 10 /utils/find-program 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/find-program-for-path/.dirs/runtime 1441s ok 11 /utils/find-program-for-path 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/debug/.dirs/runtime 1441s Unable to clean up temporary directory /tmp/test_utils-c-89_PLPLK3/utils/debug: No such file or directory 1441s ok 12 /utils/debug 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/codeset/.dirs/runtime 1441s ok 13 /utils/codeset 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/codeset2/.dirs/runtime 1441s Unable to clean up temporary directory /tmp/test_utils-c-89_PLPLK3/utils/codeset2: No such file or directory 1441s ok 14 /utils/codeset2 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/console-charset/.dirs/runtime 1441s ok 15 /utils/console-charset 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/gettext/.dirs/runtime 1441s ok 16 /utils/gettext 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/username/.dirs/runtime 1441s ok 17 /utils/username 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/realname/.dirs/runtime 1441s ok 18 /utils/realname 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/hostname/.dirs/runtime 1441s ok 19 /utils/hostname 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/os-info/.dirs/runtime 1441s # NAME: Ubuntu 1441s ok 20 /utils/os-info 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/.dirs/runtime 1441s ok 21 /utils/clear-pointer 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer-cast/.dirs/runtime 1441s ok 22 /utils/clear-pointer-cast 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/take-pointer/.dirs/runtime 1441s ok 23 /utils/take-pointer 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/clear-source/.dirs/runtime 1441s ok 24 /utils/clear-source 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/misc-mem/.dirs/runtime 1441s ok 25 /utils/misc-mem 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/.dirs/runtime 1441s # /utils/aligned-mem summary: Aligned memory allocator 1441s # Alignment must not be zero 1441s # Alignment must be a power of two 1441s # Alignment must be a multiple of sizeof(void*) 1441s ok 26 /utils/aligned-mem 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/free-sized/.dirs/runtime 1441s # /utils/free-sized summary: Check that g_free_sized() works 1441s ok 27 /utils/free-sized 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/nullify/.dirs/runtime 1441s ok 28 /utils/nullify 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/atexit/.dirs/runtime 1441s Unable to clean up temporary directory /tmp/test_utils-c-89_PLPLK3/utils/atexit: No such file or directory 1441s ok 29 /utils/atexit 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/check-setuid/.dirs/runtime 1441s ok 30 /utils/check-setuid 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/int-limits/.dirs/runtime 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1441s ok 31 /utils/int-limits 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/clear-list/.dirs/runtime 1441s ok 32 /utils/clear-list 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/clear-slist/.dirs/runtime 1441s ok 33 /utils/clear-slist 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/steal-handle-id/.dirs/runtime 1441s ok 34 /utils/steal-handle-id 1441s # Start of user-special-dirs tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/desktop/.dirs/runtime 1441s ok 35 /utils/user-special-dirs/desktop 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1441s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1441s Unable to clean up temporary directory /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/load-unlocked: No such file or directory 1441s ok 36 /utils/user-special-dirs/load-unlocked 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1441s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1441s Unable to clean up temporary directory /tmp/test_utils-c-89_PLPLK3/utils/user-special-dirs/reload-leaks: No such file or directory 1441s ok 37 /utils/user-special-dirs/reload-leaks 1441s # End of user-special-dirs tests 1441s # Start of clear-pointer tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/clear-pointer/side-effects/.dirs/runtime 1441s ok 38 /utils/clear-pointer/side-effects 1441s # End of clear-pointer tests 1441s # Start of aligned-mem tests 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/alignment/.dirs/runtime 1441s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1441s ok 39 /utils/aligned-mem/alignment 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/zeroed/.dirs/runtime 1441s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1441s ok 40 /utils/aligned-mem/zeroed 1441s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/home 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/cache 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/system-config2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/config 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/system-data2 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/data 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/state 1441s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-89_PLPLK3/utils/aligned-mem/free-sized/.dirs/runtime 1441s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1441s ok 41 /utils/aligned-mem/free-sized 1441s # Start of subprocess tests 1441s # End of subprocess tests 1441s # End of aligned-mem tests 1441s # End of utils tests 1441s ok - glib/utils-c-89.test 1441s # Running test: glib/gi-compile-repository.py.test 1441s # Executing: glib/gi-compile-repository.py.test 1442s TAP version 13 1442s ok 1 __main__.TestGICompileRepository.test_open_failure 1442s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1442s # gi-compile-repository: /usr/bin/gi-compile-repository 1442s # tmpdir: /tmp/tmpyk_vevsy 1442s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpyk_vevsy/invalid.typelib'] 1442s # Return code: 1 1442s # Output: 1442s # 1442s # Error: 1442s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1442s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1442s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1442s # gi-compile-repository: /usr/bin/gi-compile-repository 1442s # tmpdir: /tmp/tmpo6gbapn0 1442s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpo6gbapn0/GLib-2.typelib'] 1442s # Return code: 0 1442s # Output: 1442s # 1442s # Error: 1442s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1442s # gi-compile-repository: /usr/bin/gi-compile-repository 1442s # tmpdir: /tmp/tmp3qlqsw6x 1442s # 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'] 1442s # Return code: 1 1442s # Output: 1442s # 1442s # Error: 1442s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1442s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1442s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1442s # gi-compile-repository: /usr/bin/gi-compile-repository 1442s # tmpdir: /tmp/tmpp9wfbwvk 1442s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpp9wfbwvk/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1442s # Return code: 0 1442s # Output: 1442s # 1442s # Error: 1442s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1442s # gi-compile-repository: /usr/bin/gi-compile-repository 1442s # tmpdir: /tmp/tmp0gdw5jcm 1442s # 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'] 1442s # Return code: 1 1442s # Output: 1442s # 1442s # Error: 1442s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1443s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1443s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1443s # gi-compile-repository: /usr/bin/gi-compile-repository 1443s # tmpdir: /tmp/tmpkpue_004 1443s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpkpue_004/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1443s # Return code: 0 1443s # Output: 1443s # 1443s # Error: 1443s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1443s # gi-compile-repository: /usr/bin/gi-compile-repository 1443s # tmpdir: /tmp/tmpt93cz3bw 1443s # 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'] 1443s # Return code: 1 1443s # Output: 1443s # 1443s # Error: 1443s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1443s 1..7 1443s ok - glib/gi-compile-repository.py.test 1443s # Running test: glib/tls-bindings.test 1443s ok - glib/tls-bindings.test 1443s # Running test: glib/asyncqueue.test 1443s TAP version 14 1443s # random seed: R02Sb68e55ff4def63352fc68cc8f9e4581c 1443s 1..2 1443s # Start of tls-connection tests 1443s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1443s ok 1 /tls-connection/get-tls-channel-binding 1443s ok 2 /tls-connection/get-dtls-channel-binding 1443s # End of tls-connection tests 1443s TAP version 14 1443s # random seed: R02S1d15ab16ffce6d9239c6893c978de0ad 1443s 1..7 1443s # Start of asyncqueue tests 1443s ok 1 /asyncqueue/basics 1443s ok 2 /asyncqueue/sort 1443s ok 3 /asyncqueue/destroy 1444s ok 4 /asyncqueue/threads 1444s ok - glib/asyncqueue.test 1444s # Running test: glib/dbus-appinfo.test 1444s ok 5 /asyncqueue/timed 1444s ok 6 /asyncqueue/remove 1444s ok 7 /asyncqueue/push_front 1444s # End of asyncqueue tests 1444s TAP version 14 1444s # random seed: R02S78df58ec8019c7b1a2660c594a6a0195 1444s 1..7 1444s # Start of appinfo tests 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/runtime 1444s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1444s ok 1 /appinfo/dbusappinfo 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/runtime 1444s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1444s # Acquired a message bus connection 1444s # Acquired the name org.freedesktop.portal.Documents 1444s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FKWAK3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/config 1444s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1444s # fake-document-portal cancelled 1444s ok 2 /appinfo/flatpak-doc-export 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/runtime 1444s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1444s # Acquired a message bus connection 1444s # Acquired the name org.freedesktop.portal.Documents 1444s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/config 1444s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1444s # fake-document-portal cancelled 1444s ok 3 /appinfo/flatpak-missing-doc-export 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/runtime 1444s # Acquired a message bus connection 1444s # Acquired the name org.freedesktop.portal.Desktop 1444s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FKWAK3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/config 1444s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1444s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 1444s # Response emitted 1444s # fake-desktop-portal cancelled 1444s ok 4 /appinfo/portal-open-file 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/runtime 1444s # Acquired a message bus connection 1444s # Acquired the name org.freedesktop.portal.Desktop 1444s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/config 1444s # Got open file request for http://example.com 1444s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 1444s # Response emitted 1444s # fake-desktop-portal cancelled 1444s ok 5 /appinfo/portal-open-uri 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/runtime 1444s # Acquired a message bus connection 1444s # Acquired the name org.freedesktop.portal.Desktop 1444s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/config 1444s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1444s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio994360863 1444s # Response emitted 1444s # fake-desktop-portal cancelled 1444s ok 6 /appinfo/portal-open-file-async 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/runtime 1444s # Acquired a message bus connection 1444s # Acquired the name org.freedesktop.portal.Desktop 1444s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_FKWAK3/appinfo/portal-open-uri-async/.dirs/config 1444s # Got open file request for http://example.com 1444s ok - glib/dbus-appinfo.test 1444s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio931052280 1444s # Response emitted 1444s # fake-desktop-portal cancelled 1444s ok 7 /appinfo/portal-open-uri-async 1444s # End of appinfo tests 1444s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1444s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1444s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1444s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1444s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1444s # Running test: glib/module-test-library.test 1444s TAP version 14 1444s # random seed: R02S386402b1b125f0ccaa1f8ae80f30de75 1444s 1..3 1444s # Start of module tests 1444s ok 1 /module/basics 1444s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1444s ok 2 /module/invalid-libtool-archive 1444s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1444s ok 3 /module/local-binding 1444s # End of module tests 1444s ok - glib/module-test-library.test 1444s # Running test: glib/base64.test 1444s TAP version 14 1444s # random seed: R02Sbd11b85d1c3829eaf2df31eb7e818ee3 1444s 1..28 1444s # Start of base64 tests 1444s ok 1 /base64/encode 1444s ok 2 /base64/decode 1444s ok 3 /base64/decode-inplace 1444s ok 4 /base64/encode-decode 1444s # Start of full tests 1444s ok 5 /base64/full/1 1444s ok 6 /base64/full/2 1444s ok 7 /base64/full/3 1444s ok 8 /base64/full/4 1444s # End of full tests 1444s # Start of encode tests 1444s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1444s ok 9 /base64/encode/empty 1444s # Start of incremental tests 1444s # Start of small-block tests 1444s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1444s ok 10 /base64/encode/incremental/small-block/1 1444s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1444s ok 11 /base64/encode/incremental/small-block/2 1444s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1444s ok 12 /base64/encode/incremental/small-block/3 1444s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1444s ok 13 /base64/encode/incremental/small-block/4 1444s # End of small-block tests 1444s # End of incremental tests 1444s # End of encode tests 1444s # Start of incremental tests 1444s # Start of nobreak tests 1444s ok 14 /base64/incremental/nobreak/1 1444s ok 15 /base64/incremental/nobreak/2 1444s ok 16 /base64/incremental/nobreak/3 1444s ok 17 /base64/incremental/nobreak/4-a 1444s ok 18 /base64/incremental/nobreak/4-b 1444s ok 19 /base64/incremental/nobreak/4-c 1444s # End of nobreak tests 1444s # Start of break tests 1444s ok 20 /base64/incremental/break/1 1444s ok 21 /base64/incremental/break/2 1444s ok 22 /base64/incremental/break/3 1444s # End of break tests 1444s # Start of smallblock tests 1444s ok 23 /base64/incremental/smallblock/1 1444s ok 24 /base64/incremental/smallblock/2 1444s ok 25 /base64/incremental/smallblock/3 1444s ok 26 /base64/incremental/smallblock/4 1444s # End of smallblock tests 1444s # End of incremental tests 1444s # Start of decode tests 1444s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1444s ok 27 /base64/decode/empty 1444s # End of decode tests 1444s # Start of encode-decode tests 1444s # Vector 0: 1444s # Vector 1: f 1444s # Vector 2: fo 1444s # Vector 3: foo 1444s # Vector 4: foob 1444s # Vector 5: fooba 1444s # Vector 6: foobar 1444s ok 28 /base64/encode-decode/rfc4648 1444s # End of encode-decode tests 1444s ok - glib/base64.test 1444s # Running test: glib/markup.test 1444s ok - glib/markup.test 1444s # Running test: glib/thread.test 1444s ok - glib/thread.test 1444s # Running test: glib/data-output-stream.test 1444s # End of base64 tests 1444s TAP version 14 1444s # random seed: R02S57226899448d0e4397f9e079574b38b3 1444s 1..1 1444s # Start of markup tests 1444s ok 1 /markup/stack 1444s # End of markup tests 1444s TAP version 14 1444s # random seed: R02S23094e1c75ed3e9b4f99bda444712bb5 1444s 1..7 1444s # Start of thread tests 1444s ok 1 /thread/thread1 1444s ok 2 /thread/thread2 1444s ok 3 /thread/thread3 1444s ok 4 /thread/thread4 1444s ok 5 /thread/thread5 1444s ok 6 /thread/thread6 1444s ok 7 /thread/thread7 1444s # End of thread tests 1444s TAP version 14 1444s # random seed: R02Sfebabc757209f8656b318d510b8366fe 1444s 1..7 1444s # Start of data-output-stream tests 1444s ok 1 /data-output-stream/basic 1444s ok 2 /data-output-stream/write-lines-LF 1444s ok 3 /data-output-stream/write-lines-CR 1444s ok 4 /data-output-stream/write-lines-CR-LF 1444s ok 5 /data-output-stream/write-int 1444s ok 6 /data-output-stream/seek 1444s ok 7 /data-output-stream/truncate 1444s # End of data-output-stream tests 1444s ok - glib/data-output-stream.test 1444s TAP version 14 1444s # random seed: R02Sa2c139e51e16c337f905088bcd11d35a 1444s 1..7 1444s # Start of mappedfile tests 1444s ok 1 /mappedfile/basic 1444s ok 2 /mappedfile/empty 1444s ok 3 /mappedfile/device 1444s ok 4 /mappedfile/nonexisting 1444s ok 5 /mappedfile/writable 1444s # Running test: glib/mappedfile.test 1444s ok 6 /mappedfile/writable_fd 1444s ok 7 /mappedfile/gbytes 1444s # End of mappedfile tests 1444s ok - glib/mappedfile.test 1444s # Running test: glib/atomic-c-11.test 1444s TAP version 14 1444s # random seed: R02Sb5b9db428cc5bbdfdbad3f6e1d99677a 1444s 1..2 1444s # Start of atomic tests 1444s ok 1 /atomic/types 1444s ok - glib/atomic-c-11.test 1444s # Running test: glib/gdbus-server-auth.test 1444s ok 2 /atomic/threaded 1444s # End of atomic tests 1444s TAP version 14 1444s # random seed: R02Sf94fc038a54df755c3c29c97cb5d37bc 1444s 1..9 1444s # Start of gdbus tests 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/.dirs/runtime 1444s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-X6N4J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1444s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-X6N4J3/dbus-IqawjO6f 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8933 1444s ok 1 /gdbus/server-auth 1444s # Start of server-auth tests 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/abstract/.dirs/runtime 1444s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-95R4J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1444s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-95R4J3/dbus-sbP6hdE3 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8933 1444s ok 2 /gdbus/server-auth/abstract 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/tcp/.dirs/runtime 1444s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1444s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/.dirs/runtime 1444s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-49U4J3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1444s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-49U4J3/dbus-HI3o6bnW 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8933 1444s ok 4 /gdbus/server-auth/anonymous 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/.dirs/runtime 1444s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-PTF5J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1444s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-PTF5J3/dbus-BIdCJVcW 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8933 1444s ok 5 /gdbus/server-auth/external 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/.dirs/runtime 1444s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-9EW5J3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1444s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1444s # Start of anonymous tests 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1444s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1444s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1444s # End of anonymous tests 1444s # Start of external tests 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1444s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-68V5J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1444s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_HVB4J3/gdbus-server-auth-68V5J3/dbus-9Xb1EmyW 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 8933 1444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=8933,uid=1000,gid=1000 1444s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 8933 1444s ok 8 /gdbus/server-auth/external/require-same-user 1444s # End of external tests 1444s # Start of sha1 tests 1444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/home 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/cache 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1444s ok - glib/gdbus-server-auth.test 1444s # Running test: glib/dir.test 1444s ok - glib/dir.test 1444s # Running test: glib/macros-c-11.test 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/config 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/data 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/state 1444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_HVB4J3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1444s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1444s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1444s # End of sha1 tests 1444s # End of server-auth tests 1444s # End of gdbus tests 1444s TAP version 14 1444s # random seed: R02S86588624116b4364c64e4ce5e37050ab 1444s 1..3 1444s # Start of dir tests 1444s ok 1 /dir/read 1444s ok 2 /dir/nonexisting 1444s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1444s ok 3 /dir/refcounting 1444s # End of dir tests 1444s TAP version 14 1444s # random seed: R02S6799e0d48a38a8d8b126f513ef636417 1444s 1..4 1444s # Start of C tests 1444s ok - glib/macros-c-11.test 1444s # Running test: glib/mutex.test 1444s ok 1 /C/standard-11 1444s # End of C tests 1444s # Start of alignof tests 1444s ok 2 /alignof/fallback 1444s # End of alignof tests 1444s # Start of assert tests 1444s ok 3 /assert/static 1444s # End of assert tests 1444s # Start of struct tests 1444s ok 4 /struct/sizeof_member 1444s # End of struct tests 1444s TAP version 14 1444s # random seed: R02Sa99c6f65ce84a3fdcbca00d026195df2 1444s 1..17 1444s # Start of thread tests 1444s ok 1 /thread/mutex1 1444s ok 2 /thread/mutex2 1444s ok 3 /thread/mutex3 1444s ok 4 /thread/mutex4 1446s # Executing: glib/mutex.test 1449s ok 5 /thread/mutex5 1449s # slow test /thread/mutex5 executed in 5.13 secs 1449s # Start of mutex tests 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1449s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1449s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1450s ok 6 /thread/mutex/errno 1450s # Start of perf tests 1450s # max perf: inf mips 1450s ok 7 /thread/mutex/perf/uncontended 1450s # Start of contended tests 1450s # max perf: inf mips 1450s ok 8 /thread/mutex/perf/contended/1 1450s # max perf: inf mips 1450s ok 9 /thread/mutex/perf/contended/2 1450s # max perf: inf mips 1450s ok 10 /thread/mutex/perf/contended/3 1450s # max perf: inf mips 1450s ok 11 /thread/mutex/perf/contended/4 1450s # max perf: 3.000000 mips 1450s ok 12 /thread/mutex/perf/contended/5 1450s # max perf: 2.333333 mips 1450s ok 13 /thread/mutex/perf/contended/6 1450s # max perf: 2.000000 mips 1450s ok 14 /thread/mutex/perf/contended/7 1450s # max perf: 9.000000 mips 1450s ok 15 /thread/mutex/perf/contended/8 1450s # max perf: 3.333333 mips 1450s ok 16 /thread/mutex/perf/contended/9 1450s # max perf: 3.666667 mips 1450s ok 17 /thread/mutex/perf/contended/10 1450s # End of contended tests 1450s # End of perf tests 1450s # End of mutex tests 1450s # End of thread tests 1450s ok - glib/mutex.test 1450s # Running test: glib/messages-low-memory.py.test 1450s TAP version 13 1450s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1450s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1450s # tmpdir: /tmp/tmpvk26itzr 1450s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1450s # Return code: -6 1450s # Output: 1450s # 1450s # Error: 1450s # GLib-Message: 04:38:56.008: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1450s # GLib-Message: 04:38:56.008: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1450s # ../../../glib/gprintf.c:351: failed to allocate memory 1450s 1..1 1450s ok - glib/messages-low-memory.py.test 1450s # Running test: glib/rand.test 1450s TAP version 14 1450s # random seed: R02Sba90c6588669f153d9d2a22aa2f8e651 1450s 1..2 1450s # Start of rand tests 1450s ok 1 /rand/test-rand 1450s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1450s ok 2 /rand/double-range 1450s # End of rand tests 1450s ok - glib/rand.test 1450s # Running test: glib/win32-appinfo.test 1450s TAP version 14 1450s # random seed: R02S46aa210a2b2c86997a6c4d901069d6cf 1450s 1..5 1450s # Start of appinfo tests 1450s ok 1 /appinfo/utf16-strfuncs 1450s ok 2 /appinfo/win32-extract-executable 1450s ok 3 /appinfo/win32-rundll32-fixup 1450s ok 4 /appinfo/win32-parse-filename 1450s ok - glib/win32-appinfo.test 1450s ok 5 /appinfo/win32-utf16-conversion-fail 1450s # Start of subprocess tests 1450s # End of subprocess tests 1450s # End of appinfo tests 1450s # Running test: glib/memory-input-stream.test 1450s TAP version 14 1450s # random seed: R02Scf9cb6bb9e7c0130b59567c48f8175f8 1450s 1..6 1450s # Start of memory-input-stream tests 1450s ok 1 /memory-input-stream/read-chunks 1450s ok 2 /memory-input-stream/async 1450s ok 3 /memory-input-stream/seek 1450s ok 4 /memory-input-stream/truncate 1450s ok 5 /memory-input-stream/read-bytes 1450s ok 6 /memory-input-stream/from-bytes 1450s # End of memory-input-stream tests 1450s ok - glib/memory-input-stream.test 1450s # Running test: glib/gdbus-peer-object-manager.test 1450s TAP version 14 1450s # random seed: R02S0391280e6a66214e29434ee1738b8e99 1450s 1..2 1450s # Start of gdbus tests 1450s # Start of peer-object-manager tests 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/normal/.dirs/runtime 1450s ok - glib/gdbus-peer-object-manager.test 1450s # Running test: glib/properties.test 1450s ok 1 /gdbus/peer-object-manager/normal 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_8YWAK3/gdbus/peer-object-manager/root/.dirs/runtime 1450s ok 2 /gdbus/peer-object-manager/root 1450s # End of peer-object-manager tests 1450s # End of gdbus tests 1450s TAP version 14 1450s # random seed: R02Sc34beb900129f7cced63cc25158278de 1450s 1..14 1450s # Start of properties tests 1450s ok 1 /properties/install 1450s ok 2 /properties/install-many 1450s ok 3 /properties/notify 1450s ok 4 /properties/notify-queue 1450s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1450s ok 5 /properties/construct 1450s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1450s # Test g_object_get_property with an initialized value 1450s # Test g_object_get_property with an uninitialized value 1450s # Test g_object_get_property with a transformable value 1450s ok 6 /properties/get-property 1450s ok 7 /properties/testv_with_no_properties 1450s ok 8 /properties/testv_with_valid_properties 1450s ok 9 /properties/testv_with_invalid_property_type 1450s ok 10 /properties/testv_with_invalid_property_names 1450s ok 11 /properties/testv_getv 1450s ok 12 /properties/testv_notify_queue 1450s # Start of notify tests 1450s ok - glib/properties.test 1450s ok 13 /properties/notify/too-many-freezes 1450s # End of notify tests 1450s # Start of set-property tests 1450s # Start of variant tests 1450s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1450s ok 14 /properties/set-property/variant/floating 1450s # End of variant tests 1450s # End of set-property tests 1450s # End of properties tests 1450s # Running test: glib/buffered-input-stream.test 1450s TAP version 14 1450s # random seed: R02Sc1c98ab676b7ba291bbe32dc9106b306 1450s 1..10 1450s # Start of buffered-input-stream tests 1450s ok 1 /buffered-input-stream/peek 1450s ok 2 /buffered-input-stream/peek-buffer 1450s ok 3 /buffered-input-stream/set-buffer-size 1450s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1450s ok 4 /buffered-input-stream/read-byte 1450s ok 5 /buffered-input-stream/read 1450s ok 6 /buffered-input-stream/read-async 1450s ok 7 /buffered-input-stream/skip 1450s ok 8 /buffered-input-stream/skip-async 1450s ok 9 /buffered-input-stream/seek 1450s # End of buffered-input-stream tests 1450s # Start of filter-input-stream tests 1450s ok 10 /filter-input-stream/close 1450s # End of filter-input-stream tests 1450s ok - glib/buffered-input-stream.test 1450s # Running test: glib/qdata.test 1450s TAP version 14 1450s # random seed: R02S2f52007cc4f32fb8a94526c6a4794fc8 1450s 1..2 1450s # Start of qdata tests 1450s ok 1 /qdata/threaded 1450s ok 2 /qdata/dup 1450s # End of qdata tests 1450s ok - glib/qdata.test 1450s # Running test: glib/utils.test 1450s TAP version 14 1450s # random seed: R02Se2d9aa750b66af9de48ede4f71c7664f 1450s 1..41 1450s # Start of utils tests 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/language-names/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/language-names/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/language-names/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/language-names/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/language-names/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/language-names/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/language-names/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/language-names/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/language-names/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/language-names/.dirs/runtime 1450s ok 1 /utils/language-names 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/locale-variants/.dirs/runtime 1450s # Testing locale ‘en’ 1450s # Testing locale ‘sr@latin’ 1450s # Testing locale ‘fr_BE’ 1450s # Testing locale ‘sr_SR@latin’ 1450s # Testing locale ‘sr_SR@latin.UTF-8’ 1450s # Testing locale ‘sr@latin_invalid’ 1450s # Testing locale ‘sr.UTF-8@latin’ 1450s # Testing locale ‘sr.UTF-8_latin’ 1450s # Testing locale ‘sr.UTF-8@latin_invalid’ 1450s ok 2 /utils/locale-variants 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/version/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/version/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/version/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/version/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/version/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/version/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/version/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/version/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/version/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/version/.dirs/runtime 1450s ok 3 /utils/version 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/appname/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/appname/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/appname/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/appname/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/appname/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/appname/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/appname/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/appname/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/appname/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/appname/.dirs/runtime 1450s ok 4 /utils/appname 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/prgname-thread-safety/.dirs/runtime 1450s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1450s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1450s ok 5 /utils/prgname-thread-safety 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/tmpdir/.dirs/runtime 1450s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1450s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1450s Unable to clean up temporary directory /tmp/test_utils_6KOEK3/utils/tmpdir: No such file or directory 1450s ok 6 /utils/tmpdir 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/basic_bits/.dirs/runtime 1450s ok 7 /utils/basic_bits 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/bits/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/bits/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/bits/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/bits/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/bits/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/bits/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/bits/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/bits/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/bits/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/bits/.dirs/runtime 1450s ok 8 /utils/bits 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/swap/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/swap/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/swap/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/swap/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/swap/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/swap/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/swap/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/swap/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/swap/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/swap/.dirs/runtime 1450s ok 9 /utils/swap 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/find-program/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/find-program/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/find-program/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/find-program/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/find-program/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/find-program/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/find-program/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/find-program/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/find-program/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/find-program/.dirs/runtime 1450s ok 10 /utils/find-program 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/find-program-for-path/.dirs/runtime 1450s ok 11 /utils/find-program-for-path 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/debug/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/debug/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/debug/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/debug/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/debug/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/debug/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/debug/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/debug/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/debug/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/debug/.dirs/runtime 1450s Unable to clean up temporary directory /tmp/test_utils_6KOEK3/utils/debug: No such file or directory 1450s ok 12 /utils/debug 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/codeset/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/codeset/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/codeset/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/codeset/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/codeset/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/codeset/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/codeset/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/codeset/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/codeset/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/codeset/.dirs/runtime 1450s ok 13 /utils/codeset 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/codeset2/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/codeset2/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/codeset2/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/codeset2/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/codeset2/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/codeset2/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/codeset2/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/codeset2/.dirs/runtime 1450s Unable to clean up temporary directory /tmp/test_utils_6KOEK3/utils/codeset2: No such file or directory 1450s ok 14 /utils/codeset2 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/console-charset/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/console-charset/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/console-charset/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/console-charset/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/console-charset/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/console-charset/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/console-charset/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/console-charset/.dirs/runtime 1450s ok 15 /utils/console-charset 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/gettext/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/gettext/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/gettext/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/gettext/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/gettext/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/gettext/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/gettext/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/gettext/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/gettext/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/gettext/.dirs/runtime 1450s ok 16 /utils/gettext 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/username/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/username/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/username/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/username/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/username/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/username/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/username/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/username/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/username/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/username/.dirs/runtime 1450s ok 17 /utils/username 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/realname/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/realname/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/realname/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/realname/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/realname/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/realname/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/realname/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/realname/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/realname/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/realname/.dirs/runtime 1450s ok 18 /utils/realname 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/hostname/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/hostname/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/hostname/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/hostname/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/hostname/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/hostname/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/hostname/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/hostname/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/hostname/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/hostname/.dirs/runtime 1450s ok 19 /utils/hostname 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/os-info/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/os-info/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/os-info/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/os-info/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/os-info/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/os-info/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/os-info/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/os-info/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/os-info/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/os-info/.dirs/runtime 1450s # NAME: Ubuntu 1450s ok 20 /utils/os-info 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/clear-pointer/.dirs/runtime 1450s ok 21 /utils/clear-pointer 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/clear-pointer-cast/.dirs/runtime 1450s ok 22 /utils/clear-pointer-cast 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/take-pointer/.dirs/runtime 1450s ok 23 /utils/take-pointer 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/clear-source/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/clear-source/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/clear-source/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/clear-source/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/clear-source/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/clear-source/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/clear-source/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/clear-source/.dirs/runtime 1450s ok 24 /utils/clear-source 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/misc-mem/.dirs/runtime 1450s ok 25 /utils/misc-mem 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/aligned-mem/.dirs/runtime 1450s # /utils/aligned-mem summary: Aligned memory allocator 1450s # Alignment must not be zero 1450s # Alignment must be a power of two 1450s # Alignment must be a multiple of sizeof(void*) 1450s ok 26 /utils/aligned-mem 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/free-sized/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/free-sized/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/free-sized/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/free-sized/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/free-sized/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/free-sized/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/free-sized/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/free-sized/.dirs/runtime 1450s # /utils/free-sized summary: Check that g_free_sized() works 1450s ok 27 /utils/free-sized 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/nullify/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/nullify/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/nullify/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/nullify/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/nullify/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/nullify/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/nullify/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/nullify/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/nullify/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/nullify/.dirs/runtime 1450s ok 28 /utils/nullify 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/atexit/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/atexit/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/atexit/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/atexit/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/atexit/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/atexit/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/atexit/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/atexit/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/atexit/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/atexit/.dirs/runtime 1450s Unable to clean up temporary directory /tmp/test_utils_6KOEK3/utils/atexit: No such file or directory 1450s ok 29 /utils/atexit 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/check-setuid/.dirs/runtime 1450s ok 30 /utils/check-setuid 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/int-limits/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/int-limits/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/int-limits/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/int-limits/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/int-limits/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/int-limits/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/int-limits/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/int-limits/.dirs/runtime 1450s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1450s ok 31 /utils/int-limits 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/clear-list/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/clear-list/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/clear-list/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/clear-list/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/clear-list/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/clear-list/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/clear-list/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/clear-list/.dirs/runtime 1450s ok 32 /utils/clear-list 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/clear-slist/.dirs/runtime 1450s ok 33 /utils/clear-slist 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/steal-handle-id/.dirs/runtime 1450s ok 34 /utils/steal-handle-id 1450s # Start of user-special-dirs tests 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/user-special-dirs/desktop/.dirs/runtime 1450s ok 35 /utils/user-special-dirs/desktop 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked/.dirs/runtime 1450s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content. 1450s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800 1450s Unable to clean up temporary directory /tmp/test_utils_6KOEK3/utils/user-special-dirs/load-unlocked: No such file or directory 1450s ok 36 /utils/user-special-dirs/load-unlocked 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks/.dirs/runtime 1450s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload. 1450s Unable to clean up temporary directory /tmp/test_utils_6KOEK3/utils/user-special-dirs/reload-leaks: No such file or directory 1450s ok 37 /utils/user-special-dirs/reload-leaks 1450s # End of user-special-dirs tests 1450s # Start of clear-pointer tests 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/clear-pointer/side-effects/.dirs/runtime 1450s ok 38 /utils/clear-pointer/side-effects 1450s # End of clear-pointer tests 1450s # Start of aligned-mem tests 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/aligned-mem/alignment/.dirs/runtime 1450s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1450s ok 39 /utils/aligned-mem/alignment 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/aligned-mem/zeroed/.dirs/runtime 1450s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1450s ok 40 /utils/aligned-mem/zeroed 1450s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/home 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/cache 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/system-config2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/config 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/system-data2 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/data 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/state 1450s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_6KOEK3/utils/aligned-mem/free-sized/.dirs/runtime 1450s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1450s ok 41 /utils/aligned-mem/free-sized 1450s # Start of subprocess tests 1450s # End of subprocess tests 1450s # End of aligned-mem tests 1450s # End of utils tests 1450s ok - glib/utils.test 1450s # Running test: glib/macros.test 1450s ok - glib/macros.test 1450s # Running test: glib/performance-threaded.test 1450s TAP version 14 1450s # random seed: R02S6565a871ce9374413967ba1b3ab16253 1450s 1..3 1450s # Start of alignof tests 1450s ok 1 /alignof/fallback 1450s # End of alignof tests 1450s # Start of assert tests 1450s ok 2 /assert/static 1450s # End of assert tests 1450s # Start of struct tests 1450s ok 3 /struct/sizeof_member 1450s # End of struct tests 1450s Running test "liststore-is-a" 1451s 2188 runs, min/avg/max = 0.448/0.457/0.609 ms 1451s Running test "liststore-interface-peek" 1451s # Executing: glib/performance-threaded.test 1452s 2733 runs, min/avg/max = 0.348/0.366/0.503 ms 1452s Running test "liststore-interface-peek-same" 1453s 2757 runs, min/avg/max = 0.348/0.363/0.540 ms 1453s ok - glib/performance-threaded.test 1453s # Running test: glib/filter-streams.test 1453s TAP version 14 1453s # random seed: R02Sdc4fb2c984d406897ebb0508b2d7c166 1453s 1..4 1453s # Start of filter-stream tests 1453s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1453s ok 1 /filter-stream/input 1453s ok 2 /filter-stream/output 1453s ok 3 /filter-stream/async-input 1453s ok 4 /filter-stream/async-output 1453s # End of filter-stream tests 1453s ok - glib/filter-streams.test 1453s # Running test: glib/gvariant.test 1453s TAP version 14 1453s # random seed: R02S4575bdffe97e18fde3d53bbb15122d41 1453s 1..69 1453s # Start of gvariant tests 1453s ok 1 /gvariant/type 1453s ok 2 /gvariant/typeinfo 1453s ok 3 /gvariant/string 1453s ok 4 /gvariant/utf8 1453s ok 5 /gvariant/utf8-new-strings 1454s ok 6 /gvariant/containers 1454s ok 7 /gvariant/format-strings 1454s ok 8 /gvariant/invalid-varargs 1454s ok 9 /gvariant/varargs 1454s ok 10 /gvariant/valist 1454s ok 11 /gvariant/builder-memory 1454s ok 12 /gvariant/hashing 1454s ok 13 /gvariant/byteswap 1455s ok 14 /gvariant/parser 1455s # slow test /gvariant/parser executed in 0.60 secs 1455s ok 15 /gvariant/parse-failures 1455s ok 16 /gvariant/parse-positional 1455s ok 17 /gvariant/floating 1455s ok 18 /gvariant/bytestring 1455s ok 19 /gvariant/lookup-value 1455s ok 20 /gvariant/lookup 1455s ok 21 /gvariant/compare 1455s ok 22 /gvariant/equal 1455s ok 23 /gvariant/fixed-array 1455s ok 24 /gvariant/check-format-string 1455s ok 25 /gvariant/checksum-basic 1455s ok 26 /gvariant/checksum-nested 1455s ok 27 /gvariant/gbytes 1455s ok 28 /gvariant/print-context 1455s ok 29 /gvariant/error-quark 1455s ok 30 /gvariant/stack-builder-init 1455s ok 31 /gvariant/stack-builder-init-static 1455s ok 32 /gvariant/stack-builder-init-unset 1455s ok 33 /gvariant/stack-dict-init 1455s ok 34 /gvariant/unaligned-construction 1455s # Start of type tests 1455s # Start of string-scan tests 1455s # Start of recursion tests 1455s ok 35 /gvariant/type/string-scan/recursion/tuple 1455s ok 36 /gvariant/type/string-scan/recursion/array 1455s # End of recursion tests 1455s # End of string-scan tests 1455s # End of type tests 1455s # Start of serialiser tests 1455s ok 37 /gvariant/serialiser/maybe 1455s ok 38 /gvariant/serialiser/array 1455s ok 39 /gvariant/serialiser/tuple 1455s ok 40 /gvariant/serialiser/variant 1455s ok 41 /gvariant/serialiser/strings 1456s ok 42 /gvariant/serialiser/byteswap 1456s # slow test /gvariant/serialiser/byteswap executed in 1.37 secs 1456s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 1456s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 1456s ok 43 /gvariant/serialiser/children 1456s # Start of byteswap tests 1456s ok 44 /gvariant/serialiser/byteswap/zero-sized 1456s # End of byteswap tests 1456s # Start of fuzz tests 1456s # Executing: glib/gvariant.test 1460s ok 45 /gvariant/serialiser/fuzz/1% 1460s # slow test /gvariant/serialiser/fuzz/1% executed in 3.72 secs 1461s ok 46 /gvariant/serialiser/fuzz/5% 1461s ok 47 /gvariant/serialiser/fuzz/9% 1461s # slow test /gvariant/serialiser/fuzz/9% executed in 0.86 secs 1461s # Executing: glib/gvariant.test 1463s ok 48 /gvariant/serialiser/fuzz/13% 1463s # slow test /gvariant/serialiser/fuzz/13% executed in 1.08 secs 1463s ok 49 /gvariant/serialiser/fuzz/17% 1463s # slow test /gvariant/serialiser/fuzz/17% executed in 0.65 secs 1463s # End of fuzz tests 1463s # End of serialiser tests 1463s # Start of utf8 tests 1463s # Start of subprocess tests 1463s # End of subprocess tests 1463s # End of utf8 tests 1463s # Start of varargs tests 1463s # Start of subprocess tests 1463s # End of subprocess tests 1463s # End of varargs tests 1463s # Start of byteswap tests 1463s # /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. 1463s ok 50 /gvariant/byteswap/non-normal-non-aligned 1463s # End of byteswap tests 1463s # Start of parser tests 1463s ok 51 /gvariant/parser/integer-bounds 1463s ok 52 /gvariant/parser/recursion 1463s # Start of recursion tests 1463s ok 53 /gvariant/parser/recursion/typedecls 1463s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1463s # Text form 0: @mmmu 5 1463s # Text form 1: @mmmas ['hello'] 1463s # Text form 2: @mmmu just just nothing 1463s # Text form 3: @mmmas just just nothing 1463s # Text form 4: @mmmu just nothing 1463s # Text form 5: @mmmas just nothing 1463s # Text form 6: @mmmu nothing 1463s # Text form 7: @mmmas nothing 1463s ok 54 /gvariant/parser/recursion/maybes 1463s # End of recursion tests 1463s # End of parser tests 1463s # Start of parse tests 1463s # Start of subprocess tests 1463s # End of subprocess tests 1463s # End of parse tests 1463s # Start of normal-checking tests 1463s ok 55 /gvariant/normal-checking/tuples 1463s ok 56 /gvariant/normal-checking/array-offsets 1463s ok 57 /gvariant/normal-checking/array-offsets2 1463s ok 58 /gvariant/normal-checking/tuple-offsets 1463s ok 59 /gvariant/normal-checking/tuple-offsets2 1463s ok 60 /gvariant/normal-checking/tuple-offsets3 1463s ok 61 /gvariant/normal-checking/tuple-offsets4 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1463s ok 62 /gvariant/normal-checking/tuple-offsets5 1463s ok 63 /gvariant/normal-checking/empty-object-path 1463s # Start of array-offsets tests 1463s ok 64 /gvariant/normal-checking/array-offsets/overlapped 1463s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 1463s # End of array-offsets tests 1463s # Start of tuple-offsets tests 1463s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 1463s # End of tuple-offsets tests 1463s # End of normal-checking tests 1463s # Start of recursion-limits tests 1463s ok 67 /gvariant/recursion-limits/variant-in-variant 1463s ok - glib/gvariant.test 1463s # Running test: glib/markup-escape.test 1463s ok 68 /gvariant/recursion-limits/array-in-variant 1463s # End of recursion-limits tests 1463s # End of gvariant tests 1463s # Start of gvarianttype tests 1463s ok 69 /gvarianttype/hash 1463s # End of gvarianttype tests 1463s TAP version 14 1463s # random seed: R02S3faf0670c20691754d47019980a3ff25 1463s 1..41 1463s # Start of markup tests 1463s ok 1 /markup/format 1463s # Start of escape-text tests 1463s ok - glib/markup-escape.test 1463s # Running test: glib/closure.test 1463s ok - glib/closure.test 1463s # Running test: glib/regex.test 1463s ok 2 /markup/escape-text/0 1463s ok 3 /markup/escape-text/1 1463s ok 4 /markup/escape-text/2 1463s ok 5 /markup/escape-text/3 1463s ok 6 /markup/escape-text/4 1463s ok 7 /markup/escape-text/5 1463s ok 8 /markup/escape-text/6 1463s ok 9 /markup/escape-text/7 1463s ok 10 /markup/escape-text/8 1463s ok 11 /markup/escape-text/9 1463s ok 12 /markup/escape-text/10 1463s ok 13 /markup/escape-text/11 1463s ok 14 /markup/escape-text/12 1463s ok 15 /markup/escape-text/13 1463s ok 16 /markup/escape-text/14 1463s ok 17 /markup/escape-text/15 1463s ok 18 /markup/escape-text/16 1463s ok 19 /markup/escape-text/17 1463s ok 20 /markup/escape-text/18 1463s ok 21 /markup/escape-text/19 1463s ok 22 /markup/escape-text/20 1463s ok 23 /markup/escape-text/21 1463s ok 24 /markup/escape-text/22 1463s # End of escape-text tests 1463s # Start of escape-unichar tests 1463s ok 25 /markup/escape-unichar/0 1463s ok 26 /markup/escape-unichar/1 1463s ok 27 /markup/escape-unichar/2 1463s ok 28 /markup/escape-unichar/3 1463s ok 29 /markup/escape-unichar/4 1463s ok 30 /markup/escape-unichar/5 1463s ok 31 /markup/escape-unichar/6 1463s ok 32 /markup/escape-unichar/7 1463s ok 33 /markup/escape-unichar/8 1463s ok 34 /markup/escape-unichar/9 1463s ok 35 /markup/escape-unichar/10 1463s ok 36 /markup/escape-unichar/11 1463s ok 37 /markup/escape-unichar/12 1463s ok 38 /markup/escape-unichar/13 1463s ok 39 /markup/escape-unichar/14 1463s ok 40 /markup/escape-unichar/15 1463s ok 41 /markup/escape-unichar/16 1463s # End of escape-unichar tests 1463s # End of markup tests 1463s TAP version 14 1463s # random seed: R02Sf202daf13ce9e2cc67e04bef14f9c301 1463s 1..6 1463s # Start of closure tests 1463s ok 1 /closure/idle 1463s ok 2 /closure/timeout 1463s ok 3 /closure/iochannel 1463s ok 4 /closure/child 1463s ok 5 /closure/fd 1463s ok 6 /closure/signal 1463s # End of closure tests 1463s TAP version 14 1463s # random seed: R02S1bb5c5cb5f84abdb9fd15b9cb01ba568 1463s 1..849 1463s # Start of regex tests 1463s ok 1 /regex/properties 1463s ok 2 /regex/class 1463s ok 3 /regex/lookahead 1463s ok 4 /regex/lookbehind 1463s ok 5 /regex/subpattern 1463s ok 6 /regex/condition 1463s ok 7 /regex/recursion 1463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1463s ok 8 /regex/multiline 1463s ok 9 /regex/explicit-crlf 1463s ok 10 /regex/max-lookbehind 1463s ok 11 /regex/compile-errors 1463s ok 12 /regex/jit-unsupported-matching 1463s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1463s ok 13 /regex/unmatched-named-subpattern 1463s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1463s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1463s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1463s ok 14 /regex/compiled-regex-after-jit-failure 1463s # Start of new tests 1463s ok 15 /regex/new/1 1463s ok 16 /regex/new/2 1463s ok 17 /regex/new/3 1463s ok 18 /regex/new/4 1463s ok 19 /regex/new/5 1463s ok 20 /regex/new/6 1463s ok 21 /regex/new/7 1463s ok 22 /regex/new/8 1463s ok 23 /regex/new/9 1463s ok 24 /regex/new/10 1463s ok 25 /regex/new/11 1463s ok 26 /regex/new/12 1463s ok 27 /regex/new/13 1463s ok 28 /regex/new/14 1463s ok 29 /regex/new/15 1463s ok 30 /regex/new/16 1463s ok 31 /regex/new/17 1463s ok 32 /regex/new/18 1463s ok 33 /regex/new/19 1463s ok 34 /regex/new/71 1463s ok 35 /regex/new/81 1463s ok 36 /regex/new/83 1463s # End of new tests 1463s # Start of new-check-flags tests 1463s ok 37 /regex/new-check-flags/20 1463s ok 38 /regex/new-check-flags/21 1463s ok 39 /regex/new-check-flags/22 1463s ok 40 /regex/new-check-flags/23 1463s ok 41 /regex/new-check-flags/24 1463s ok 42 /regex/new-check-flags/25 1463s ok 43 /regex/new-check-flags/26 1463s ok 44 /regex/new-check-flags/27 1463s ok 45 /regex/new-check-flags/28 1463s ok 46 /regex/new-check-flags/29 1463s ok 47 /regex/new-check-flags/30 1463s ok 48 /regex/new-check-flags/31 1463s ok 49 /regex/new-check-flags/32 1463s ok 50 /regex/new-check-flags/33 1463s ok 51 /regex/new-check-flags/34 1463s ok 52 /regex/new-check-flags/35 1463s ok 53 /regex/new-check-flags/36 1463s # End of new-check-flags tests 1463s # Start of new-fail tests 1463s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating ) 1463s ok 54 /regex/new-fail/37 1463s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating ) 1463s ok 55 /regex/new-fail/38 1463s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class 1463s ok 56 /regex/new-fail/39 1463s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat 1463s ok 57 /regex/new-fail/40 1463s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat 1463s ok 58 /regex/new-fail/41 1463s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name 1463s ok 59 /regex/new-fail/42 1463s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern 1463s ok 60 /regex/new-fail/43 1463s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern 1463s ok 61 /regex/new-fail/44 1463s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \ 1463s ok 62 /regex/new-fail/45 1463s # Compiling pattern /a{4,2}/ failed with error: Error while compiling regular expression ‘a{4,2}’ at char 5: numbers out of order in {} quantifier 1463s ok 63 /regex/new-fail/46 1463s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier 1463s ok 64 /regex/new-fail/47 1463s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class 1463s ok 65 /regex/new-fail/48 1463s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class 1463s ok 66 /regex/new-fail/49 1463s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class 1463s ok 67 /regex/new-fail/50 1463s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class 1463s ok 68 /regex/new-fail/51 1463s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat 1463s ok 69 /regex/new-fail/52 1463s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?- 1463s ok 70 /regex/new-fail/53 1463s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?& 1463s ok 71 /regex/new-fail/54 1463s # Compiling pattern /a[:alpha:]b/ failed with error: Error while compiling regular expression ‘a[:alpha:]b’ at char 1: POSIX named classes are supported only within a class 1463s ok 72 /regex/new-fail/55 1463s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating ) 1463s ok 73 /regex/new-fail/56 1463s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating ) 1463s ok 74 /regex/new-fail/57 1463s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating ) 1463s ok 75 /regex/new-fail/58 1463s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern 1463s ok 76 /regex/new-fail/59 1463s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern 1463s ok 77 /regex/new-fail/60 1463s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment 1463s ok 78 /regex/new-fail/61 1463s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length 1463s ok 79 /regex/new-fail/62 1463s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?( 1463s ok 80 /regex/new-fail/63 1463s # Compiling pattern /(a)(?(1)a|b|c)/ failed with error: Error while compiling regular expression ‘(a)(?(1)a|b|c)’ at char 3: conditional group contains more than two branches 1463s ok 81 /regex/new-fail/64 1463s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?( 1463s ok 82 /regex/new-fail/65 1463s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name 1463s ok 83 /regex/new-fail/66 1463s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported 1463s ok 84 /regex/new-fail/67 1463s # Compiling pattern /\x{110000}/ failed with error: Error while compiling regular expression ‘\x{110000}’ at char 9: character value in \x{...} sequence is too large 1463s ok 85 /regex/new-fail/68 1463s # Compiling pattern /^(?(0)f|b)oo/ failed with error: Error while compiling regular expression ‘^(?(0)f|b)oo’ at char 5: reference to non-existent subpattern 1463s ok 86 /regex/new-fail/69 1463s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion 1463s ok 87 /regex/new-fail/70 1463s # Compiling pattern /(?(?foo)\gfoo)\geks)(?Peccs)/ failed with error: Error while compiling regular expression ‘(?Peks)(?Peccs)’ at char 16: two named subpatterns have the same name 1463s ok 90 /regex/new-fail/74 1463s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377 1463s ok 91 /regex/new-fail/75 1463s # Compiling pattern /^(?(DEFINE) abc | xyz ) / failed with error: Error while compiling regular expression ‘^(?(DEFINE) abc | xyz ) ’ at char 4: DEFINE group contains more than one branch 1463s ok 92 /regex/new-fail/76 1463s # Compiling pattern /a/ failed with error: Invalid newline flags 1463s ok 93 /regex/new-fail/77 1463s # Compiling pattern /^(a)\g"3/ failed with error: Error while compiling regular expression ‘^(a)\g"3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number 1463s ok 94 /regex/new-fail/78 1463s # Compiling pattern /^(a)\g{3/ failed with error: Error while compiling regular expression ‘^(a)\g{3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number 1463s ok 95 /regex/new-fail/79 1463s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern 1463s ok 96 /regex/new-fail/80 1463s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized 1463s ok 97 /regex/new-fail/82 1463s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?& 1463s ok 98 /regex/new-fail/84 1463s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero 1463s ok 99 /regex/new-fail/85 1463s # Compiling pattern /(?|(?A)|(?B))/ failed with error: Error while compiling regular expression ‘(?|(?A)|(?B))’ at char 16: different names for subpatterns of the same number are not allowed 1463s ok 100 /regex/new-fail/86 1463s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument 1463s ok 101 /regex/new-fail/87 1463s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character 1463s ok 102 /regex/new-fail/88 1463s # Compiling pattern /\k/ failed with error: Error while compiling regular expression ‘\k’ at char 2: \k is not followed by a braced, angle-bracketed, or quoted name 1463s ok 103 /regex/new-fail/89 1463s # Compiling pattern /a[\NB]c/ failed with error: Error while compiling regular expression ‘a[\NB]c’ at char 4: \N is not supported in a class 1463s ok 104 /regex/new-fail/90 1463s # Compiling pattern /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX/ failed with error: Error while compiling regular expression ‘(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX’ at char 260: name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN) 1463s ok 105 /regex/new-fail/91 1463s # Compiling pattern /(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")/ failed with error: Error while compiling regular expression ‘(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")’ at char 61: character value in \x{...} sequence is too large 1463s ok 106 /regex/new-fail/92 1463s # End of new-fail tests 1463s # Start of match-simple tests 1463s ok 107 /regex/match-simple/93 1463s ok 108 /regex/match-simple/94 1463s ok 109 /regex/match-simple/95 1463s ok 110 /regex/match-simple/96 1463s ok 111 /regex/match-simple/97 1463s ok 112 /regex/match-simple/98 1463s ok 113 /regex/match-simple/99 1463s ok 114 /regex/match-simple/100 1463s ok 115 /regex/match-simple/101 1463s ok 116 /regex/match-simple/102 1463s ok 117 /regex/match-simple/103 1463s ok 118 /regex/match-simple/104 1463s ok 119 /regex/match-simple/105 1463s ok 120 /regex/match-simple/106 1463s ok 121 /regex/match-simple/107 1463s ok 122 /regex/match-simple/108 1463s ok 123 /regex/match-simple/109 1463s ok 124 /regex/match-simple/110 1463s ok 125 /regex/match-simple/111 1463s ok 126 /regex/match-simple/112 1463s ok 127 /regex/match-simple/113 1463s ok 128 /regex/match-simple/114 1463s ok 129 /regex/match-simple/115 1463s ok 130 /regex/match-simple/116 1463s ok 131 /regex/match-simple/117 1463s ok 132 /regex/match-simple/118 1463s ok 133 /regex/match-simple/119 1463s ok 134 /regex/match-simple/120 1463s ok 135 /regex/match-simple/121 1463s ok 136 /regex/match-simple/122 1463s ok 137 /regex/match-simple/123 1463s ok 138 /regex/match-simple/124 1463s ok 139 /regex/match-simple/125 1463s ok 140 /regex/match-simple/126 1463s ok 141 /regex/match-simple/127 1463s ok 142 /regex/match-simple/128 1463s ok 143 /regex/match-simple/129 1463s ok 144 /regex/match-simple/130 1463s ok 145 /regex/match-simple/131 1463s ok 146 /regex/match-simple/132 1463s ok 147 /regex/match-simple/133 1463s ok 148 /regex/match-simple/134 1463s ok 149 /regex/match-simple/135 1463s ok 150 /regex/match-simple/136 1463s ok 151 /regex/match-simple/137 1463s ok 152 /regex/match-simple/138 1463s ok 153 /regex/match-simple/139 1463s ok 154 /regex/match-simple/140 1463s ok 155 /regex/match-simple/141 1463s ok 156 /regex/match-simple/142 1463s ok 157 /regex/match-simple/143 1463s ok 158 /regex/match-simple/144 1463s ok 159 /regex/match-simple/145 1463s ok 160 /regex/match-simple/146 1463s ok 161 /regex/match-simple/147 1463s ok 162 /regex/match-simple/148 1463s ok 163 /regex/match-simple/149 1463s ok 164 /regex/match-simple/150 1463s ok 165 /regex/match-simple/151 1463s ok 166 /regex/match-simple/152 1463s ok 167 /regex/match-simple/153 1463s ok 168 /regex/match-simple/154 1463s ok 169 /regex/match-simple/155 1463s ok 170 /regex/match-simple/156 1463s ok 171 /regex/match-simple/157 1463s ok 172 /regex/match-simple/158 1463s ok 173 /regex/match-simple/159 1463s ok 174 /regex/match-simple/160 1463s ok 175 /regex/match-simple/161 1463s ok 176 /regex/match-simple/162 1463s ok 177 /regex/match-simple/163 1463s ok 178 /regex/match-simple/164 1463s ok 179 /regex/match-simple/165 1463s # End of match-simple tests 1463s # Start of match-simple-optimized tests 1463s ok 180 /regex/match-simple-optimized/93 1463s ok 181 /regex/match-simple-optimized/94 1463s ok 182 /regex/match-simple-optimized/95 1463s ok 183 /regex/match-simple-optimized/96 1463s ok 184 /regex/match-simple-optimized/97 1463s ok 185 /regex/match-simple-optimized/98 1463s ok 186 /regex/match-simple-optimized/99 1463s ok 187 /regex/match-simple-optimized/100 1463s ok 188 /regex/match-simple-optimized/101 1463s ok 189 /regex/match-simple-optimized/102 1463s ok 190 /regex/match-simple-optimized/103 1463s ok 191 /regex/match-simple-optimized/104 1463s ok 192 /regex/match-simple-optimized/105 1463s ok 193 /regex/match-simple-optimized/106 1463s ok 194 /regex/match-simple-optimized/107 1463s ok 195 /regex/match-simple-optimized/108 1463s ok 196 /regex/match-simple-optimized/109 1463s ok 197 /regex/match-simple-optimized/110 1463s ok 198 /regex/match-simple-optimized/111 1463s ok 199 /regex/match-simple-optimized/112 1463s ok 200 /regex/match-simple-optimized/113 1463s ok 201 /regex/match-simple-optimized/114 1463s ok 202 /regex/match-simple-optimized/115 1463s ok 203 /regex/match-simple-optimized/116 1463s ok 204 /regex/match-simple-optimized/117 1463s ok 205 /regex/match-simple-optimized/118 1463s ok 206 /regex/match-simple-optimized/119 1463s ok 207 /regex/match-simple-optimized/120 1463s ok 208 /regex/match-simple-optimized/121 1463s ok 209 /regex/match-simple-optimized/122 1463s ok 210 /regex/match-simple-optimized/123 1463s ok 211 /regex/match-simple-optimized/124 1463s ok 212 /regex/match-simple-optimized/125 1463s ok 213 /regex/match-simple-optimized/126 1463s ok 214 /regex/match-simple-optimized/127 1463s ok 215 /regex/match-simple-optimized/128 1463s ok 216 /regex/match-simple-optimized/129 1463s ok 217 /regex/match-simple-optimized/130 1463s ok 218 /regex/match-simple-optimized/131 1463s ok 219 /regex/match-simple-optimized/132 1463s ok 220 /regex/match-simple-optimized/133 1463s ok 221 /regex/match-simple-optimized/134 1463s ok 222 /regex/match-simple-optimized/135 1463s ok 223 /regex/match-simple-optimized/136 1463s ok 224 /regex/match-simple-optimized/137 1463s ok 225 /regex/match-simple-optimized/138 1463s ok 226 /regex/match-simple-optimized/139 1463s ok 227 /regex/match-simple-optimized/140 1463s ok 228 /regex/match-simple-optimized/141 1463s ok 229 /regex/match-simple-optimized/142 1463s ok 230 /regex/match-simple-optimized/143 1463s ok 231 /regex/match-simple-optimized/144 1463s ok 232 /regex/match-simple-optimized/145 1463s ok 233 /regex/match-simple-optimized/146 1463s ok 234 /regex/match-simple-optimized/147 1463s ok 235 /regex/match-simple-optimized/148 1463s ok 236 /regex/match-simple-optimized/149 1463s ok 237 /regex/match-simple-optimized/150 1463s ok 238 /regex/match-simple-optimized/151 1463s ok 239 /regex/match-simple-optimized/152 1463s ok 240 /regex/match-simple-optimized/153 1463s ok 241 /regex/match-simple-optimized/154 1463s ok 242 /regex/match-simple-optimized/155 1463s ok 243 /regex/match-simple-optimized/156 1463s ok 244 /regex/match-simple-optimized/157 1463s ok 245 /regex/match-simple-optimized/158 1463s ok 246 /regex/match-simple-optimized/159 1463s ok 247 /regex/match-simple-optimized/160 1463s ok 248 /regex/match-simple-optimized/161 1463s ok 249 /regex/match-simple-optimized/162 1463s ok 250 /regex/match-simple-optimized/163 1463s ok 251 /regex/match-simple-optimized/164 1463s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1463s ok 252 /regex/match-simple-optimized/165 1463s # End of match-simple-optimized tests 1463s # Start of match tests 1463s ok 253 /regex/match/166 1463s ok 254 /regex/match/167 1463s ok 255 /regex/match/168 1463s ok 256 /regex/match/169 1463s ok 257 /regex/match/170 1463s ok 258 /regex/match/171 1463s ok 259 /regex/match/172 1463s ok 260 /regex/match/173 1463s ok 261 /regex/match/174 1463s ok 262 /regex/match/175 1463s ok 263 /regex/match/176 1463s ok 264 /regex/match/177 1463s ok 265 /regex/match/178 1463s ok 266 /regex/match/179 1463s ok 267 /regex/match/180 1463s ok 268 /regex/match/181 1463s ok 269 /regex/match/182 1463s ok 270 /regex/match/183 1463s ok 271 /regex/match/184 1463s ok 272 /regex/match/185 1463s ok 273 /regex/match/186 1463s ok 274 /regex/match/187 1463s ok 275 /regex/match/188 1463s ok 276 /regex/match/189 1463s ok 277 /regex/match/190 1463s ok 278 /regex/match/191 1463s ok 279 /regex/match/192 1463s ok 280 /regex/match/193 1463s ok 281 /regex/match/194 1463s ok 282 /regex/match/195 1463s ok 283 /regex/match/196 1463s ok 284 /regex/match/197 1463s ok 285 /regex/match/198 1463s ok 286 /regex/match/199 1463s ok 287 /regex/match/200 1463s ok 288 /regex/match/201 1463s ok 289 /regex/match/202 1463s ok 290 /regex/match/203 1463s ok 291 /regex/match/204 1463s ok 292 /regex/match/205 1463s ok 293 /regex/match/206 1463s ok 294 /regex/match/207 1463s ok 295 /regex/match/208 1463s ok 296 /regex/match/209 1463s ok 297 /regex/match/210 1463s ok 298 /regex/match/211 1463s ok 299 /regex/match/212 1463s ok 300 /regex/match/213 1463s ok 301 /regex/match/214 1463s ok 302 /regex/match/215 1463s ok 303 /regex/match/216 1463s ok 304 /regex/match/217 1463s ok 305 /regex/match/218 1463s ok 306 /regex/match/219 1463s ok 307 /regex/match/220 1463s ok 308 /regex/match/221 1463s ok 309 /regex/match/222 1463s ok 310 /regex/match/223 1463s ok 311 /regex/match/224 1463s ok 312 /regex/match/225 1463s ok 313 /regex/match/226 1463s ok 314 /regex/match/227 1463s ok 315 /regex/match/228 1463s ok 316 /regex/match/229 1463s ok 317 /regex/match/230 1463s ok 318 /regex/match/231 1463s ok 319 /regex/match/232 1463s ok 320 /regex/match/233 1463s ok 321 /regex/match/234 1463s ok 322 /regex/match/235 1463s ok 323 /regex/match/236 1463s ok 324 /regex/match/237 1463s ok 325 /regex/match/238 1463s ok 326 /regex/match/239 1463s ok 327 /regex/match/240 1463s ok 328 /regex/match/241 1463s ok 329 /regex/match/242 1463s ok 330 /regex/match/243 1463s ok 331 /regex/match/244 1463s ok 332 /regex/match/245 1463s ok 333 /regex/match/246 1463s ok 334 /regex/match/247 1463s ok 335 /regex/match/partial282 1463s ok 336 /regex/match/partial283 1463s ok 337 /regex/match/partial284 1463s ok 338 /regex/match/partial285 1463s ok 339 /regex/match/partial286 1463s ok 340 /regex/match/partial287 1463s ok 341 /regex/match/partial288 1463s ok 342 /regex/match/partial289 1463s ok 343 /regex/match/partial290 1463s ok 344 /regex/match/partial291 1463s ok 345 /regex/match/partial292 1463s ok 346 /regex/match/partial293 1463s ok 347 /regex/match/partial294 1463s ok 348 /regex/match/partial295 1463s ok 349 /regex/match/partial296 1463s ok 350 /regex/match/partial297 1463s ok 351 /regex/match/partial298 1463s ok 352 /regex/match/partial299 1463s ok 353 /regex/match/partial300 1463s ok 354 /regex/match/partial301 1463s ok 355 /regex/match/partial302 1463s ok 356 /regex/match/partial303 1463s # Start of next0 tests 1463s ok 357 /regex/match/next0/248 1463s ok 358 /regex/match/next0/249 1463s ok 359 /regex/match/next0/250 1463s ok 360 /regex/match/next0/251 1463s # End of next0 tests 1463s # Start of next1 tests 1463s ok 361 /regex/match/next1/252 1463s ok 362 /regex/match/next1/253 1463s ok 363 /regex/match/next1/254 1463s ok 364 /regex/match/next1/255 1463s ok 365 /regex/match/next1/256 1463s # End of next1 tests 1463s # Start of next2 tests 1463s ok 366 /regex/match/next2/257 1463s ok 367 /regex/match/next2/258 1463s ok 368 /regex/match/next2/259 1463s ok 369 /regex/match/next2/260 1463s ok 370 /regex/match/next2/261 1463s ok 371 /regex/match/next2/262 1463s ok 372 /regex/match/next2/263 1463s ok 373 /regex/match/next2/264 1463s # End of next2 tests 1463s # Start of next3 tests 1463s ok 374 /regex/match/next3/265 1463s ok 375 /regex/match/next3/266 1463s ok 376 /regex/match/next3/267 1463s ok 377 /regex/match/next3/268 1463s ok 378 /regex/match/next3/269 1463s ok 379 /regex/match/next3/270 1463s # End of next3 tests 1463s # Start of next4 tests 1463s ok 380 /regex/match/next4/271 1463s # End of next4 tests 1463s # Start of count tests 1463s ok 381 /regex/match/count/272 1463s ok 382 /regex/match/count/273 1463s ok 383 /regex/match/count/274 1463s ok 384 /regex/match/count/275 1463s ok 385 /regex/match/count/276 1463s ok 386 /regex/match/count/277 1463s ok 387 /regex/match/count/278 1463s ok 388 /regex/match/count/279 1463s ok 389 /regex/match/count/280 1463s ok 390 /regex/match/count/281 1463s # End of count tests 1463s # Start of count-optimized tests 1463s ok 391 /regex/match/count-optimized/272 1463s ok 392 /regex/match/count-optimized/273 1463s ok 393 /regex/match/count-optimized/274 1463s ok 394 /regex/match/count-optimized/275 1463s ok 395 /regex/match/count-optimized/276 1463s ok 396 /regex/match/count-optimized/277 1463s ok 397 /regex/match/count-optimized/278 1463s ok 398 /regex/match/count-optimized/279 1463s ok 399 /regex/match/count-optimized/280 1463s ok 400 /regex/match/count-optimized/281 1463s # End of count-optimized tests 1463s # Start of partial-optimized tests 1463s ok 401 /regex/match/partial-optimized/282 1463s ok 402 /regex/match/partial-optimized/283 1463s ok 403 /regex/match/partial-optimized/284 1463s ok 404 /regex/match/partial-optimized/285 1463s ok 405 /regex/match/partial-optimized/286 1463s ok 406 /regex/match/partial-optimized/287 1463s ok 407 /regex/match/partial-optimized/288 1463s ok 408 /regex/match/partial-optimized/289 1463s ok 409 /regex/match/partial-optimized/290 1463s ok 410 /regex/match/partial-optimized/291 1463s ok 411 /regex/match/partial-optimized/292 1463s ok 412 /regex/match/partial-optimized/293 1463s ok 413 /regex/match/partial-optimized/294 1463s ok 414 /regex/match/partial-optimized/295 1463s ok 415 /regex/match/partial-optimized/296 1463s ok 416 /regex/match/partial-optimized/297 1463s ok 417 /regex/match/partial-optimized/298 1463s ok 418 /regex/match/partial-optimized/299 1463s ok 419 /regex/match/partial-optimized/300 1463s ok 420 /regex/match/partial-optimized/301 1463s ok 421 /regex/match/partial-optimized/302 1463s ok 422 /regex/match/partial-optimized/303 1463s # End of partial-optimized tests 1463s # Start of subpattern tests 1463s ok 423 /regex/match/subpattern/304 1463s ok 424 /regex/match/subpattern/305 1463s ok 425 /regex/match/subpattern/306 1463s ok 426 /regex/match/subpattern/307 1463s ok 427 /regex/match/subpattern/308 1463s ok 428 /regex/match/subpattern/309 1463s ok 429 /regex/match/subpattern/310 1463s ok 430 /regex/match/subpattern/311 1463s ok 431 /regex/match/subpattern/312 1463s ok 432 /regex/match/subpattern/313 1463s ok 433 /regex/match/subpattern/314 1463s ok 434 /regex/match/subpattern/315 1463s ok 435 /regex/match/subpattern/316 1463s # Start of named tests 1463s # Start of dupnames tests 1463s ok 436 /regex/match/subpattern/named/dupnames/326 1463s ok 437 /regex/match/subpattern/named/dupnames/327 1463s ok 438 /regex/match/subpattern/named/dupnames/328 1463s ok 439 /regex/match/subpattern/named/dupnames/329 1463s ok 440 /regex/match/subpattern/named/dupnames/330 1463s # End of dupnames tests 1463s # End of named tests 1463s # End of subpattern tests 1463s # Start of subpattern-optimized tests 1463s ok 441 /regex/match/subpattern-optimized/304 1463s ok 442 /regex/match/subpattern-optimized/305 1463s ok 443 /regex/match/subpattern-optimized/306 1463s ok 444 /regex/match/subpattern-optimized/307 1463s ok 445 /regex/match/subpattern-optimized/308 1463s ok 446 /regex/match/subpattern-optimized/309 1463s ok 447 /regex/match/subpattern-optimized/310 1463s ok 448 /regex/match/subpattern-optimized/311 1463s ok 449 /regex/match/subpattern-optimized/312 1463s ok 450 /regex/match/subpattern-optimized/313 1463s ok 451 /regex/match/subpattern-optimized/314 1463s ok 452 /regex/match/subpattern-optimized/315 1463s ok 453 /regex/match/subpattern-optimized/316 1463s # End of subpattern-optimized tests 1463s # Start of named tests 1463s # Start of subpattern tests 1463s ok 454 /regex/match/named/subpattern/317 1463s ok 455 /regex/match/named/subpattern/318 1463s ok 456 /regex/match/named/subpattern/319 1463s ok 457 /regex/match/named/subpattern/320 1463s ok 458 /regex/match/named/subpattern/321 1463s ok 459 /regex/match/named/subpattern/322 1463s ok 460 /regex/match/named/subpattern/323 1463s ok 461 /regex/match/named/subpattern/324 1463s ok 462 /regex/match/named/subpattern/325 1463s ok 463 /regex/match/named/subpattern/331 1463s ok 464 /regex/match/named/subpattern/332 1463s ok 465 /regex/match/named/subpattern/333 1463s ok 466 /regex/match/named/subpattern/334 1463s ok 467 /regex/match/named/subpattern/335 1463s # End of subpattern tests 1463s # End of named tests 1463s # End of match tests 1463s # Start of match-optimized tests 1463s ok 468 /regex/match-optimized/166 1463s ok 469 /regex/match-optimized/167 1463s ok 470 /regex/match-optimized/168 1463s ok 471 /regex/match-optimized/169 1463s ok 472 /regex/match-optimized/170 1463s ok 473 /regex/match-optimized/171 1463s ok 474 /regex/match-optimized/172 1463s ok 475 /regex/match-optimized/173 1463s ok 476 /regex/match-optimized/174 1463s ok 477 /regex/match-optimized/175 1463s ok 478 /regex/match-optimized/176 1463s ok 479 /regex/match-optimized/177 1463s ok 480 /regex/match-optimized/178 1463s ok 481 /regex/match-optimized/179 1463s ok 482 /regex/match-optimized/180 1463s ok 483 /regex/match-optimized/181 1463s ok 484 /regex/match-optimized/182 1463s ok 485 /regex/match-optimized/183 1463s ok 486 /regex/match-optimized/184 1463s ok 487 /regex/match-optimized/185 1463s ok 488 /regex/match-optimized/186 1463s ok 489 /regex/match-optimized/187 1463s ok 490 /regex/match-optimized/188 1463s ok 491 /regex/match-optimized/189 1463s ok 492 /regex/match-optimized/190 1463s ok 493 /regex/match-optimized/191 1463s ok 494 /regex/match-optimized/192 1463s ok 495 /regex/match-optimized/193 1463s ok 496 /regex/match-optimized/194 1463s ok 497 /regex/match-optimized/195 1463s ok 498 /regex/match-optimized/196 1463s ok 499 /regex/match-optimized/197 1463s ok 500 /regex/match-optimized/198 1463s ok 501 /regex/match-optimized/199 1463s ok 502 /regex/match-optimized/200 1463s ok 503 /regex/match-optimized/201 1463s ok 504 /regex/match-optimized/202 1463s ok 505 /regex/match-optimized/203 1463s ok 506 /regex/match-optimized/204 1463s ok 507 /regex/match-optimized/205 1463s ok 508 /regex/match-optimized/206 1463s ok 509 /regex/match-optimized/207 1463s ok 510 /regex/match-optimized/208 1463s ok 511 /regex/match-optimized/209 1463s ok 512 /regex/match-optimized/210 1463s ok 513 /regex/match-optimized/211 1463s ok 514 /regex/match-optimized/212 1463s ok 515 /regex/match-optimized/213 1463s ok 516 /regex/match-optimized/214 1463s ok 517 /regex/match-optimized/215 1463s ok 518 /regex/match-optimized/216 1463s ok 519 /regex/match-optimized/217 1463s ok 520 /regex/match-optimized/218 1463s ok 521 /regex/match-optimized/219 1463s ok 522 /regex/match-optimized/220 1463s ok 523 /regex/match-optimized/221 1463s ok 524 /regex/match-optimized/222 1463s ok 525 /regex/match-optimized/223 1463s ok 526 /regex/match-optimized/224 1463s ok 527 /regex/match-optimized/225 1463s ok 528 /regex/match-optimized/226 1463s ok 529 /regex/match-optimized/227 1463s ok 530 /regex/match-optimized/228 1463s ok 531 /regex/match-optimized/229 1463s ok 532 /regex/match-optimized/230 1463s ok 533 /regex/match-optimized/231 1463s ok 534 /regex/match-optimized/232 1463s ok 535 /regex/match-optimized/233 1463s ok 536 /regex/match-optimized/234 1463s ok 537 /regex/match-optimized/235 1463s ok 538 /regex/match-optimized/236 1463s ok 539 /regex/match-optimized/237 1463s ok 540 /regex/match-optimized/238 1463s ok 541 /regex/match-optimized/239 1463s ok 542 /regex/match-optimized/240 1463s ok 543 /regex/match-optimized/241 1463s ok 544 /regex/match-optimized/242 1463s ok 545 /regex/match-optimized/243 1463s ok 546 /regex/match-optimized/244 1463s ok 547 /regex/match-optimized/245 1463s ok 548 /regex/match-optimized/246 1463s ok 549 /regex/match-optimized/247 1463s # End of match-optimized tests 1463s # Start of fetch-all0 tests 1463s ok 550 /regex/fetch-all0/336 1463s ok 551 /regex/fetch-all0/337 1463s # End of fetch-all0 tests 1463s # Start of fetch-all1 tests 1463s ok 552 /regex/fetch-all1/338 1463s ok 553 /regex/fetch-all1/339 1463s ok 554 /regex/fetch-all1/340 1463s # End of fetch-all1 tests 1463s # Start of fetch-all2 tests 1463s ok 555 /regex/fetch-all2/341 1463s ok 556 /regex/fetch-all2/342 1463s ok 557 /regex/fetch-all2/343 1463s # End of fetch-all2 tests 1463s # Start of fetch-all3 tests 1463s ok 558 /regex/fetch-all3/344 1463s ok 559 /regex/fetch-all3/345 1463s ok 560 /regex/fetch-all3/346 1463s ok 561 /regex/fetch-all3/347 1463s ok 562 /regex/fetch-all3/348 1463s # End of fetch-all3 tests 1463s # Start of split tests 1463s # Start of simple0 tests 1463s ok 563 /regex/split/simple0/349 1463s ok 564 /regex/split/simple0/350 1463s ok 565 /regex/split/simple0/365 1463s ok 566 /regex/split/simple0/366 1463s # End of simple0 tests 1463s # Start of simple1 tests 1463s ok 567 /regex/split/simple1/351 1463s ok 568 /regex/split/simple1/352 1463s # End of simple1 tests 1463s # Start of simple2 tests 1463s ok 569 /regex/split/simple2/353 1463s ok 570 /regex/split/simple2/359 1463s ok 571 /regex/split/simple2/361 1463s # End of simple2 tests 1463s # Start of simple3 tests 1463s ok 572 /regex/split/simple3/354 1463s ok 573 /regex/split/simple3/355 1463s ok 574 /regex/split/simple3/356 1463s ok 575 /regex/split/simple3/357 1463s ok 576 /regex/split/simple3/358 1463s ok 577 /regex/split/simple3/360 1463s ok 578 /regex/split/simple3/362 1463s ok 579 /regex/split/simple3/363 1463s ok 580 /regex/split/simple3/364 1463s # End of simple3 tests 1463s # End of split tests 1463s # Start of split0 tests 1463s ok 581 /regex/split0/367 1463s ok 582 /regex/split0/369 1463s # End of split0 tests 1463s # Start of full-split0 tests 1463s ok 583 /regex/full-split0/368 1463s ok 584 /regex/full-split0/370 1463s ok 585 /regex/full-split0/371 1463s ok 586 /regex/full-split0/372 1463s ok 587 /regex/full-split0/373 1463s # End of full-split0 tests 1463s # Start of split1 tests 1463s ok 588 /regex/split1/374 1463s ok 589 /regex/split1/377 1463s # End of split1 tests 1463s # Start of full-split1 tests 1463s ok 590 /regex/full-split1/375 1463s ok 591 /regex/full-split1/376 1463s ok 592 /regex/full-split1/378 1463s ok 593 /regex/full-split1/379 1463s ok 594 /regex/full-split1/405 1463s # End of full-split1 tests 1463s # Start of split2 tests 1463s ok 595 /regex/split2/380 1463s ok 596 /regex/split2/384 1463s ok 597 /regex/split2/396 1463s # End of split2 tests 1463s # Start of full-split2 tests 1463s ok 598 /regex/full-split2/381 1463s ok 599 /regex/full-split2/382 1463s ok 600 /regex/full-split2/383 1463s ok 601 /regex/full-split2/385 1463s ok 602 /regex/full-split2/397 1463s ok 603 /regex/full-split2/400 1463s ok 604 /regex/full-split2/406 1463s # End of full-split2 tests 1463s # Start of split3 tests 1463s ok 605 /regex/split3/386 1463s ok 606 /regex/split3/388 1463s ok 607 /regex/split3/390 1463s ok 608 /regex/split3/392 1463s ok 609 /regex/split3/394 1463s ok 610 /regex/split3/398 1463s ok 611 /regex/split3/401 1463s ok 612 /regex/split3/403 1463s # End of split3 tests 1463s # Start of full-split3 tests 1463s ok 613 /regex/full-split3/387 1463s ok 614 /regex/full-split3/389 1463s ok 615 /regex/full-split3/391 1463s ok 616 /regex/full-split3/393 1463s ok 617 /regex/full-split3/395 1463s ok 618 /regex/full-split3/399 1463s ok 619 /regex/full-split3/402 1463s ok 620 /regex/full-split3/404 1463s ok 621 /regex/full-split3/407 1463s ok 622 /regex/full-split3/408 1463s # End of full-split3 tests 1463s # Start of check-repacement tests 1463s ok 623 /regex/check-repacement/409 1463s ok 624 /regex/check-repacement/410 1463s ok 625 /regex/check-repacement/411 1463s ok 626 /regex/check-repacement/412 1463s ok 627 /regex/check-repacement/413 1463s ok 628 /regex/check-repacement/414 1463s ok 629 /regex/check-repacement/415 1463s ok 630 /regex/check-repacement/416 1463s # End of check-repacement tests 1463s # Start of expand tests 1463s ok 631 /regex/expand/417 1463s ok 632 /regex/expand/418 1463s ok 633 /regex/expand/419 1463s ok 634 /regex/expand/420 1463s ok 635 /regex/expand/421 1463s ok 636 /regex/expand/422 1463s ok 637 /regex/expand/423 1463s ok 638 /regex/expand/424 1463s ok 639 /regex/expand/425 1463s ok 640 /regex/expand/426 1463s ok 641 /regex/expand/427 1463s ok 642 /regex/expand/428 1463s ok 643 /regex/expand/429 1463s ok 644 /regex/expand/430 1463s ok 645 /regex/expand/431 1463s ok 646 /regex/expand/432 1463s ok 647 /regex/expand/433 1463s ok 648 /regex/expand/434 1463s ok 649 /regex/expand/435 1463s ok 650 /regex/expand/436 1463s ok 651 /regex/expand/437 1463s ok 652 /regex/expand/438 1463s ok 653 /regex/expand/439 1463s ok 654 /regex/expand/440 1463s ok 655 /regex/expand/441 1463s ok 656 /regex/expand/442 1463s ok 657 /regex/expand/443 1463s ok 658 /regex/expand/444 1463s ok 659 /regex/expand/445 1463s ok 660 /regex/expand/446 1463s ok 661 /regex/expand/447 1463s ok 662 /regex/expand/448 1463s ok 663 /regex/expand/449 1463s ok 664 /regex/expand/450 1463s ok 665 /regex/expand/451 1463s ok 666 /regex/expand/452 1463s ok 667 /regex/expand/453 1463s ok 668 /regex/expand/454 1463s ok 669 /regex/expand/455 1463s ok 670 /regex/expand/456 1463s ok 671 /regex/expand/457 1463s ok 672 /regex/expand/458 1463s ok 673 /regex/expand/459 1463s ok 674 /regex/expand/460 1463s ok 675 /regex/expand/461 1463s ok 676 /regex/expand/462 1463s ok 677 /regex/expand/463 1463s ok 678 /regex/expand/464 1463s ok 679 /regex/expand/465 1463s ok 680 /regex/expand/466 1463s ok 681 /regex/expand/467 1463s ok 682 /regex/expand/468 1463s ok 683 /regex/expand/469 1463s ok 684 /regex/expand/470 1463s ok 685 /regex/expand/471 1463s ok 686 /regex/expand/472 1463s ok 687 /regex/expand/473 1463s ok 688 /regex/expand/474 1463s ok 689 /regex/expand/475 1463s ok 690 /regex/expand/476 1463s ok 691 /regex/expand/477 1463s ok 692 /regex/expand/478 1463s ok 693 /regex/expand/479 1463s ok 694 /regex/expand/480 1463s ok 695 /regex/expand/481 1463s ok 696 /regex/expand/482 1463s # End of expand tests 1463s # Start of replace tests 1463s ok 697 /regex/replace/483 1463s ok 698 /regex/replace/484 1463s ok 699 /regex/replace/485 1463s ok 700 /regex/replace/486 1463s ok 701 /regex/replace/487 1463s ok 702 /regex/replace/488 1463s ok 703 /regex/replace/489 1463s ok 704 /regex/replace/490 1463s ok 705 /regex/replace/491 1463s ok 706 /regex/replace/492 1463s ok 707 /regex/replace/493 1463s ok 708 /regex/replace/494 1463s ok 709 /regex/replace/495 1463s ok 710 /regex/replace/496 1463s ok 711 /regex/replace/497 1463s ok 712 /regex/replace/498 1463s ok 713 /regex/replace/499 1463s ok 714 /regex/replace/500 1463s ok 715 /regex/replace/501 1463s ok 716 /regex/replace/502 1463s ok 717 /regex/replace/503 1463s ok 718 /regex/replace/504 1463s ok 719 /regex/replace/505 1463s ok 720 /regex/replace/506 1463s ok 721 /regex/replace/507 1463s ok 722 /regex/replace/508 1463s ok 723 /regex/replace/509 1463s ok 724 /regex/replace/510 1463s # End of replace tests 1463s # Start of replace-optimized tests 1463s ok 725 /regex/replace-optimized/483 1463s ok 726 /regex/replace-optimized/484 1463s ok 727 /regex/replace-optimized/485 1463s ok 728 /regex/replace-optimized/486 1463s ok 729 /regex/replace-optimized/487 1463s ok 730 /regex/replace-optimized/488 1463s ok 731 /regex/replace-optimized/489 1463s ok 732 /regex/replace-optimized/490 1463s ok 733 /regex/replace-optimized/491 1463s ok 734 /regex/replace-optimized/492 1463s ok 735 /regex/replace-optimized/493 1463s ok 736 /regex/replace-optimized/494 1463s ok 737 /regex/replace-optimized/495 1463s ok 738 /regex/replace-optimized/496 1463s ok 739 /regex/replace-optimized/497 1463s ok - glib/regex.test 1463s # Running test: glib/spawn-path-search.test 1463s ok 740 /regex/replace-optimized/498 1463s ok 741 /regex/replace-optimized/499 1463s ok 742 /regex/replace-optimized/500 1463s ok 743 /regex/replace-optimized/501 1463s ok 744 /regex/replace-optimized/502 1463s ok 745 /regex/replace-optimized/503 1463s ok 746 /regex/replace-optimized/504 1463s ok 747 /regex/replace-optimized/505 1463s ok 748 /regex/replace-optimized/506 1463s ok 749 /regex/replace-optimized/507 1463s ok 750 /regex/replace-optimized/508 1463s ok 751 /regex/replace-optimized/509 1463s ok 752 /regex/replace-optimized/510 1463s # End of replace-optimized tests 1463s # Start of replace-literally tests 1463s ok 753 /regex/replace-literally/511 1463s ok 754 /regex/replace-literally/512 1463s ok 755 /regex/replace-literally/513 1463s ok 756 /regex/replace-literally/514 1463s ok 757 /regex/replace-literally/515 1463s ok 758 /regex/replace-literally/516 1463s ok 759 /regex/replace-literally/517 1463s ok 760 /regex/replace-literally/518 1463s ok 761 /regex/replace-literally/519 1463s ok 762 /regex/replace-literally/520 1463s ok 763 /regex/replace-literally/521 1463s ok 764 /regex/replace-literally/522 1463s ok 765 /regex/replace-literally/523 1463s ok 766 /regex/replace-literally/524 1463s ok 767 /regex/replace-literally/525 1463s ok 768 /regex/replace-literally/526 1463s ok 769 /regex/replace-literally/527 1463s ok 770 /regex/replace-literally/528 1463s ok 771 /regex/replace-literally/529 1463s ok 772 /regex/replace-literally/530 1463s # End of replace-literally tests 1463s # Start of string-number tests 1463s ok 773 /regex/string-number/531 1463s ok 774 /regex/string-number/532 1463s ok 775 /regex/string-number/533 1463s ok 776 /regex/string-number/534 1463s ok 777 /regex/string-number/535 1463s ok 778 /regex/string-number/536 1463s ok 779 /regex/string-number/537 1463s ok 780 /regex/string-number/538 1463s ok 781 /regex/string-number/539 1463s ok 782 /regex/string-number/540 1463s ok 783 /regex/string-number/541 1463s ok 784 /regex/string-number/542 1463s ok 785 /regex/string-number/543 1463s ok 786 /regex/string-number/544 1463s ok 787 /regex/string-number/545 1463s # End of string-number tests 1463s # Start of escape_nul tests 1463s ok 788 /regex/escape_nul/546 1463s ok 789 /regex/escape_nul/547 1463s ok 790 /regex/escape_nul/548 1463s ok 791 /regex/escape_nul/549 1463s ok 792 /regex/escape_nul/550 1463s ok 793 /regex/escape_nul/551 1463s ok 794 /regex/escape_nul/552 1463s ok 795 /regex/escape_nul/553 1463s ok 796 /regex/escape_nul/554 1463s ok 797 /regex/escape_nul/555 1463s ok 798 /regex/escape_nul/556 1463s ok 799 /regex/escape_nul/557 1463s ok 800 /regex/escape_nul/558 1463s ok 801 /regex/escape_nul/559 1463s ok 802 /regex/escape_nul/560 1463s # End of escape_nul tests 1463s # Start of escape tests 1463s ok 803 /regex/escape/561 1463s ok 804 /regex/escape/562 1463s ok 805 /regex/escape/563 1463s ok 806 /regex/escape/564 1463s ok 807 /regex/escape/565 1463s ok 808 /regex/escape/566 1463s ok 809 /regex/escape/567 1463s ok 810 /regex/escape/568 1463s ok 811 /regex/escape/569 1463s ok 812 /regex/escape/570 1463s ok 813 /regex/escape/571 1463s ok 814 /regex/escape/572 1463s ok 815 /regex/escape/573 1463s ok 816 /regex/escape/574 1463s ok 817 /regex/escape/575 1463s ok 818 /regex/escape/576 1463s ok 819 /regex/escape/577 1463s ok 820 /regex/escape/578 1463s # End of escape tests 1463s # Start of match-all0 tests 1463s ok 821 /regex/match-all0/579 1463s ok 822 /regex/match-all0/581 1463s # End of match-all0 tests 1463s # Start of match-all-full0 tests 1463s ok 823 /regex/match-all-full0/580 1463s ok 824 /regex/match-all-full0/582 1463s ok 825 /regex/match-all-full0/583 1463s ok 826 /regex/match-all-full0/584 1463s # End of match-all-full0 tests 1463s # Start of match-all1 tests 1463s ok 827 /regex/match-all1/585 1463s ok 828 /regex/match-all1/587 1463s ok 829 /regex/match-all1/592 1463s # End of match-all1 tests 1463s # Start of match-all-full1 tests 1463s ok 830 /regex/match-all-full1/586 1463s ok 831 /regex/match-all-full1/588 1463s ok 832 /regex/match-all-full1/589 1463s ok 833 /regex/match-all-full1/590 1463s ok 834 /regex/match-all-full1/591 1463s ok 835 /regex/match-all-full1/593 1463s # End of match-all-full1 tests 1463s # Start of match-all2 tests 1463s ok 836 /regex/match-all2/594 1463s ok 837 /regex/match-all2/596 1463s ok 838 /regex/match-all2/598 1463s # End of match-all2 tests 1463s # Start of match-all-full2 tests 1463s ok 839 /regex/match-all-full2/595 1463s ok 840 /regex/match-all-full2/597 1463s ok 841 /regex/match-all-full2/599 1463s # End of match-all-full2 tests 1463s # Start of match-all3 tests 1463s ok 842 /regex/match-all3/600 1463s ok 843 /regex/match-all3/602 1463s # End of match-all3 tests 1463s # Start of match-all-full3 tests 1463s ok 844 /regex/match-all-full3/601 1463s ok 845 /regex/match-all-full3/603 1463s # End of match-all-full3 tests 1463s # Start of match-notempty tests 1463s ok 846 /regex/match-notempty/604 1463s # End of match-notempty tests 1463s # Start of match-notempty-optimized tests 1463s ok 847 /regex/match-notempty-optimized/604 1463s # End of match-notempty-optimized tests 1463s # Start of match-notempty-atstart tests 1463s ok 848 /regex/match-notempty-atstart/605 1463s # End of match-notempty-atstart tests 1463s # Start of match-notempty-atstart-optimized tests 1463s ok 849 /regex/match-notempty-atstart-optimized/605 1463s # End of match-notempty-atstart-optimized tests 1463s # End of regex tests 1463s TAP version 14 1463s # random seed: R02Sd98571d162b60d6a301d5278689c1c15 1463s 1..7 1463s # Start of spawn tests 1463s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1463s # 1463s # this is spawn-test-helper from glib/tests 1463s # 1463s ok 1 /spawn/do-not-search 1463s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1463s # 1463s # this is spawn-test-helper from path-test-subdir 1463s # 1463s ok 2 /spawn/search-path 1463s # /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. 1463s # 1463s # this is spawn-test-helper from path-test-subdir 1463s # 1463s ok 3 /spawn/search-path-from-envp 1463s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1463s # 1463s # this is spawn-test-helper from path-test-subdir 1463s # 1463s ok 4 /spawn/search-path-ambiguous 1463s # 1463s # this is spawn-test-helper from path-test-subdir 1463s # 1463s ok 5 /spawn/search-path-heap-allocation 1463s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1463s # 1463s # this is spawn-test-helper from glib/tests 1463s # 1463s ok 6 /spawn/search-path-fallback-in-environ 1463s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1463s # 1463s # this is spawn-test-helper from glib/tests 1463s # 1463s ok 7 /spawn/search-path-fallback-in-envp 1463s # End of spawn tests 1463s ok - glib/spawn-path-search.test 1463s # Running test: glib/print.test 1463s ok - glib/print.test 1463s # Running test: glib/bookmarkfile.test 1463s TAP version 14 1463s # random seed: R02S57564704331d70eff666f8f9a61ad6f7 1463s 1..1 1463s ok 1 /print-console # SKIP Testing console output only supported on Windows 1463s TAP version 14 1463s # random seed: R02S95e88b616cf13677b6275046e1bda6c4 1463s 1..96 1463s # Start of bookmarks tests 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/load-from-data-dirs/.dirs/runtime 1463s ok 1 /bookmarks/load-from-data-dirs 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/to-file/.dirs/runtime 1463s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_OVHLK3/bookmarkfile-test-C2GLK3.xbel 1463s # Roundtrip from a valid bookmark file 1463s ok 2 /bookmarks/to-file 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/move-item/.dirs/runtime 1463s ok 3 /bookmarks/move-item 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/corner-cases/.dirs/runtime 1463s ok 4 /bookmarks/corner-cases 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/misc/.dirs/runtime 1463s ok 5 /bookmarks/misc 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/deprecated/.dirs/runtime 1463s ok 6 /bookmarks/deprecated 1463s # Start of parse tests 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-23.xbel/.dirs/runtime 1463s ok 7 /bookmarks/parse/fail-23.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-25.xbel/.dirs/runtime 1463s ok 8 /bookmarks/parse/fail-25.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-03.xbel/.dirs/runtime 1463s ok 9 /bookmarks/parse/valid-03.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-28.xbel/.dirs/runtime 1463s ok 10 /bookmarks/parse/fail-28.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-19.xbel/.dirs/runtime 1463s ok 11 /bookmarks/parse/fail-19.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-29.xbel/.dirs/runtime 1463s ok 12 /bookmarks/parse/fail-29.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-18.xbel/.dirs/runtime 1463s ok 13 /bookmarks/parse/fail-18.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-39.xbel/.dirs/runtime 1463s ok 14 /bookmarks/parse/fail-39.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-30.xbel/.dirs/runtime 1463s ok 15 /bookmarks/parse/fail-30.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-06.xbel/.dirs/runtime 1463s ok 16 /bookmarks/parse/fail-06.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-08.xbel/.dirs/runtime 1463s ok 17 /bookmarks/parse/fail-08.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-22.xbel/.dirs/runtime 1463s ok 18 /bookmarks/parse/fail-22.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-40.xbel/.dirs/runtime 1463s ok 19 /bookmarks/parse/fail-40.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-36.xbel/.dirs/runtime 1463s ok 20 /bookmarks/parse/fail-36.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-05.xbel/.dirs/runtime 1463s ok 21 /bookmarks/parse/fail-05.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-26.xbel/.dirs/runtime 1463s ok 22 /bookmarks/parse/fail-26.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-02.xbel/.dirs/runtime 1463s ok 23 /bookmarks/parse/valid-02.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-24.xbel/.dirs/runtime 1463s ok 24 /bookmarks/parse/fail-24.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-31.xbel/.dirs/runtime 1463s ok 25 /bookmarks/parse/fail-31.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-27.xbel/.dirs/runtime 1463s ok 26 /bookmarks/parse/fail-27.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-17.xbel/.dirs/runtime 1463s ok 27 /bookmarks/parse/fail-17.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-21.xbel/.dirs/runtime 1463s ok 28 /bookmarks/parse/fail-21.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-32.xbel/.dirs/runtime 1463s ok 29 /bookmarks/parse/fail-32.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-20.xbel/.dirs/runtime 1463s ok 30 /bookmarks/parse/fail-20.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-03.xbel/.dirs/runtime 1463s ok 31 /bookmarks/parse/fail-03.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-37.xbel/.dirs/runtime 1463s ok 32 /bookmarks/parse/fail-37.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-07.xbel/.dirs/runtime 1463s ok 33 /bookmarks/parse/fail-07.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-16.xbel/.dirs/runtime 1463s ok 34 /bookmarks/parse/fail-16.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-34.xbel/.dirs/runtime 1463s ok 35 /bookmarks/parse/fail-34.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-10.xbel/.dirs/runtime 1463s ok 36 /bookmarks/parse/fail-10.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-38.xbel/.dirs/runtime 1463s ok 37 /bookmarks/parse/fail-38.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-13.xbel/.dirs/runtime 1463s ok 38 /bookmarks/parse/fail-13.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-04.xbel/.dirs/runtime 1463s ok 39 /bookmarks/parse/fail-04.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-01.xbel/.dirs/runtime 1463s ok 40 /bookmarks/parse/fail-01.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-09.xbel/.dirs/runtime 1463s ok 41 /bookmarks/parse/fail-09.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-35.xbel/.dirs/runtime 1463s ok 42 /bookmarks/parse/fail-35.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-11.xbel/.dirs/runtime 1463s ok 43 /bookmarks/parse/fail-11.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-12.xbel/.dirs/runtime 1463s ok 44 /bookmarks/parse/fail-12.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-02.xbel/.dirs/runtime 1463s ok 45 /bookmarks/parse/fail-02.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-14.xbel/.dirs/runtime 1463s ok 46 /bookmarks/parse/fail-14.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-42.xbel/.dirs/runtime 1463s ok 47 /bookmarks/parse/fail-42.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-33.xbel/.dirs/runtime 1463s ok 48 /bookmarks/parse/fail-33.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-41.xbel/.dirs/runtime 1463s ok 49 /bookmarks/parse/fail-41.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/fail-15.xbel/.dirs/runtime 1463s ok 50 /bookmarks/parse/fail-15.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/parse/valid-01.xbel/.dirs/runtime 1463s ok 51 /bookmarks/parse/valid-01.xbel 1463s # End of parse tests 1463s # Start of copy tests 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-23.xbel/.dirs/runtime 1463s ok 52 /bookmarks/copy/fail-23.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-25.xbel/.dirs/runtime 1463s ok 53 /bookmarks/copy/fail-25.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-03.xbel/.dirs/runtime 1463s ok 54 /bookmarks/copy/valid-03.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-28.xbel/.dirs/runtime 1463s ok 55 /bookmarks/copy/fail-28.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-19.xbel/.dirs/runtime 1463s ok 56 /bookmarks/copy/fail-19.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-29.xbel/.dirs/runtime 1463s ok 57 /bookmarks/copy/fail-29.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-18.xbel/.dirs/runtime 1463s ok 58 /bookmarks/copy/fail-18.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-39.xbel/.dirs/runtime 1463s ok 59 /bookmarks/copy/fail-39.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-30.xbel/.dirs/runtime 1463s ok 60 /bookmarks/copy/fail-30.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-06.xbel/.dirs/runtime 1463s ok 61 /bookmarks/copy/fail-06.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-08.xbel/.dirs/runtime 1463s ok 62 /bookmarks/copy/fail-08.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-22.xbel/.dirs/runtime 1463s ok 63 /bookmarks/copy/fail-22.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-40.xbel/.dirs/runtime 1463s ok 64 /bookmarks/copy/fail-40.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-36.xbel/.dirs/runtime 1463s ok 65 /bookmarks/copy/fail-36.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-05.xbel/.dirs/runtime 1463s ok 66 /bookmarks/copy/fail-05.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-26.xbel/.dirs/runtime 1463s ok 67 /bookmarks/copy/fail-26.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-02.xbel/.dirs/runtime 1463s ok 68 /bookmarks/copy/valid-02.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-24.xbel/.dirs/runtime 1463s ok 69 /bookmarks/copy/fail-24.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-31.xbel/.dirs/runtime 1463s ok 70 /bookmarks/copy/fail-31.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-27.xbel/.dirs/runtime 1463s ok 71 /bookmarks/copy/fail-27.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-17.xbel/.dirs/runtime 1463s ok 72 /bookmarks/copy/fail-17.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-21.xbel/.dirs/runtime 1463s ok 73 /bookmarks/copy/fail-21.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-32.xbel/.dirs/runtime 1463s ok 74 /bookmarks/copy/fail-32.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-20.xbel/.dirs/runtime 1463s ok 75 /bookmarks/copy/fail-20.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-03.xbel/.dirs/runtime 1463s ok 76 /bookmarks/copy/fail-03.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-37.xbel/.dirs/runtime 1463s ok 77 /bookmarks/copy/fail-37.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-07.xbel/.dirs/runtime 1463s ok 78 /bookmarks/copy/fail-07.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-16.xbel/.dirs/runtime 1463s ok 79 /bookmarks/copy/fail-16.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-34.xbel/.dirs/runtime 1463s ok 80 /bookmarks/copy/fail-34.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-10.xbel/.dirs/runtime 1463s ok 81 /bookmarks/copy/fail-10.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-38.xbel/.dirs/runtime 1463s ok 82 /bookmarks/copy/fail-38.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-13.xbel/.dirs/runtime 1463s ok 83 /bookmarks/copy/fail-13.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-04.xbel/.dirs/runtime 1463s ok 84 /bookmarks/copy/fail-04.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-01.xbel/.dirs/runtime 1463s ok 85 /bookmarks/copy/fail-01.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-09.xbel/.dirs/runtime 1463s ok 86 /bookmarks/copy/fail-09.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-35.xbel/.dirs/runtime 1463s ok 87 /bookmarks/copy/fail-35.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-11.xbel/.dirs/runtime 1463s ok 88 /bookmarks/copy/fail-11.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-12.xbel/.dirs/runtime 1463s ok 89 /bookmarks/copy/fail-12.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-02.xbel/.dirs/runtime 1463s ok 90 /bookmarks/copy/fail-02.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-14.xbel/.dirs/runtime 1463s ok 91 /bookmarks/copy/fail-14.xbel 1463s ok - glib/bookmarkfile.test 1463s # Running test: glib/gdbus-names.test 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-42.xbel/.dirs/runtime 1463s ok 92 /bookmarks/copy/fail-42.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-33.xbel/.dirs/runtime 1463s ok 93 /bookmarks/copy/fail-33.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-41.xbel/.dirs/runtime 1463s ok 94 /bookmarks/copy/fail-41.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/fail-15.xbel/.dirs/runtime 1463s ok 95 /bookmarks/copy/fail-15.xbel 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_OVHLK3/bookmarks/copy/valid-01.xbel/.dirs/runtime 1463s ok 96 /bookmarks/copy/valid-01.xbel 1463s # End of copy tests 1463s # End of bookmarks tests 1463s TAP version 14 1463s # random seed: R02Sd996831a08775f50649ad762e346697b 1463s 1..10 1463s # Start of gdbus tests 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/validate-names/.dirs/runtime 1463s ok 1 /gdbus/validate-names 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-own-name/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 2 /gdbus/bus-own-name 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 3 /gdbus/bus-watch-name 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 4 /gdbus/bus-watch-name-auto-start 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s dbus-daemon[9307]: [session uid=1000 pid=9307 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=9298 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1463s # Acquired a message bus connection 1463s dbus-daemon[9307]: [session uid=1000 pid=9307 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1463s # Acquired the name org.gtk.GDBus.FakeService 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 6 /gdbus/bus-watch-name-closures 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 7 /gdbus/bus-watch-name-closures-auto-start 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-watch-different-context/.dirs/runtime 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 8 /gdbus/bus-watch-different-context 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/bus-unwatch-early/.dirs/runtime 1463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1463s ok 9 /gdbus/bus-unwatch-early 1463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/home 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/cache 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/system-config2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/config 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/system-data2 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/data 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/state 1463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_5E3LK3/gdbus/escape-object-path/.dirs/runtime 1463s ok 10 /gdbus/escape-object-path 1463s # End of gdbus tests 1463s ok - glib/gdbus-names.test 1463s # Running test: glib/glistmodel.test 1463s TAP version 14 1463s # random seed: R02Sc207ac1985cbcf9b78763759843e06fc 1463s 1..18 1463s # Start of glistmodel tests 1463s # Start of store tests 1463s ok 1 /glistmodel/store/properties 1463s ok 2 /glistmodel/store/non-gobjects 1463s ok 3 /glistmodel/store/boundaries 1463s ok 4 /glistmodel/store/refcounts 1463s ok 5 /glistmodel/store/sorted 1463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1463s ok 6 /glistmodel/store/splice-replace-middle 1463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1463s ok 7 /glistmodel/store/splice-replace-all 1463s ok 8 /glistmodel/store/splice-noop 1463s ok 9 /glistmodel/store/splice-remove-multiple 1463s ok 10 /glistmodel/store/splice-add-multiple 1463s ok 11 /glistmodel/store/splice-wrong-type 1463s ok 12 /glistmodel/store/item-type 1463s ok 13 /glistmodel/store/remove-all 1463s ok 14 /glistmodel/store/sort 1463s ok 15 /glistmodel/store/get-item-cache 1463s ok 16 /glistmodel/store/items-changed 1463s ok 17 /glistmodel/store/past-end 1463s ok 18 /glistmodel/store/find 1463s # End of store tests 1463s # End of glistmodel tests 1463s ok - glib/glistmodel.test 1463s # Running test: glib/rcbox.test 1463s ok - glib/rcbox.test 1463s # Running test: glib/param.test 1463s TAP version 14 1463s # random seed: R02S881955cd4babc1d1dbcf0a34d20460c4 1463s 1..8 1463s # Start of rcbox tests 1463s ok 1 /rcbox/new 1463s # global_point = 0x80550fc8720 1463s ok 2 /rcbox/release-full 1463s # global_point_a = 0x80550fc8720 1463s # global_point_b = 0x80550fc87f0 1463s ok 3 /rcbox/dup 1463s ok 4 /rcbox/alignment 1463s # End of rcbox tests 1463s # Start of atomic-rcbox tests 1463s ok 5 /atomic-rcbox/new 1463s # global_point = 0x80550fc87f0 1463s ok 6 /atomic-rcbox/release-full 1463s # global_point_a = 0x80550fc87f0 1463s # global_point_b = 0x80550fc8720 1463s ok 7 /atomic-rcbox/dup 1463s ok 8 /atomic-rcbox/alignment 1463s # End of atomic-rcbox tests 1464s TAP version 14 1464s # random seed: R02Se8988f4d1da8eb83d6c135a02c75928d 1464s 1..32 1464s # Start of param tests 1464s ok 1 /param/value 1464s ok 2 /param/strings 1464s ok 3 /param/qdata 1464s ok 4 /param/validate 1464s ok 5 /param/convert 1464s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1464s ok 7 /param/default 1464s ok 8 /param/is-valid-name 1464s # Start of invalid-name tests 1464s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1464s ok 9 /param/invalid-name/colon 1464s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1464s ok 10 /param/invalid-name/first-char 1464s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1464s ok 11 /param/invalid-name/empty 1464s # End of invalid-name tests 1464s # Start of implement tests 1464s # Start of subprocess tests 1464s # End of subprocess tests 1464s # End of implement tests 1464s # End of param tests 1464s # Start of value tests 1464s ok 12 /value/transform 1464s # End of value tests 1464s # Start of paramspec tests 1464s ok 13 /paramspec/char 1464s ok 14 /paramspec/uchar 1464s ok 15 /paramspec/int 1464s ok 16 /paramspec/uint 1464s ok 17 /paramspec/long 1464s ok 18 /paramspec/ulong 1464s ok 19 /paramspec/int64 1464s ok 20 /paramspec/uint64 1464s ok 21 /paramspec/float 1464s ok 22 /paramspec/double 1464s ok 23 /paramspec/unichar 1464s ok 24 /paramspec/param 1464s ok 25 /paramspec/null-param 1464s ok 26 /paramspec/string 1464s ok 27 /paramspec/override 1464s ok 28 /paramspec/gtype 1464s ok 29 /paramspec/variant 1464s ok 30 /paramspec/custom 1464s ok 31 /paramspec/pool 1464s # Start of variant tests 1464s ok 32 /paramspec/variant/cmp 1464s # End of variant tests 1464s # End of paramspec tests 1464s ok - glib/param.test 1464s # Running test: glib/option-context.test 1464s TAP version 14 1464s # random seed: R02S2e66310f48f3778b384ac30268acf770 1464s 1..61 1464s # Start of option tests 1464s ok 1 /option/basic 1464s ok 2 /option/translate 1464s ok 3 /option/strict-posix 1464s # Testing command: program --double abc 1464s # Testing command: program --double 2e309 1464s # Testing command: program --int abc 1464s # Testing command: program --int 99999999999999999999999999999999999 1464s # Testing command: program --int64 abc 1464s # Testing command: program --int64 99999999999999999999999999999999999 1464s ok 4 /option/parsing-errors 1464s # Start of help tests 1464s ok 5 /option/help/options 1464s ok 6 /option/help/no-options 1464s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1464s ok 7 /option/help/no-help-options 1464s # Usage: 1464s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 1464s # 1464s # Summary 1464s # 1464s # Help Options: 1464s # -h, --help Show help options 1464s # 1464s # Application Options: 1464s # -t, --test=Argument to use in test (deprecated) Test tests 1464s # --test2 Tests also 1464s # 1464s # Description 1464s # 1464s ok 8 /option/help/deprecated 1464s ok 9 /option/help/main-get_help-format 1464s ok 10 /option/help/group-get_help-format 1464s # End of help tests 1464s # Start of group tests 1464s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1464s ok 11 /option/group/captions 1464s ok 12 /option/group/main 1464s ok 13 /option/group/error-hook 1464s ok 14 /option/group/parse 1464s # Start of captions tests 1464s # Start of subprocess tests 1464s # End of subprocess tests 1464s # End of captions tests 1464s # End of group tests 1464s # Start of restoration tests 1464s ok 15 /option/restoration/int 1464s ok 16 /option/restoration/string 1464s ok 17 /option/restoration/boolean 1464s # End of restoration tests 1464s # Start of arg tests 1464s ok 18 /option/arg/reverse-string 1464s ok 19 /option/arg/optional-int 1464s # Start of repetition tests 1464s ok 20 /option/arg/repetition/int 1464s ok 21 /option/arg/repetition/string 1464s ok 22 /option/arg/repetition/filename 1464s ok - glib/option-context.test 1464s ok 23 /option/arg/repetition/double 1464s ok 24 /option/arg/repetition/locale 1464s ok 25 /option/arg/repetition/int64 1464s # End of repetition tests 1464s # Start of array tests 1464s ok 26 /option/arg/array/string 1464s # End of array tests 1464s # Start of callback tests 1464s ok 27 /option/arg/callback/string 1464s ok 28 /option/arg/callback/count 1464s ok 29 /option/arg/callback/optional1 1464s ok 30 /option/arg/callback/optional2 1464s ok 31 /option/arg/callback/optional3 1464s ok 32 /option/arg/callback/optional4 1464s ok 33 /option/arg/callback/optional5 1464s ok 34 /option/arg/callback/optional6 1464s ok 35 /option/arg/callback/optional7 1464s ok 36 /option/arg/callback/optional8 1464s # End of callback tests 1464s # Start of remaining tests 1464s ok 37 /option/arg/remaining/callback 1464s ok 38 /option/arg/remaining/callback-false 1464s ok 39 /option/arg/remaining/non-option 1464s ok 40 /option/arg/remaining/separator 1464s ok 41 /option/arg/remaining/array 1464s # End of remaining tests 1464s # Start of ignore tests 1464s ok 42 /option/arg/ignore/long 1464s ok 43 /option/arg/ignore/short 1464s ok 44 /option/arg/ignore/arg 1464s # End of ignore tests 1464s # Start of rest tests 1464s ok 45 /option/arg/rest/non-option 1464s ok 46 /option/arg/rest/separator1 1464s ok 47 /option/arg/rest/separator2 1464s ok 48 /option/arg/rest/separator3 1464s ok 49 /option/arg/rest/separator4 1464s ok 50 /option/arg/rest/separator5 1464s # End of rest tests 1464s # End of arg tests 1464s # Start of context tests 1464s ok 51 /option/context/add 1464s ok 52 /option/context/empty2 1464s ok 53 /option/context/empty3 1464s # End of context tests 1464s # Start of bug tests 1464s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1464s ok 54 /option/bug/unknown-short 1464s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1464s ok 55 /option/bug/lonely-dash 1464s ok 56 /option/bug/triple-dash 1464s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1464s ok 57 /option/bug/missing-arg 1464s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1464s ok 58 /option/bug/dash-arg 1464s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1464s ok 59 /option/bug/short-remaining 1464s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1464s ok 60 /option/bug/double-free 1464s ok 61 /option/bug/double-zero 1464s # End of bug tests 1464s # End of option tests 1464s # Running test: glib/rwlock.test 1464s TAP version 14 1464s # random seed: R02Sfa77b0d313d69aaf634e7174e1a2f76f 1464s 1..8 1464s # Start of thread tests 1464s ok 1 /thread/rwlock1 1464s ok 2 /thread/rwlock2 1464s ok 3 /thread/rwlock3 1464s ok 4 /thread/rwlock4 1464s ok 5 /thread/rwlock5 1464s ok 6 /thread/rwlock6 1466s # Executing: glib/rwlock.test 1469s ok 7 /thread/rwlock7 1469s # slow test /thread/rwlock7 executed in 5.14 secs 1469s ok - glib/rwlock.test 1469s # Running test: glib/network-monitor.test 1469s ok 8 /thread/rwlock8 1469s # End of thread tests 1469s TAP version 14 1469s # random seed: R02Se0743cb0864fa563f2a167c25ac5fa2d 1469s 1..4 1469s # Start of network-monitor tests 1469s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1469s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1469s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1469s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1469s ok 1 /network-monitor/default 1469s ok - glib/network-monitor.test 1469s # Running test: glib/refstring.test 1469s ok 2 /network-monitor/remove_default 1469s ok 3 /network-monitor/add_networks 1469s ok 4 /network-monitor/remove_networks 1469s # End of network-monitor tests 1469s TAP version 14 1469s # random seed: R02S905c2327f033b19a40642b83a9e16df6 1469s 1..8 1469s # Start of refstring tests 1469s # s = 'hello, world' (0xd60fed82c0) 1469s ok 1 /refstring/base 1469s ok 2 /refstring/length 1469s ok 3 /refstring/length-auto 1469s ok 4 /refstring/length-nuls 1469s # s = 'hello, world' (0xd60fed8160) 1469s # p = s = 'hello, world' (0xd60fed8160) 1469s # releasing p[0xd60fed8160] ('hello, world') 1469s # p = 'goodbye, world' (0xd60fed82c0) 1469s # releasing p[0xd60fed82c0] ('goodbye, world') 1469s # releasing s[0xd60fed8160] ('hello, world') 1469s ok 5 /refstring/intern 1469s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1469s ok 6 /refstring/hash_equal 1469s # /refstring/equal summary: Test g_ref_string_equal() standalone 1469s ok 7 /refstring/equal 1471s ok 8 /refstring/intern-thread-safety 1471s # slow test /refstring/intern-thread-safety executed in 1.70 secs 1471s # End of refstring tests 1471s ok - glib/refstring.test 1471s # Running test: glib/custom-dispatch.test 1471s TAP version 14 1471s # random seed: R02Sb2408624c8e1603d791a8be980d4eab5 1471s 1..2 1471s # Start of properties tests 1471s # Start of custom-dispatch tests 1471s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1471s ok 1 /properties/custom-dispatch/init 1471s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1471s ok 2 /properties/custom-dispatch/set 1471s # End of custom-dispatch tests 1471s # End of properties tests 1471s ok - glib/custom-dispatch.test 1471s # Running test: glib/refcount.test 1471s ok - glib/refcount.test 1471s # Running test: glib/null-settings-backend.test 1471s ok - glib/null-settings-backend.test 1471s # Running test: glib/gnotification.test 1471s ok - glib/gnotification.test 1471s # Running test: glib/hmac.test 1471s TAP version 14 1471s # random seed: R02S0b3fd325a5211a0fd1079b2d94135fdf 1471s 1..4 1471s # Start of refcount tests 1471s ok 1 /refcount/grefcount 1471s ok 2 /refcount/gatomicrefcount 1471s # Start of grefcount tests 1471s ok 3 /refcount/grefcount/saturation 1471s # End of grefcount tests 1471s # Start of gatomicrefcount tests 1471s ok 4 /refcount/gatomicrefcount/saturation 1471s # End of gatomicrefcount tests 1471s # End of refcount tests 1471s TAP version 14 1471s # random seed: R02Se4e5b6457fda9d70f2c42ddf62a54d2b 1471s 1..1 1471s # Start of null-settings-backend tests 1471s ok 1 /null-settings-backend/extension-point-registered 1471s # End of null-settings-backend tests 1471s TAP version 14 1471s # random seed: R02Sc970c9db0ff15dcdf11b0012e414bc05 1471s 1..2 1471s # Start of gnotification tests 1471s ok 1 /gnotification/basic 1471s ok 2 /gnotification/properties 1471s # End of gnotification tests 1471s TAP version 14 1471s # random seed: R02S620c542895d8635d8a9fc9a98066df95 1471s 1..37 1471s # Start of hmac tests 1471s ok 1 /hmac/sha1-1 1471s ok 2 /hmac/sha1-2 1471s ok 3 /hmac/sha1-3 1471s ok 4 /hmac/sha1-4 1471s ok 5 /hmac/sha1-5 1471s ok 6 /hmac/sha1-6 1471s ok 7 /hmac/sha1-7 1471s ok 8 /hmac/sha256-1 1471s ok 9 /hmac/sha256-2 1471s ok 10 /hmac/sha256-3 1471s ok 11 /hmac/sha256-4 1471s ok 12 /hmac/sha256-5 1471s ok 13 /hmac/sha256-6 1471s ok 14 /hmac/sha384-1 1471s ok 15 /hmac/sha384-2 1471s ok 16 /hmac/sha384-3 1471s ok 17 /hmac/sha384-4 1471s ok 18 /hmac/sha384-5 1471s ok 19 /hmac/sha384-6 1471s ok 20 /hmac/sha512-1 1471s ok 21 /hmac/sha512-2 1471s ok 22 /hmac/sha512-3 1471s ok 23 /hmac/sha512-4 1471s ok 24 /hmac/sha512-5 1471s ok 25 /hmac/sha512-6 1471s ok 26 /hmac/md5-1 1471s ok 27 /hmac/md5-2 1471s ok 28 /hmac/md5-3 1471s ok 29 /hmac/md5-4 1471s ok 30 /hmac/md5-5 1471s ok 31 /hmac/md5-6 1471s ok 32 /hmac/md5-7 1471s ok 33 /hmac/ref-unref 1471s ok 34 /hmac/copy 1471s ok 35 /hmac/for-data 1471s ok 36 /hmac/for-string 1471s ok 37 /hmac/for-bytes 1471s # End of hmac tests 1471s ok - glib/hmac.test 1471s # Running test: glib/unix-mounts.test 1471s ok - glib/unix-mounts.test 1471s # Running test: glib/logging.test 1471s TAP version 14 1471s # random seed: R02S400cde002e0f6b1661f25ef754675497 1471s 1..4 1471s # Start of unix-mounts tests 1471s ok 1 /unix-mounts/is-system-fs-type 1471s ok 2 /unix-mounts/is-system-device-path 1471s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1471s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1471s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1471s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1471s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1471s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1471s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1471s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1471s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1471s ok 3 /unix-mounts/get-mount-points 1471s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1471s ok 4 /unix-mounts/get-mount-entries 1471s # End of unix-mounts tests 1471s TAP version 14 1471s # random seed: R02Se5faa777003fd71ae0850aa604aaff4c 1471s 1..20 1471s # Start of logging tests 1471s ok 1 /logging/default-handler 1471s ok 2 /logging/journald-handler 1471s ok 3 /logging/warnings 1471s ok 4 /logging/fatal-log-mask 1471s ok 5 /logging/always-fatal 1471s # bu-DEBUG: message 1471s # ba-DEBUG: message 1471s # ba-INFO: message 1471s ok 6 /logging/set-handler 1471s ok 7 /logging/print-handler 1471s ok 8 /logging/printerr-handler 1471s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 1471s # The Log Message Handler 1471s # 1471s # The Good Fail Message Handler 1471s # 1471s ok - glib/logging.test 1471s # Running test: glib/thread-pool-slow.test 1471s ok 9 /logging/653052 1471s ok 10 /logging/gibberish 1471s # Start of default-handler tests 1471s # Start of subprocess tests 1471s # End of subprocess tests 1471s # End of default-handler tests 1471s # End of logging tests 1471s # Start of structured-logging tests 1471s ok 11 /structured-logging/no-state 1471s ok 12 /structured-logging/some-state 1471s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly. 1471s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760 1471s ok 13 /structured-logging/recursion-overflow 1471s ok 14 /structured-logging/robustness 1471s ok 15 /structured-logging/roundtrip1 1471s ok 16 /structured-logging/roundtrip2 1471s ok 17 /structured-logging/roundtrip3 1471s ok 18 /structured-logging/variant1 1471s ok 19 /structured-logging/variant2 1471s ok 20 /structured-logging/set-writer-func-twice 1471s # End of structured-logging tests 1471s TAP version 14 1471s # random seed: R02S04120abe40d2eae7c8fd5df777d2c44f 1471s 1..7 1471s # Start of threadpool tests 1471s ok 1 /threadpool/functions 1471s # Executing: glib/thread-pool-slow.test 1472s ok 2 /threadpool/stop-unused 1472s # slow test /threadpool/stop-unused executed in 0.51 secs 1472s ok 3 /threadpool/pools 1472s # [unsorted] ===> pushed new thread with id:14, number of threads:1, unprocessed:1 1472s # [unsorted] ===> pushed new thread with id:34, number of threads:2, unprocessed:2 1472s # [unsorted] ===> pushed new thread with id:50, number of threads:3, unprocessed:3 1472s # [unsorted] ===> pushed new thread with id:69, number of threads:4, unprocessed:3 1472s # [unsorted] ===> pushed new thread with id:36, number of threads:5, unprocessed:4 1472s # [unsorted] ===> pushed new thread with id:42, number of threads:6, unprocessed:5 1472s # [unsorted] ===> pushed new thread with id:13, number of threads:7, unprocessed:6 1472s # [unsorted] ===> pushed new thread with id:84, number of threads:8, unprocessed:7 1472s # [unsorted] ===> pushed new thread with id:10, number of threads:9, unprocessed:8 1472s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:9 1472s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:10 1472s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:11 1472s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:12 1472s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:5 1472s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:6 1472s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:7 1472s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:8 1472s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:9 1472s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:10 1472s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:11 1472s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:12 1472s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:13 1472s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:14 1472s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:15 1472s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:16 1472s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:17 1472s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:18 1472s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:19 1472s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:20 1472s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:21 1472s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:22 1472s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:23 1472s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:24 1472s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:25 1472s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:26 1472s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:27 1472s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:28 1472s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:29 1472s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:30 1472s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:31 1472s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:32 1472s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:33 1472s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:34 1472s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:35 1472s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:36 1472s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:37 1472s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:38 1472s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:39 1472s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:40 1472s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:41 1472s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:42 1472s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:43 1472s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:44 1472s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:45 1472s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:46 1472s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:47 1472s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:48 1472s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:49 1472s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:50 1472s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:51 1472s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:52 1472s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:53 1472s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:54 1472s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:55 1472s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:56 1472s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:57 1472s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:58 1472s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:59 1472s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:60 1472s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:61 1472s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:62 1472s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:63 1472s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:64 1472s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:65 1472s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:66 1472s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:67 1472s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:68 1472s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:69 1472s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:70 1472s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:71 1472s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:72 1472s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:73 1472s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:74 1472s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:75 1472s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:76 1472s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:77 1472s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:78 1472s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:79 1472s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:80 1472s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:81 1472s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:82 1472s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:83 1472s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:84 1472s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:85 1472s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:86 1472s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:87 1472s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:88 1472s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:89 1472s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:90 1472s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:91 1472s ok 4 /threadpool/no-sort 1472s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:1 1472s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:2 1472s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:3 1472s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:4 1472s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:5 1472s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:6 1472s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:7 1472s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:8 1472s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:9 1472s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:10 1472s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:11 1472s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:12 1472s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:13 1472s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:14 1472s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:15 1472s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:16 1472s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:17 1472s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:18 1472s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:19 1472s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:20 1472s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:21 1472s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:22 1472s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:23 1472s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:24 1472s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:25 1472s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:26 1472s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:27 1472s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:28 1472s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:29 1472s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:30 1472s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:31 1472s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:32 1472s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:33 1472s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:34 1472s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:35 1472s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:36 1472s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:37 1472s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:38 1472s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:39 1472s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:40 1472s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:41 1472s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:42 1472s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:43 1472s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:44 1472s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:45 1472s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:46 1472s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:47 1472s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:48 1472s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:49 1472s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:50 1472s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:51 1472s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:52 1472s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:53 1472s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:54 1472s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:55 1472s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:56 1472s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:57 1472s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:58 1472s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:59 1472s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:60 1472s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:61 1472s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:62 1472s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:63 1472s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:64 1472s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:65 1472s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:66 1472s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:67 1472s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:68 1472s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:69 1472s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:70 1472s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:71 1472s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:72 1472s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:73 1472s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:74 1472s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:75 1472s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:76 1472s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:77 1472s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:78 1472s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:79 1472s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:80 1472s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:81 1472s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:82 1472s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:83 1472s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:84 1472s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:85 1472s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:86 1472s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:87 1472s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:88 1472s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:89 1472s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:90 1472s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:91 1472s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:92 1472s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:93 1472s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:94 1472s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:95 1472s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:96 1472s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:97 1472s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:98 1472s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:99 1472s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:100 1472s # Starting thread pool processing 1472s ok 5 /threadpool/sort 1472s ok 6 /threadpool/stop-unused-multiple 1472s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1472s # Pool idle thread count: 0, unprocessed jobs: 50 1473s # Pool idle thread count: 0, unprocessed jobs: 0 1473s # Pool idle thread count: 0, unprocessed jobs: 0 1473s # Pool idle thread count: 10, unprocessed jobs: 0 1473s # Pool idle thread count: 10, unprocessed jobs: 0 1474s # Pool idle thread count: 10, unprocessed jobs: 0 1474s # Pool idle thread count: 10, unprocessed jobs: 0 1474s # Pool idle thread count: 10, unprocessed jobs: 0 1474s # Pool idle thread count: 10, unprocessed jobs: 0 1475s # Pool idle thread count: 10, unprocessed jobs: 0 1475s # Pool idle thread count: 10, unprocessed jobs: 0 1475s # Pool idle thread count: 10, unprocessed jobs: 0 1475s # Pool idle thread count: 10, unprocessed jobs: 0 1476s # Pool idle thread count: 10, unprocessed jobs: 0 1476s # Pool idle thread count: 10, unprocessed jobs: 0 1476s # Pool idle thread count: 10, unprocessed jobs: 0 1476s # Pool idle thread count: 10, unprocessed jobs: 0 1476s # Executing: glib/thread-pool-slow.test 1477s # Pool idle thread count: 10, unprocessed jobs: 0 1477s # Pool idle thread count: 10, unprocessed jobs: 0 1477s # Pool idle thread count: 10, unprocessed jobs: 0 1477s # Pool idle thread count: 10, unprocessed jobs: 0 1478s # Pool idle thread count: 10, unprocessed jobs: 0 1478s # Pool idle thread count: 10, unprocessed jobs: 0 1478s # Pool idle thread count: 10, unprocessed jobs: 0 1478s # Pool idle thread count: 10, unprocessed jobs: 0 1479s # Pool idle thread count: 10, unprocessed jobs: 0 1479s # Pool idle thread count: 10, unprocessed jobs: 0 1479s # Pool idle thread count: 10, unprocessed jobs: 0 1479s # Pool idle thread count: 10, unprocessed jobs: 0 1480s # Pool idle thread count: 10, unprocessed jobs: 0 1480s # Pool idle thread count: 10, unprocessed jobs: 0 1480s # Pool idle thread count: 10, unprocessed jobs: 0 1480s # Pool idle thread count: 10, unprocessed jobs: 0 1481s # Pool idle thread count: 10, unprocessed jobs: 0 1481s # Pool idle thread count: 10, unprocessed jobs: 0 1481s # Pool idle thread count: 10, unprocessed jobs: 2 1481s # Pool idle thread count: 10, unprocessed jobs: 2 1481s # Pool idle thread count: 8, unprocessed jobs: 0 1481s # Pool idle thread count: 8, unprocessed jobs: 0 1481s # Executing: glib/thread-pool-slow.test 1482s # Pool idle thread count: 10, unprocessed jobs: 0 1482s # Pool idle thread count: 10, unprocessed jobs: 0 1482s # Pool idle thread count: 10, unprocessed jobs: 0 1482s # Pool idle thread count: 10, unprocessed jobs: 0 1483s # Pool idle thread count: 10, unprocessed jobs: 0 1483s # Pool idle thread count: 10, unprocessed jobs: 0 1483s # Pool idle thread count: 2, unprocessed jobs: 0 1483s # Pool idle thread count: 2, unprocessed jobs: 0 1484s # Pool idle thread count: 2, unprocessed jobs: 0 1484s # Pool idle thread count: 2, unprocessed jobs: 0 1484s # Pool idle thread count: 2, unprocessed jobs: 0 1484s # Pool idle thread count: 2, unprocessed jobs: 0 1485s # Pool idle thread count: 2, unprocessed jobs: 0 1485s # Pool idle thread count: 2, unprocessed jobs: 0 1485s # Pool idle thread count: 2, unprocessed jobs: 0 1485s # Pool idle thread count: 2, unprocessed jobs: 0 1486s # Pool idle thread count: 2, unprocessed jobs: 0 1486s # Pool idle thread count: 2, unprocessed jobs: 0 1486s # Pool idle thread count: 2, unprocessed jobs: 0 1486s # Pool idle thread count: 2, unprocessed jobs: 0 1486s # Executing: glib/thread-pool-slow.test 1487s # Pool idle thread count: 2, unprocessed jobs: 0 1487s # Pool idle thread count: 2, unprocessed jobs: 0 1487s # Pool idle thread count: 2, unprocessed jobs: 0 1487s # Pool idle thread count: 2, unprocessed jobs: 0 1488s # Pool idle thread count: 2, unprocessed jobs: 0 1488s # Pool idle thread count: 2, unprocessed jobs: 0 1488s # Pool idle thread count: 2, unprocessed jobs: 0 1488s # Pool idle thread count: 2, unprocessed jobs: 0 1489s # Pool idle thread count: 2, unprocessed jobs: 0 1489s # Pool idle thread count: 2, unprocessed jobs: 0 1489s # Pool idle thread count: 2, unprocessed jobs: 0 1489s # Pool idle thread count: 2, unprocessed jobs: 0 1490s # Pool idle thread count: 2, unprocessed jobs: 0 1490s # Pool idle thread count: 2, unprocessed jobs: 0 1490s # Pool idle thread count: 2, unprocessed jobs: 0 1490s # Pool idle thread count: 2, unprocessed jobs: 0 1491s # Pool idle thread count: 2, unprocessed jobs: 0 1491s # Pool idle thread count: 2, unprocessed jobs: 0 1491s # Pool idle thread count: 2, unprocessed jobs: 0 1491s # Pool idle thread count: 2, unprocessed jobs: 0 1491s # Executing: glib/thread-pool-slow.test 1492s ok 7 /threadpool/idle-time 1492s # slow test /threadpool/idle-time executed in 19.52 secs 1492s # End of threadpool tests 1492s ok - glib/thread-pool-slow.test 1492s # Running test: glib/permission.test 1492s ok - glib/permission.test 1492s # Running test: glib/live-g-file.test 1492s TAP version 14 1492s # random seed: R02S8e1fa07effbe9d55412cdee29072ccb8 1492s 1..1 1492s # Start of permission tests 1492s ok 1 /permission/simple 1492s # End of permission tests 1492s TAP version 14 1492s # random seed: R02Sad78c10b0f64a6217e84dfd11d7a1120 1492s 1..13 1492s # Start of live-g-file tests 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/prep_clean_structure/.dirs/runtime 1492s # Cleaning target testing structure in '/tmp/test_live-g-file_6DTHK3/testdir_live-g-file'... 1492s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1492s ok 1 /live-g-file/prep_clean_structure 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/create_structure/.dirs/runtime 1492s # 1492s # Going to create testing structure in '/tmp/test_live-g-file_6DTHK3/testdir_live-g-file'... 1492s # Creating directory 'dir1'... 1492s # Creating directory 'dir1/subdir'... 1492s # Creating directory 'dir2'... 1492s # Creating directory 'dir-target'... 1492s # Creating directory 'dir_no-access'... 1492s # Creating directory 'dir_no-write'... 1492s # Creating file 'target-file'... 1492s # Creating file 'normal_file'... 1492s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1492s # Creating file 'executable_file'... 1492s # Creating file 'private_file'... 1492s # Creating file 'normal_file2'... 1492s # Creating file 'readonly_file'... 1492s # Creating file 'UTF_příliš z'... 1492s # Creating directory 'dir_příliš z'... 1492s # Creating symlink 'lost_symlink' --> 'nowhere'... 1492s # Creating directory 'dir_hidden'... 1492s # Creating file 'dir_hidden/.a-hidden-file'... 1492s # Creating file 'dir_hidden/file-in-.hidden1'... 1492s # Creating file 'dir_hidden/file-in-.hidden2'... 1492s # Creating pattern file... 1492s # done. 1492s ok 2 /live-g-file/create_structure 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_initial_structure/.dirs/runtime 1492s # Testing sample structure in '/tmp/test_live-g-file_6DTHK3/testdir_live-g-file'... 1492s # Testing file 'dir1'... 1492s # Testing file 'dir1/subdir'... 1492s # Testing file 'dir2'... 1492s # Testing file 'dir-target'... 1492s # Testing file 'dir_no-access'... 1492s # Testing file 'dir_no-write'... 1492s # Testing file 'target-file'... 1492s # Testing file 'normal_file'... 1492s # Testing file 'normal_file-symlink'... 1492s # Testing file 'executable_file'... 1492s # Testing file 'private_file'... 1492s # Testing file 'normal_file2'... 1492s # Testing file 'readonly_file'... 1492s # Testing file 'UTF_příliš z'... 1492s # Testing file 'dir_příliš z'... 1492s # Testing file 'lost_symlink'... 1492s # Testing file 'dir_hidden'... 1492s # Testing file 'dir_hidden/.a-hidden-file'... 1492s # Testing file 'dir_hidden/file-in-.hidden1'... 1492s # Testing file 'dir_hidden/file-in-.hidden2'... 1492s # Testing pattern file... 1492s # read 65536 bytes, total = 65536 of 65536. 1492s ok 3 /live-g-file/test_initial_structure 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_traverse_structure/.dirs/runtime 1492s # Traversing through the sample structure in '/tmp/test_live-g-file_6DTHK3/testdir_live-g-file'... 1492s # Found file dir1, relative to root: dir1 1492s # Found file subdir, relative to root: dir1/subdir 1492s # Found file dir2, relative to root: dir2 1492s # Found file dir-target, relative to root: dir-target 1492s # Found file dir_no-access, relative to root: dir_no-access 1492s # Found file dir_no-write, relative to root: dir_no-write 1492s # Found file target-file, relative to root: target-file 1492s # Found file normal_file, relative to root: normal_file 1492s # Found file normal_file-symlink, relative to root: normal_file-symlink 1492s # Found file executable_file, relative to root: executable_file 1492s # Found file private_file, relative to root: private_file 1492s # Found file normal_file2, relative to root: normal_file2 1492s # Found file readonly_file, relative to root: readonly_file 1492s # Found file UTF_příliš z, relative to root: UTF_příliš z 1492s # Found file dir_příliš z, relative to root: dir_příliš z 1492s # Found file lost_symlink, relative to root: lost_symlink 1492s # Found file dir_hidden, relative to root: dir_hidden 1492s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1492s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1492s # Found file .hidden, relative to root: dir_hidden/.hidden 1492s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1492s # Found file pattern_file, relative to root: pattern_file 1492s ok 4 /live-g-file/test_traverse_structure 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_enumerate/.dirs/runtime 1492s # Test enumerate '/tmp/test_live-g-file_6DTHK3/testdir_live-g-file'... 1492s # Testing file 'dir_no-access' 1492s # Testing file 'normal_file' 1492s # Testing file 'normal_file-symlink' 1492s # Testing file 'not_exists' 1492s # Testing file 'not_exists' 1492s # Testing file 'not_exists2' 1492s # Testing file 'not_exists3' 1492s # Testing file 'not_exists4' 1492s # Testing file 'dir_no-execute/file' 1492s ok 5 /live-g-file/test_enumerate 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_open/.dirs/runtime 1492s # test_open: 'dir1' 1492s # test_open: 'dir_no-access' 1492s # test_open: 'target-file' 1492s # test_open: 'normal_file-symlink' 1492s # test_open: 'executable_file' 1492s # test_open: 'private_file' 1492s # test_open: 'readonly_file' 1492s # test_open: 'UTF_příliš z' 1492s # test_open: 'pattern_file' 1492s # test_open: 'not_exists' 1492s # test_open: 'dir_no-execute/file' 1492s # test_open: 'lost_symlink' 1492s ok 6 /live-g-file/test_open 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_create/.dirs/runtime 1492s # test_create: 'dir1' 1492s # error code 3 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir1”: Is a directory 1492s # test_create: 'dir1/subdir' 1492s # error code 3 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir1/subdir”: Is a directory 1492s # test_create: 'dir2' 1492s # error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir2”: File exists 1492s # test_create: 'normal_file' 1492s # error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/normal_file”: File exists 1492s # test_create: 'executable_file' 1492s # test_create: 'private_file' 1492s # test_create: 'normal_file2' 1492s # test_create: 'UTF_příliš z' 1492s # error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/UTF_příliš z”: File exists 1492s # test_create: 'dir_příliš z' 1492s # error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_příliš z”: File exists 1492s # test_create: 'pattern_file' 1492s # test_create: 'not_exists2' 1492s # test_create: 'not_exists3' 1492s # test_create: 'not_exists4' 1492s ok 7 /live-g-file/test_create 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_copy_move/.dirs/runtime 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1492s # res = 0, error code 25 = Can’t recursively copy directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir1/subdir' --> '.' 1492s # res = 0, error code 2 = Target file exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir1/subdir' --> 'target-file' 1492s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1492s # res = 0, error code 25 = Can’t recursively copy directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1492s # res = 0, error code 25 = Can’t recursively copy directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1492s # res = 0, error code 25 = Can’t recursively copy directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir2' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir-target' --> 'dir-target' 1492s # res = 0, error code 25 = Can’t recursively copy directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir-target' --> '.' 1492s # res = 0, error code 2 = Target file exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir-target' --> 'target-file' 1492s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/dir-target”: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir-target' --> 'not_exists' 1492s # res = 0, error code 25 = Can’t recursively copy directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir-target' --> 'dir_no-access' 1492s # res = 0, error code 25 = Can’t recursively copy directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'dir-target' --> 'dir_no-write' 1492s # res = 0, error code 25 = Can’t recursively copy directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'target-file' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'target-file' --> '.' 1492s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file”: File exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'target-file' --> 'target-file' 1492s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/target-file”: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'target-file' --> 'not_exists' 1492s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'target-file' --> 'dir_no-access' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'target-file' --> 'dir_no-write' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file-symlink' --> '.' 1492s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/normal_file-symlink: File exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1492s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1492s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1492s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1492s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'executable_file' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'executable_file' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'executable_file' --> '.' 1492s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/executable_file”: File exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'executable_file' --> 'target-file' 1492s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/executable_file”: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'executable_file' --> 'not_exists' 1492s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'executable_file' --> 'dir_no-access' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'executable_file' --> 'dir_no-write' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'private_file' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'private_file' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'private_file' --> '.' 1492s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/private_file”: File exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'private_file' --> 'target-file' 1492s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/private_file”: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'private_file' --> 'not_exists' 1492s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'private_file' --> 'dir_no-access' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'private_file' --> 'dir_no-write' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file2' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file2' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file2' --> '.' 1492s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/normal_file2”: File exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file2' --> 'target-file' 1492s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file2' --> 'not_exists' 1492s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'UTF_příliš z' --> '.' 1492s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/UTF_příliš z”: File exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1492s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1492s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'pattern_file' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'pattern_file' --> '.' 1492s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/pattern_file”: File exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'pattern_file' --> 'target-file' 1492s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'pattern_file' --> 'not_exists' 1492s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1492s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'not_exists' --> 'dir-target' 1492s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'not_exists' --> '.' 1492s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'not_exists' --> 'target-file' 1492s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'not_exists' --> 'not_exists' 1492s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'not_exists' --> 'dir_no-access' 1492s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'not_exists' --> 'dir_no-write' 1492s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists”: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'not_exists' --> 'dir-target' 1492s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'lost_symlink' --> 'dir-target' 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'lost_symlink' --> '.' 1492s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/lost_symlink: File exists 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'lost_symlink' --> 'target-file' 1492s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'lost_symlink' --> 'not_exists' 1492s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1492s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1492s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1492s ok 8 /live-g-file/test_copy_move 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_delete/.dirs/runtime 1492s # Deleting dir1, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir1 1492s # result = 0, error = Error removing file /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir1: Directory not empty 1492s # Deleting dir2, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir2 1492s # result = 0, error = Error removing file /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir2: No such file or directory 1492s # Deleting executable_file, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/executable_file 1492s # result = 0, error = Error trashing file /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/executable_file: No such file or directory 1492s # Deleting readonly_file, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/readonly_file 1492s # Deleting dir_příliš z, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_příliš z 1492s # Deleting not_exists, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists 1492s # result = 0, error = Error removing file /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists: No such file or directory 1492s # Deleting not_exists, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists 1492s # result = 0, error = Error trashing file /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/not_exists: No such file or directory 1492s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-execute/file 1492s # result = 0, error = Error removing file /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1492s # Deleting lost_symlink, path = /tmp/test_live-g-file_6DTHK3/testdir_live-g-file/lost_symlink 1492s ok 9 /live-g-file/test_delete 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1492s # We do not have CAP_DAC_OVERRIDE or equivalent 1492s ok 10 /live-g-file/test_make_directory_with_parents 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/final_clean/.dirs/runtime 1492s # Cleaning target testing structure in '/tmp/test_live-g-file_6DTHK3/testdir_live-g-file'... 1492s # deleting 'dir1' 1492s # deleting 'subdir' 1492s # deleting 'dir-target' 1492s # deleting 'dir2' 1492s # deleting 'target-file' 1492s # deleting 'normal_file-symlink' 1492s # deleting 'pattern_file' 1492s # deleting 'executable_file' 1492s # deleting 'private_file' 1492s # deleting 'normal_file2' 1492s # deleting 'UTF_příliš z' 1492s # deleting 'lost_symlink' 1492s # deleting 'dir_no-access' 1492s # deleting 'dir_no-write' 1492s # deleting 'target-file' 1492s # deleting 'normal_file' 1492s # deleting 'normal_file-symlink' 1492s # deleting 'executable_file~' 1492s # deleting 'private_file' 1492s # deleting 'normal_file2~' 1492s # deleting 'a' 1492s # deleting 'UTF_příliš z' 1492s # deleting 'dir_hidden' 1492s # deleting '.a-hidden-file' 1492s # deleting 'file-in-.hidden1' 1492s # deleting '.hidden' 1492s # deleting 'file-in-.hidden2' 1492s # deleting 'pattern_file' 1492s # deleting 'executable_file' 1492s # deleting 'normal_file2' 1492s # deleting 'not_exists2' 1492s # deleting 'not_exists3' 1492s # deleting 'not_exists4' 1492s ok 11 /live-g-file/final_clean 1492s # Start of test_unix_is_mountpoint tests 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1492s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1492s ok - glib/live-g-file.test 1492s # Running test: glib/flags.test 1492s ok - glib/flags.test 1492s # Running test: glib/appmonitor.test 1492s ok - glib/appmonitor.test 1492s # Running test: glib/power-profile-monitor-dbus.test 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_6DTHK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1492s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1492s # End of test_unix_is_mountpoint tests 1492s # End of live-g-file tests 1492s TAP version 14 1492s # random seed: R02Se8469b4cd9c35d76498a1ea6ae01f8f8 1492s 1..1 1492s # Start of gobject tests 1492s # Start of flags tests 1492s ok 1 /gobject/flags/validate 1492s # End of flags tests 1492s # End of gobject tests 1492s TAP version 14 1492s # random seed: R02S2f67b2c50762b2edf5571b225a4d0274 1492s 1..1 1492s # Start of monitor tests 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_U26AK3/monitor/app/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_U26AK3/monitor/app/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/runtime 1492s # Using data directory: /tmp/test_appmonitor_U26AK3/monitor/app/.dirs/data 1492s ok 1 /monitor/app 1492s # End of monitor tests 1492s TAP version 13 1492s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1492s 1..1 1492s ok - glib/power-profile-monitor-dbus.test 1492s # Running test: glib/defaultiface.test 1492s ok - glib/defaultiface.test 1492s TAP version 14 1492s # random seed: R02S80743ef7ea4e9d79344ee3c01a0cf061 1492s 1..2 1492s # Start of gobject tests 1492s ok 1 /gobject/static-iface 1492s ok 2 /gobject/dynamic-iface 1492s # End of gobject tests 1492s # Running test: glib/autoptr-girepository.test 1492s TAP version 14 1492s # random seed: R02S4eb3f312d78b66218043095e60923b4a 1492s 1..24 1492s # Start of autoptr tests 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/repository/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 1 /autoptr/repository 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/typelib/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 2 /autoptr/typelib 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/base-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 3 /autoptr/base-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/arg-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 4 /autoptr/arg-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callable-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 5 /autoptr/callable-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/callback-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 6 /autoptr/callback-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/constant-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 7 /autoptr/constant-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/enum-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 8 /autoptr/enum-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/field-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 9 /autoptr/field-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/flags-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 10 /autoptr/flags-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/function-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 11 /autoptr/function-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/interface-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 12 /autoptr/interface-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/object-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 13 /autoptr/object-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/property-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 14 /autoptr/property-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/registered-type-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 15 /autoptr/registered-type-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/signal-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 16 /autoptr/signal-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/struct-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 17 /autoptr/struct-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/type-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 18 /autoptr/type-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/union-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 19 /autoptr/union-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/value-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 20 /autoptr/value-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/autoptr/vfunc-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 21 /autoptr/vfunc-info 1492s # End of autoptr tests 1492s ok - glib/autoptr-girepository.test 1492s # Start of auto tests 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/auto/arg-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 22 /auto/arg-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/auto/type-info/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 23 /auto/type-info 1492s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/home 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/cache 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/system-config2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/config 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/system-data2 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/data 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/state 1492s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_BBL5J3/auto/function-invoker/.dirs/runtime 1492s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1492s ok 24 /auto/function-invoker 1492s # End of auto tests 1492s # Running test: glib/spawn-multithreaded.test 1492s TAP version 14 1492s # random seed: R02S75523af4ed783e281c5e2acab0b7a1a0 1492s 1..4 1492s # Start of gthread tests 1493s # Child 9772 (ttl 1) exited, status 0 1494s # Child 9773 (ttl 2) exited, status 0 1494s ok 1 /gthread/spawn-childs 1494s # slow test /gthread/spawn-childs executed in 2.00 secs 1494s # Created pid: 9777 (ttl 2) 1494s # Created pid: 9778 (ttl 1) 1495s # Child 9778 (ttl 1) exited, status 0 1496s # Child 9777 (ttl 2) exited, status 0 1496s ok 2 /gthread/spawn-childs-threads 1496s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1496s ok 3 /gthread/spawn-sync 1496s ok 4 /gthread/spawn-async 1496s # End of gthread tests 1496s ok - glib/spawn-multithreaded.test 1496s # Running test: glib/gdbus-threading.test 1496s TAP version 14 1496s # random seed: R02S9e90d3b37aba579b1b04beffcdf84e26 1496s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1496s ok - glib/gdbus-threading.test 1496s # Running test: glib/unicode-encoding.test 1496s ok - glib/unicode-encoding.test 1496s # Running test: glib/module-test-plugin.test 1496s ok - glib/module-test-plugin.test 1496s # Running test: glib/function-info.test 1496s ok - glib/function-info.test 1496s # Running test: glib/environment.test 1496s TAP version 14 1496s # random seed: R02S2fba5ccdb7c2087b2c574b627aa04764 1496s 1..1 1496s # Start of unicode tests 1496s ok 1 /unicode/encoding 1496s # End of unicode tests 1496s TAP version 14 1496s # random seed: R02Se903cdbac385740b57423021ce2cf98d 1496s 1..3 1496s # Start of module tests 1496s ok 1 /module/basics 1496s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1496s ok 2 /module/invalid-libtool-archive 1496s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1496s ok 3 /module/local-binding 1496s # End of module tests 1496s TAP version 14 1496s # random seed: R02S5a057d49d0e66c28e61f5ebd4f6903cc 1496s 1..1 1496s # Start of function-info tests 1496s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/home 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/cache 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/system-config2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/config 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/system-data2 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/data 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/state 1496s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_UOG6J3/function-info/invoker/.dirs/runtime 1496s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1496s # /function-info/invoker summary: Test preparing a function invoker 1496s ok 1 /function-info/invoker 1496s # End of function-info tests 1496s TAP version 14 1496s # random seed: R02Sf45d98a0a07a68b71ba2027675e0c943 1496s 1..7 1496s # Start of environ tests 1496s # /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. 1496s ok 1 /environ/listenv 1496s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1496s ok 2 /environ/getenv 1496s ok 3 /environ/setenv 1496s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1496s ok 4 /environ/array 1496s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1496s ok 5 /environ/null 1496s # /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. 1496s ok 6 /environ/case 1496s # /environ/expansion summary: Test expansion of environment variable references. 1496s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 1496s # End of environ tests 1496s ok - glib/environment.test 1496s # Running test: glib/performance.test 1496s # Executing: glib/performance.test 1501s # Executing: glib/performance.test 1506s simple-construction: Millions of constructed objects per second: 6.882 1506s # Executing: glib/performance.test 1508s simple-construction1: Millions of constructed objects per second: 58.023 1511s # Executing: glib/performance.test 1513s complex-construction: Millions of constructed objects per second: 3.759 1516s # Executing: glib/performance.test 1520s complex-construction1: Millions of constructed objects per second: 4.673 1521s # Executing: glib/performance.test 1526s # Executing: glib/performance.test 1528s complex-construction2: Millions of constructed objects per second: 5.150 1530s finalization: Millions of finalized objects per second: 1.041 1531s type-check: Million type checks per second: 14.01 1531s # Executing: glib/performance.test 1533s emit-unhandled: Emissions per second: 1055520 1534s emit-unhandled-empty: Emissions per second: 8627368 1536s emit-unhandled-generic: Emissions per second: 1155533 1536s # Executing: glib/performance.test 1537s emit-unhandled-generic-empty: Emissions per second: 8673135 1539s emit-unhandled-args: Emissions per second: 1038719 1540s emit-handled: Emissions per second: 750843 1541s emit-handled-empty: Emissions per second: 746054 1541s # Executing: glib/performance.test 1543s emit-handled-generic: Emissions per second: 756301 1544s emit-handled-generic-empty: Emissions per second: 1137516 1546s emit-handled-args: Emissions per second: 743456 1546s # Executing: glib/performance.test 1547s notify-unhandled: Notify (unhandled) per second: 8854030 1548s notify-by-pspec-unhandled: Notify (unhandled) per second: 43384176 1550s notify-handled: Notify per second: 488319 1551s notify-by-pspec-handled: Notify per second: 504700 1551s # Executing: glib/performance.test 1553s property-set: Property set per second: 6139688 1554s property-set-signaled: Property set per second: 1526921 1555s property-get: Property get per second: 6531191 1556s # Executing: glib/performance.test 1557s refcount: Million refs+unref per second: 5.81 1558s refcount-1: Million refs+unref per second: 13.74 1560s refcount-toggle: Million refs+unref per second: 11.87 1560s ok - glib/performance.test 1560s # Running test: glib/portal-support-flatpak-none.test 1560s TAP version 14 1560s # random seed: R02S210363715034c05e96e8e7f0f8f34236 1560s 1..1 1560s # Start of portal-support tests 1560s # Start of flatpak tests 1560s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/home 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/cache 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/system-config2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/config 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/system-data2 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/data 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/state 1560s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/runtime 1560s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_GXD9J3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1560s ok 1 /portal-support/flatpak/none 1560s # End of flatpak tests 1560s # End of portal-support tests 1560s ok - glib/portal-support-flatpak-none.test 1560s # Running test: glib/gmenumodel.test 1560s TAP version 14 1560s # random seed: R02Sb77cbc9e1eeb139eef7190456c792d27 1560s 1..15 1560s # Start of gmenu tests 1561s ok 1 /gmenu/equality 1561s # slow test /gmenu/equality executed in 1.56 secs 1561s # Executing: glib/gmenumodel.test 1563s ok 2 /gmenu/random 1563s # slow test /gmenu/random executed in 2.10 secs 1563s ok 3 /gmenu/attributes 1563s ok 4 /gmenu/links 1563s ok 5 /gmenu/mutable 1563s ok 6 /gmenu/convenience 1563s ok 7 /gmenu/menuitem 1563s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1564s ok 8 /gmenu/input-validation 1564s # Start of dbus tests 1565s ok 9 /gmenu/dbus/roundtrip 1565s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1565s ok 10 /gmenu/dbus/subscriptions 1566s ok 11 /gmenu/dbus/threaded 1566s # slow test /gmenu/dbus/threaded executed in 1.45 secs 1566s # Start of peer tests 1566s # Executing: glib/gmenumodel.test 1567s ok 12 /gmenu/dbus/peer/roundtrip 1567s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1568s ok - glib/gmenumodel.test 1568s # Running test: glib/memchunk.test 1568s ok 13 /gmenu/dbus/peer/subscriptions 1568s # End of peer tests 1568s # Start of export tests 1568s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1568s ok 14 /gmenu/dbus/export/error-handling 1568s # End of export tests 1568s # End of dbus tests 1568s # Start of attributes tests 1568s ok 15 /gmenu/attributes/iterate 1568s # End of attributes tests 1568s # End of gmenu tests 1568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1568s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1568s TAP version 14 1568s # random seed: R02S1af06401cd3e7fb540d2f80fac7a0a77 1568s 1..1 1568s # Start of memchunk tests 1568s ok 1 /memchunk/basic 1568s # End of memchunk tests 1568s TAP version 14 1568s # random seed: R02Scced6b13256daea90f035e49a015a816 1568s 1..1 1568s # Start of gio tests 1568s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1568s # random seed: R02S31eeee39ed2acf3ae690e0dc48b5f62b 1568s ok - glib/memchunk.test 1568s # Running test: glib/io-channel-basic.test 1568s # GLib-DEBUG: io-channel-basic: child writing 8+2536 bytes to 6 1568s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1568s # GLib-DEBUG: io-channel-basic: ...from 5: 2536 bytes 1568s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1568s # GLib-DEBUG: io-channel-basic: child writing 8+372 bytes to 6 1568s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1568s # GLib-DEBUG: io-channel-basic: ...from 5: 372 bytes 1568s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1569s # GLib-DEBUG: io-channel-basic: child writing 8+1961 bytes to 6 1569s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1569s # GLib-DEBUG: io-channel-basic: ...from 5: 1961 bytes 1569s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1569s # GLib-DEBUG: io-channel-basic: child writing 8+2267 bytes to 6 1569s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1569s # GLib-DEBUG: io-channel-basic: ...from 5: 2267 bytes 1569s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1569s # GLib-DEBUG: io-channel-basic: child writing 8+1958 bytes to 6 1569s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1569s # GLib-DEBUG: io-channel-basic: ...from 5: 1958 bytes 1569s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1569s # GLib-DEBUG: io-channel-basic: child writing 8+1106 bytes to 6 1569s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1569s # GLib-DEBUG: io-channel-basic: ...from 5: 1106 bytes 1569s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1570s # GLib-DEBUG: io-channel-basic: child writing 8+2758 bytes to 6 1570s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1570s # GLib-DEBUG: io-channel-basic: ...from 5: 2758 bytes 1570s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1570s # GLib-DEBUG: io-channel-basic: child writing 8+4217 bytes to 6 1570s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1570s # GLib-DEBUG: io-channel-basic: ...from 5: 4217 bytes 1570s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1570s # GLib-DEBUG: io-channel-basic: child writing 8+4608 bytes to 6 1570s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1570s # GLib-DEBUG: io-channel-basic: ...from 5: 4608 bytes 1570s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1570s # GLib-DEBUG: io-channel-basic: child writing 8+4515 bytes to 6 1570s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1570s # GLib-DEBUG: io-channel-basic: ...from 5: 4515 bytes 1570s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1571s # GLib-DEBUG: io-channel-basic: child writing 8+424 bytes to 6 1571s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1571s # GLib-DEBUG: io-channel-basic: ...from 5: 424 bytes 1571s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1571s # GLib-DEBUG: io-channel-basic: child writing 8+2503 bytes to 6 1571s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1571s # GLib-DEBUG: io-channel-basic: ...from 5: 2503 bytes 1571s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1571s # GLib-DEBUG: io-channel-basic: child writing 8+3771 bytes to 6 1571s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1571s # GLib-DEBUG: io-channel-basic: ...from 5: 3771 bytes 1571s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1571s # Executing: glib/io-channel-basic.test 1572s # GLib-DEBUG: io-channel-basic: child writing 8+3671 bytes to 6 1572s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1572s # GLib-DEBUG: io-channel-basic: ...from 5: 3671 bytes 1572s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1572s # GLib-DEBUG: io-channel-basic: child writing 8+3754 bytes to 6 1572s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1572s # GLib-DEBUG: io-channel-basic: ...from 5: 3754 bytes 1572s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1572s # GLib-DEBUG: io-channel-basic: child writing 8+2162 bytes to 6 1572s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1572s # GLib-DEBUG: io-channel-basic: ...from 5: 2162 bytes 1572s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1572s # GLib-DEBUG: io-channel-basic: child writing 8+3597 bytes to 6 1572s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1572s # GLib-DEBUG: io-channel-basic: ...from 5: 3597 bytes 1572s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1573s # GLib-DEBUG: io-channel-basic: child writing 8+4851 bytes to 6 1573s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1573s # GLib-DEBUG: io-channel-basic: ...from 5: 4851 bytes 1573s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1573s # GLib-DEBUG: io-channel-basic: child writing 8+4259 bytes to 6 1573s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1573s # GLib-DEBUG: io-channel-basic: ...from 5: 4259 bytes 1573s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1573s # GLib-DEBUG: io-channel-basic: child writing 8+4775 bytes to 6 1573s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1573s # GLib-DEBUG: io-channel-basic: ...from 5: 4775 bytes 1573s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1573s # GLib-DEBUG: io-channel-basic: child writing 8+1495 bytes to 6 1573s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1573s # GLib-DEBUG: io-channel-basic: ...from 5: 1495 bytes 1573s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+4878 bytes to 6 1574s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 5: 4878 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+2304 bytes to 6 1574s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1574s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1574s # GLib-DEBUG: io-channel-basic: ...from 5: 2304 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1574s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1574s # random seed: R02Sca8761430d10d98a2f40d8809b47e66c 1574s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1574s # random seed: R02S9769dd0369f9edd6d5eaf14e6f41da3c 1574s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1574s # random seed: R02S823067e1ee4ba7df1598fcf438e79807 1574s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1574s # random seed: R02S8aea9e657497fd373d6c39a9ec10e8fa 1574s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1574s # random seed: R02Sc6c99fe24ce8fa8b2cfaa4bfa1cbcec2 1574s # GLib-DEBUG: io-channel-basic: child writing 8+2982 bytes to 9 1574s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 8: 2982 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+1271 bytes to 11 1574s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 10: 1271 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+4331 bytes to 17 1574s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 16: 4331 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+4747 bytes to 13 1574s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 12: 4747 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+3691 bytes to 15 1574s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 14: 3691 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+1901 bytes to 11 1574s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 10: 1901 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+1 bytes to 17 1574s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 16: 1 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+2989 bytes to 9 1574s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 8: 2989 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+224 bytes to 15 1574s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 14: 224 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1574s # GLib-DEBUG: io-channel-basic: child writing 8+2894 bytes to 13 1574s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1574s # GLib-DEBUG: io-channel-basic: ...from 12: 2894 bytes 1574s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4676 bytes to 11 1575s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 10: 4676 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+256 bytes to 17 1575s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 16: 256 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4589 bytes to 9 1575s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 8: 4589 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+3992 bytes to 13 1575s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 12: 3992 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4827 bytes to 15 1575s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 14: 4827 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+1128 bytes to 11 1575s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 10: 1128 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4921 bytes to 17 1575s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 16: 4921 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4504 bytes to 9 1575s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 8: 4504 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4117 bytes to 15 1575s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 14: 4117 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4948 bytes to 13 1575s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 12: 4948 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+3278 bytes to 11 1575s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 10: 3278 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+3006 bytes to 9 1575s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 8: 3006 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4987 bytes to 17 1575s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 16: 4987 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+3265 bytes to 13 1575s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 12: 3265 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+4079 bytes to 15 1575s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 14: 4079 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+981 bytes to 11 1575s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 10: 981 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+824 bytes to 17 1575s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 16: 824 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+2527 bytes to 13 1575s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 12: 2527 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+3937 bytes to 9 1575s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 8: 3937 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1575s # GLib-DEBUG: io-channel-basic: child writing 8+2768 bytes to 15 1575s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1575s # GLib-DEBUG: io-channel-basic: ...from 14: 2768 bytes 1575s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+2850 bytes to 9 1576s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 8: 2850 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+2815 bytes to 11 1576s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 10: 2815 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+1728 bytes to 13 1576s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 12: 1728 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+2851 bytes to 17 1576s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 16: 2851 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+2807 bytes to 15 1576s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 14: 2807 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+1541 bytes to 9 1576s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 8: 1541 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+1286 bytes to 17 1576s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 16: 1286 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+2387 bytes to 11 1576s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 10: 2387 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+4528 bytes to 13 1576s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 12: 4528 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+4907 bytes to 15 1576s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 14: 4907 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+3752 bytes to 9 1576s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 8: 3752 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+4236 bytes to 17 1576s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 16: 4236 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+1306 bytes to 11 1576s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 10: 1306 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+1230 bytes to 13 1576s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 12: 1230 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+4333 bytes to 15 1576s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 14: 4333 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1576s # Executing: glib/io-channel-basic.test 1576s # GLib-DEBUG: io-channel-basic: child writing 8+4307 bytes to 17 1576s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 16: 4307 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+1911 bytes to 9 1576s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 8: 1911 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1576s # GLib-DEBUG: io-channel-basic: child writing 8+4878 bytes to 13 1576s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1576s # GLib-DEBUG: io-channel-basic: ...from 12: 4878 bytes 1576s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4629 bytes to 15 1577s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 14: 4629 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4339 bytes to 11 1577s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 10: 4339 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+1620 bytes to 17 1577s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 16: 1620 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+2924 bytes to 9 1577s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 8: 2924 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4615 bytes to 15 1577s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 14: 4615 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+2332 bytes to 13 1577s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 12: 2332 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4054 bytes to 11 1577s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 10: 4054 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4611 bytes to 17 1577s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 16: 4611 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+2620 bytes to 9 1577s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 8: 2620 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4540 bytes to 15 1577s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 14: 4540 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4255 bytes to 11 1577s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 10: 4255 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+720 bytes to 13 1577s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 12: 720 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4406 bytes to 17 1577s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 16: 4406 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+2990 bytes to 9 1577s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 8: 2990 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+1971 bytes to 15 1577s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 14: 1971 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+1646 bytes to 13 1577s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 12: 1646 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1577s # GLib-DEBUG: io-channel-basic: child writing 8+4410 bytes to 11 1577s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1577s # GLib-DEBUG: io-channel-basic: ...from 10: 4410 bytes 1577s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+2003 bytes to 17 1578s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 16: 2003 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+3914 bytes to 15 1578s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 14: 3914 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+4454 bytes to 9 1578s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 8: 4454 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+4703 bytes to 13 1578s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 12: 4703 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+4416 bytes to 11 1578s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 10: 4416 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+1214 bytes to 17 1578s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 16: 1214 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+2252 bytes to 15 1578s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 14: 2252 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+319 bytes to 9 1578s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 8: 319 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+1946 bytes to 13 1578s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 12: 1946 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+1714 bytes to 11 1578s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 10: 1714 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+38 bytes to 17 1578s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 16: 38 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+1269 bytes to 15 1578s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 14: 1269 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+4026 bytes to 9 1578s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 8: 4026 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+2017 bytes to 11 1578s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 10: 2017 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+2888 bytes to 13 1578s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 12: 2888 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+3233 bytes to 17 1578s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 16: 3233 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+3753 bytes to 15 1578s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 14: 3753 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+3166 bytes to 11 1578s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 10: 3166 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+2406 bytes to 9 1578s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 8: 2406 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1578s # GLib-DEBUG: io-channel-basic: child writing 8+102 bytes to 13 1578s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1578s # GLib-DEBUG: io-channel-basic: ...from 12: 102 bytes 1578s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+607 bytes to 17 1579s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 16: 607 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+3501 bytes to 15 1579s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 14: 3501 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+305 bytes to 11 1579s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 10: 305 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+52 bytes to 13 1579s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 12: 52 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+2529 bytes to 9 1579s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 8: 2529 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+3255 bytes to 17 1579s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 16: 3255 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+771 bytes to 15 1579s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 14: 771 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+2271 bytes to 11 1579s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 10: 2271 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+1908 bytes to 9 1579s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 8: 1908 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+3496 bytes to 13 1579s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 12: 3496 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+3855 bytes to 17 1579s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 16: 3855 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+536 bytes to 15 1579s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 14: 536 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+797 bytes to 11 1579s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 10: 797 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+4671 bytes to 9 1579s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 8: 4671 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+4097 bytes to 13 1579s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 12: 4097 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+3300 bytes to 15 1579s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 14: 3300 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+1259 bytes to 17 1579s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1579s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1579s # GLib-DEBUG: io-channel-basic: ...from 16: 1259 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+4015 bytes to 11 1579s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 10: 4015 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+3132 bytes to 9 1579s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 8: 3132 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1579s # GLib-DEBUG: io-channel-basic: child writing 8+3687 bytes to 13 1579s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1579s # GLib-DEBUG: io-channel-basic: ...from 12: 3687 bytes 1579s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+4184 bytes to 15 1580s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1580s # GLib-DEBUG: io-channel-basic: ...from 14: 4184 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+47 bytes to 11 1580s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1580s # GLib-DEBUG: io-channel-basic: ...from 10: 47 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+3712 bytes to 13 1580s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1580s # GLib-DEBUG: io-channel-basic: ...from 12: 3712 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+2921 bytes to 9 1580s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1580s # GLib-DEBUG: io-channel-basic: ...from 8: 2921 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+271 bytes to 15 1580s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1580s # GLib-DEBUG: io-channel-basic: ...from 14: 271 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+3438 bytes to 11 1580s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1580s # GLib-DEBUG: io-channel-basic: ...from 10: 3438 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+3606 bytes to 13 1580s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1580s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1580s # GLib-DEBUG: io-channel-basic: ...from 12: 3606 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+1298 bytes to 9 1580s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1580s # GLib-DEBUG: io-channel-basic: ...from 8: 1298 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+1721 bytes to 15 1580s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1580s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1580s # GLib-DEBUG: io-channel-basic: ...from 14: 1721 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+746 bytes to 11 1580s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1580s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1580s # GLib-DEBUG: io-channel-basic: ...from 10: 746 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1580s # GLib-DEBUG: io-channel-basic: child writing 8+4225 bytes to 9 1580s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1580s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1580s # GLib-DEBUG: io-channel-basic: ...from 8: 4225 bytes 1580s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1580s # GLib-DEBUG: io-channel-basic: ...from 8: HUP 1580s ok 1 /gio/io-basics 1580s # slow test /gio/io-basics executed in 12.35 secs 1580s # End of gio tests 1580s ok - glib/io-channel-basic.test 1580s # Running test: glib/io-channel.test 1580s TAP version 14 1580s # random seed: R02Sca54b57732a0801aa2c8a5f74585ae85 1580s 1..2 1580s # Start of io-channel tests 1580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/home 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/cache 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/system-config2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/config 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/system-data2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/data 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/state 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_MOU6J3/io-channel/read-write/.dirs/runtime 1580s # Line one 1580s # 1580s # Line two 1580s # 1580s # Line three 1580s # 1580s # /* Hello */ 1580s # 1580s # \x1234\x567890\x6666 1580s # 1580s # read 62 bytes, wrote 62 bytes 1580s ok - glib/io-channel.test 1580s ok 1 /io-channel/read-write 1580s # Start of read-line tests 1580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/home 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/cache 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/config 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/data 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/state 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_MOU6J3/io-channel/read-line/embedded-nuls/.dirs/runtime 1580s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1580s ok 2 /io-channel/read-line/embedded-nuls 1580s # End of read-line tests 1580s # End of io-channel tests 1580s # Running test: glib/portal-support-snap-classic.test 1580s TAP version 14 1580s ok - glib/portal-support-snap-classic.test 1580s # Running test: glib/cancellable.test 1580s # random seed: R02S174598fdca0b7930e5681b9b5a2c7fec 1580s 1..3 1580s # Start of portal-support tests 1580s # Start of snap-classic tests 1580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/home 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/cache 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/config 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/data 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/state 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1580s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/no-snapctl: No such file or directory 1580s ok 1 /portal-support/snap-classic/no-snapctl 1580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/home 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/cache 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/system-config2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/config 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/system-data2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/data 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/state 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/runtime 1580s # Created snap.yaml in /tmp/test_portal-support-snap-classic_VE16J3/meta/snap.yaml 1580s # Created snapctl in /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1580s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/none: No such file or directory 1580s ok 2 /portal-support/snap-classic/none 1580s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/home 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/cache 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/system-config2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/config 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/system-data2 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/data 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/state 1580s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/runtime 1580s # Created snap.yaml in /tmp/test_portal-support-snap-classic_VE16J3/meta/snap.yaml 1580s # Created snapctl in /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1580s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VE16J3/portal-support/snap-classic/all: No such file or directory 1580s ok 3 /portal-support/snap-classic/all 1580s # End of snap-classic tests 1580s # End of portal-support tests 1580s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VE16J3: No such file or directory 1580s TAP version 14 1580s # random seed: R02Sf0791fa9832dff0b2fea9b2673c56dac 1580s 1..18 1580s # Start of cancellable tests 1580s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1580s ok 2 /cancellable/null 1580s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 1580s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1580s ok 4 /cancellable/connect-to-disposing-callback 1580s ok 5 /cancellable/connect-cancelled-data-is-destroyed 1580s # Toggle reference callback for GCancellable (0xae15d69ec00), last: 1 1580s # Toggle reference callback for GCancellable (0xae15d69ec00), last: 0 1580s # Toggle reference callback for GCancellable (0xae15d69ec00), last: 1 1580s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 1580s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1580s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1580s ok 7 /cancellable/connect-cancelled-to-disposing-callback 1580s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 1580s # Toggle reference callback for GCancellable (0xae15d69ec00), last: 1 1580s # Toggle reference callback for GCancellable (0xae15d69ec00), last: 0 1580s # Toggle reference callback for GCancellable (0xae15d69ec00), last: 1 1580s # Toggle reference callback for GCancellable (0xae15d69ec00), last: 0 1580s # Toggle reference callback for GCancellable (0xae15d69ec00), last: 1 1580s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 1580s # /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 1580s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 1580s # /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 1580s ok 11 /cancellable/resets-on-cancel-callback-hangs 1580s ok 12 /cancellable/poll-fd 1580s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1580s ok 13 /cancellable/poll-fd-cancelled 1580s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1581s ok 14 /cancellable/poll-fd-cancelled-threaded 1581s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1581s ok 15 /cancellable/cancel-reset-races 1581s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1581s ok 16 /cancellable/cancel-reset-connect-races 1581s # End of cancellable tests 1581s # Start of cancellable-source tests 1581s # /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) 1581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1581s # Executing: glib/cancellable.test 1581s ok 17 /cancellable-source/threaded-dispose 1581s # slow test /cancellable-source/threaded-dispose executed in 0.94 secs 1581s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1581s ok 18 /cancellable-source/can-be-fired-multiple-times 1581s # End of cancellable-source tests 1581s ok - glib/cancellable.test 1581s # Running test: glib/socket-listener.test 1581s TAP version 14 1581s # random seed: R02Scc26824fe1a772048193151b48bd5b7f 1581s 1..4 1581s # Start of socket-listener tests 1581s ok 1 /socket-listener/event-signal 1581s # Start of accept tests 1581s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1581s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1582s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2870919a510 and GSocketClientAsyncConnectData 0x28709195970 1582s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1582s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2870919cb60 and GSocketClientAsyncConnectData 0x2870919c9b0 1582s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1582s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2870919d380 and GSocketClientAsyncConnectData 0x2870919d100 1582s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1582s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2870919dc00 and GSocketClientAsyncConnectData 0x2870919d980 1582s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1582s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2870919e420 and GSocketClientAsyncConnectData 0x2870919e1a0 1582s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1582s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1582s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x287091a0970 for GSocketClientAsyncConnectData 0x28709195970 1582s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1582s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1582s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x287091a2ae0 for GSocketClientAsyncConnectData 0x2870919c9b0 1582s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1582s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1582s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x287091a3290 for GSocketClientAsyncConnectData 0x2870919d100 1582s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1582s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1582s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x287091a3930 for GSocketClientAsyncConnectData 0x2870919d980 1582s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1582s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1582s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x287091a0000 for GSocketClientAsyncConnectData 0x2870919e1a0 1582s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1582s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1582s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1582s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1582s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1582s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1582s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1582s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1582s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1582s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1582s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1582s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1582s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1582s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1582s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1582s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1582s ok 2 /socket-listener/accept/multi-simultaneously 1582s # End of accept tests 1582s # Start of add-any-inet-port tests 1582s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1582s # Test 0 1582s # Test 1 1582s # Test 2 1582s # Test 3 1582s # Test 4 1582s # Test 5 1582s # Test 6 1582s # Test 7 1582s # Test 8 1582s # Test 9 1582s # Test 10 1582s ok 3 /socket-listener/add-any-inet-port/listen-failures 1582s # End of add-any-inet-port tests 1582s # Start of add-inet-port tests 1582s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1582s # Test 0 1582s # Test 1 1582s # Test 2 1582s ok - glib/socket-listener.test 1582s # Running test: glib/gdbus-proxy.test 1582s # Test 3 1582s # Test 4 1582s # Test 5 1582s # Test 6 1582s # Test 7 1582s # Test 8 1582s # Test 9 1582s # Test 10 1582s ok 4 /socket-listener/add-inet-port/listen-failures 1582s # End of add-inet-port tests 1582s # End of socket-listener tests 1582s TAP version 14 1582s # random seed: R02S08cd9bca5642475fa79c416dacb70a42 1582s 1..5 1582s # Start of gdbus tests 1582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/home 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/cache 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/system-config2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/config 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/system-data2 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/data 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/state 1582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/.dirs/runtime 1583s ok 1 /gdbus/proxy 1583s # slow test /gdbus/proxy executed in 1.72 secs 1583s # Start of proxy tests 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-properties/.dirs/runtime 1583s ok 2 /gdbus/proxy/no-properties 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1583s ok 3 /gdbus/proxy/wellknown-noauto 1583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/home 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/cache 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/system-config2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/config 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/system-data2 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/data 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/state 1583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/async/.dirs/runtime 1585s ok 4 /gdbus/proxy/async 1585s # slow test /gdbus/proxy/async executed in 1.72 secs 1585s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/home 1585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/cache 1585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/system-config2 1585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/config 1585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/system-data2 1585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/data 1585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/state 1585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_095NK3/gdbus/proxy/no-match-rule/.dirs/runtime 1585s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1585s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1586s # Executing: glib/gdbus-proxy.test 1587s ok 5 /gdbus/proxy/no-match-rule 1587s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 1587s # End of proxy tests 1587s # End of gdbus tests 1587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1587s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1587s ok - glib/gdbus-proxy.test 1587s # Running test: glib/testing.test 1587s TAP version 14 1587s # random seed: R02Sb3634e16ab3f47a2b8c3e92317839ffe 1587s 1..1 1587s # Start of assert tests 1587s ok - glib/testing.test 1587s ok 1 /assert/finalize_object 1587s # Start of finalize_object tests 1587s # Start of subprocess tests 1587s # End of subprocess tests 1587s # End of finalize_object tests 1587s # End of assert tests 1587s # Running test: glib/memory-monitor-portal.test 1587s TAP version 13 1587s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1587s 1..1 1587s ok - glib/memory-monitor-portal.test 1587s # Running test: glib/threadtests.test 1587s TAP version 14 1587s # random seed: R02Sab90a10b0c2e2c6aead26f6544423566 1587s 1..5 1587s # Start of GObject tests 1587s ok 1 /GObject/threaded-object-init 1588s ok 2 /GObject/threaded-weak-ref 1588s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 1588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1588s # /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 1588s ok - glib/threadtests.test 1588s ok 3 /GObject/threaded-toggle-notify 1588s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1588s # Start of threaded-weak-ref tests 1588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1588s # /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. 1588s ok 5 /GObject/threaded-weak-ref/on-finalization 1588s # End of threaded-weak-ref tests 1588s # End of GObject tests 1588s # Running test: glib/references.test 1588s TAP version 14 1588s # random seed: R02Sbd7fa8a0aec487f3ae2eaeddb012e35c 1588s 1..4 1588s # Start of gobject tests 1588s ok 1 /gobject/references 1588s ok 2 /gobject/references-many 1588s ok 3 /gobject/references_two 1588s ok 4 /gobject/references_run_dispose 1588s # End of gobject tests 1588s ok - glib/references.test 1588s # Running test: glib/once.test 1588s TAP version 14 1588s # random seed: R02S56abf41bd8ad5dd9add2483b306ab80f 1588s 1..5 1588s # Start of once tests 1588s # /once/single-threaded summary: Test g_once() usage from a single thread 1588s ok 1 /once/single-threaded 1588s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1588s ok 2 /once/multi-threaded 1588s # End of once tests 1588s # Start of once-init tests 1588s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1588s ok 3 /once-init/single-threaded 1588s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1588s ok 4 /once-init/multi-threaded 1588s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1588s ok 5 /once-init/string 1588s # End of once-init tests 1588s ok - glib/once.test 1588s # Running test: glib/gdbus-proxy-well-known-name.test 1588s TAP version 14 1588s # random seed: R02S99c6b2396b1baa2a7e667d2683019a00 1588s 1..1 1588s # Start of gdbus tests 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_TG35J3/gdbus/proxy-well-known-name/.dirs/runtime 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s ok - glib/gdbus-proxy-well-known-name.test 1588s ok 1 /gdbus/proxy-well-known-name 1588s # End of gdbus tests 1588s # Running test: glib/gdbus-connection-slow.test 1588s TAP version 14 1588s # random seed: R02S1cf59459cf0fc76c76ed81ac2d831ffd 1588s 1..2 1588s # Start of gdbus tests 1588s # Start of connection tests 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/flush/.dirs/runtime 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s ok 1 /gdbus/connection/flush 1588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/home 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/cache 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/system-config2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/config 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/system-data2 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/data 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/state 1588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_C2W6J3/gdbus/connection/large_message/.dirs/runtime 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1588s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1589s ok 2 /gdbus/connection/large_message 1589s # End of connection tests 1589s # End of gdbus tests 1589s ok - glib/gdbus-connection-slow.test 1589s # Running test: glib/mount-operation.test 1589s TAP version 14 1589s # random seed: R02S6c2a1cbf54e8c9029532ba9773511c56 1589s 1..2 1589s # Start of mount-operation tests 1589s ok 1 /mount-operation/construction 1589s ok 2 /mount-operation/properties 1589s # End of mount-operation tests 1589s ok - glib/mount-operation.test 1589s # Running test: glib/ifaceproperties.test 1589s TAP version 14 1589s # random seed: R02Sa0bf6080f910260b79c68389da5d3697 1589s 1..7 1589s # Start of interface tests 1589s # Start of properties tests 1589s ok 1 /interface/properties/set 1589s ok 2 /interface/properties/notify 1589s ok 3 /interface/properties/find-overridden 1589s ok 4 /interface/properties/list-overridden 1589s ok 5 /interface/properties/find-interface 1589s ok 6 /interface/properties/list-interface 1589s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1589s ok 7 /interface/properties/not-overridden 1589s # End of properties tests 1589s # End of interface tests 1589s ok - glib/ifaceproperties.test 1589s # Running test: glib/completion.test 1589s TAP version 14 1589s # random seed: R02Sa5c71b8d70aa6046f98a6eb8a52d5dc7 1589s 1..1 1589s # Start of completion tests 1589s ok 1 /completion/test-completion 1589s # End of completion tests 1589s ok - glib/completion.test 1589s # Running test: glib/signals.test 1589s TAP version 14 1589s # random seed: R02S683ad67ca32f5cc7e27fe93afd7d37c7 1589s 1..31 1589s # Start of gobject tests 1589s # Start of signals tests 1589s ok 1 /gobject/signals/all-types 1589s ok 2 /gobject/signals/variant 1589s ok 3 /gobject/signals/destroy-target-object 1589s ok 4 /gobject/signals/generic-marshaller-1 1589s ok 5 /gobject/signals/generic-marshaller-2 1589s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1589s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1589s ok 8 /gobject/signals/generic-marshaller-int-return 1589s ok 9 /gobject/signals/generic-marshaller-uint-return 1589s ok 10 /gobject/signals/generic-marshaller-interface-return 1589s ok 11 /gobject/signals/custom-marshaller 1589s ok 12 /gobject/signals/connect 1589s ok 13 /gobject/signals/emission-hook 1589s ok 14 /gobject/signals/emitv 1589s ok 15 /gobject/signals/accumulator 1589s # Signal: accumulator-class-first 1589s # Signal: accumulator-class-last 1589s # Signal: accumulator-class-cleanup 1589s # Signal: accumulator-class-first-last 1589s # Signal: accumulator-class-first-last-cleanup 1589s # Signal: accumulator-class-last-cleanup 1589s ok 16 /gobject/signals/accumulator-class 1589s ok 17 /gobject/signals/introspection 1589s ok 18 /gobject/signals/block-handler 1589s ok 19 /gobject/signals/stop-emission 1589s ok 20 /gobject/signals/invocation-hint 1589s ok 21 /gobject/signals/test-disconnection-wrong-object 1589s ok 22 /gobject/signals/clear-signal-handler 1589s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1589s ok 23 /gobject/signals/lookup 1589s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1589s ok 24 /gobject/signals/parse-name 1589s ok 25 /gobject/signals/is-valid-name 1589s ok 26 /gobject/signals/weak-ref-disconnect 1589s # Start of lookup tests 1589s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1589s ok 27 /gobject/signals/lookup/invalid 1589s # End of lookup tests 1589s # Start of parse-name tests 1589s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1589s # Parser input: 1589s # Parser input: 7zip 1589s # Parser input: invalid:signal 1589s # Parser input: simple-detailed:: 1589s # Parser input: simple-detailed: 1589s # Parser input: : 1589s # Parser input: :: 1589s # Parser input: :valid-detail 1589s # Parser input: ::valid-detail 1589s ok 28 /gobject/signals/parse-name/invalid 1589s # End of parse-name tests 1589s # Start of invalid-name tests 1589s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1589s ok 29 /gobject/signals/invalid-name/colon 1589s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1589s ok 30 /gobject/signals/invalid-name/first-char 1589s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1589s ok 31 /gobject/signals/invalid-name/empty 1589s # End of invalid-name tests 1589s # End of signals tests 1589s # End of gobject tests 1589s ok - glib/signals.test 1589s # Running test: glib/file.test 1589s TAP version 14 1589s # random seed: R02S0d00d257632f109efbea3938ff3bed91 1589s 1..55 1589s # Start of file tests 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/basic/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/basic/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/basic/.dirs/system-config1:/tmp/test_file_6MEGK3/file/basic/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/basic/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/basic/.dirs/system-data1:/tmp/test_file_6MEGK3/file/basic/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/basic/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/basic/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/basic/.dirs/runtime 1589s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1589s ok 1 /file/basic 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/build-filename/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/build-filename/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/build-filename/.dirs/system-config1:/tmp/test_file_6MEGK3/file/build-filename/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/build-filename/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/build-filename/.dirs/system-data1:/tmp/test_file_6MEGK3/file/build-filename/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/build-filename/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/build-filename/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/build-filename/.dirs/runtime 1589s ok 2 /file/build-filename 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/build-filenamev/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/build-filenamev/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_6MEGK3/file/build-filenamev/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/build-filenamev/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_6MEGK3/file/build-filenamev/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/build-filenamev/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/build-filenamev/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/build-filenamev/.dirs/runtime 1589s ok 3 /file/build-filenamev 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/parent/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/parent/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/parent/.dirs/system-config1:/tmp/test_file_6MEGK3/file/parent/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/parent/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/parent/.dirs/system-data1:/tmp/test_file_6MEGK3/file/parent/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/parent/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/parent/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/parent/.dirs/runtime 1589s ok 4 /file/parent 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/child/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/child/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/child/.dirs/system-config1:/tmp/test_file_6MEGK3/file/child/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/child/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/child/.dirs/system-data1:/tmp/test_file_6MEGK3/file/child/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/child/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/child/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/child/.dirs/runtime 1589s ok 5 /file/child 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/empty-path/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/empty-path/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/empty-path/.dirs/system-config1:/tmp/test_file_6MEGK3/file/empty-path/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/empty-path/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/empty-path/.dirs/system-data1:/tmp/test_file_6MEGK3/file/empty-path/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/empty-path/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/empty-path/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/empty-path/.dirs/runtime 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 1589s # /file/empty-path summary: Check that creating a file with an empty path results in errors 1589s ok 6 /file/empty-path 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/type/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/type/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/type/.dirs/system-config1:/tmp/test_file_6MEGK3/file/type/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/type/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/type/.dirs/system-data1:/tmp/test_file_6MEGK3/file/type/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/type/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/type/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/type/.dirs/runtime 1589s ok 7 /file/type 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/parse-name/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/parse-name/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/parse-name/.dirs/system-config1:/tmp/test_file_6MEGK3/file/parse-name/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/parse-name/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/parse-name/.dirs/system-data1:/tmp/test_file_6MEGK3/file/parse-name/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/parse-name/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/parse-name/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/parse-name/.dirs/runtime 1589s ok 8 /file/parse-name 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/replace-load/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/replace-load/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/replace-load/.dirs/system-config1:/tmp/test_file_6MEGK3/file/replace-load/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/replace-load/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/replace-load/.dirs/system-data1:/tmp/test_file_6MEGK3/file/replace-load/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/replace-load/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/replace-load/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/replace-load/.dirs/runtime 1589s ok 9 /file/replace-load 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/replace-cancel/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/replace-cancel/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_6MEGK3/file/replace-cancel/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/replace-cancel/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_6MEGK3/file/replace-cancel/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/replace-cancel/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/replace-cancel/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/replace-cancel/.dirs/runtime 1589s # Bug Reference: https://bugzilla.gnome.org/629301 1589s ok 10 /file/replace-cancel 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/replace-symlink/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/replace-symlink/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_6MEGK3/file/replace-symlink/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/replace-symlink/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_6MEGK3/file/replace-symlink/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/replace-symlink/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/replace-symlink/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/replace-symlink/.dirs/runtime 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 1589s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 1589s # Using temporary directory /tmp/test_file_6MEGK3/g_file_replace_symlink_M9PGK3 1589s ok 11 /file/replace-symlink 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-new-tmp/.dirs/runtime 1589s ok 12 /file/async-new-tmp 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-new-tmp-dir/.dirs/runtime 1589s ok 13 /file/async-new-tmp-dir 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-delete/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-delete/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-delete/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-delete/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-delete/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-delete/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-delete/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-delete/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-delete/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-delete/.dirs/runtime 1589s ok 14 /file/async-delete 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-make-symlink/.dirs/runtime 1589s ok 15 /file/async-make-symlink 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/copy-preserve-mode/.dirs/runtime 1589s # Current umask: 2 1589s # Vector 0 1589s # Vector 1 1589s # Vector 2 1589s # Vector 3 1589s # Vector 4 1589s # Vector 5 1589s # Vector 6 1589s # Vector 7 1589s # Vector 8 1589s # Vector 9 1589s # Vector 10 1589s ok 16 /file/copy-preserve-mode 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/copy-async-with-closures/.dirs/runtime 1589s ok 17 /file/copy-async-with-closures 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/measure/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/measure/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/measure/.dirs/system-config1:/tmp/test_file_6MEGK3/file/measure/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/measure/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/measure/.dirs/system-data1:/tmp/test_file_6MEGK3/file/measure/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/measure/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/measure/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/measure/.dirs/runtime 1589s ok 18 /file/measure 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/measure-async/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/measure-async/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/measure-async/.dirs/system-config1:/tmp/test_file_6MEGK3/file/measure-async/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/measure-async/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/measure-async/.dirs/system-data1:/tmp/test_file_6MEGK3/file/measure-async/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/measure-async/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/measure-async/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/measure-async/.dirs/runtime 1589s ok 19 /file/measure-async 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/load-bytes/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/load-bytes/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/load-bytes/.dirs/system-config1:/tmp/test_file_6MEGK3/file/load-bytes/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/load-bytes/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/load-bytes/.dirs/system-data1:/tmp/test_file_6MEGK3/file/load-bytes/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/load-bytes/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/load-bytes/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/load-bytes/.dirs/runtime 1589s ok 20 /file/load-bytes 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/load-bytes-async/.dirs/runtime 1589s ok 21 /file/load-bytes-async 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/load-bytes-4gb/.dirs/runtime 1589s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/load-contents-4gb/.dirs/runtime 1589s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/load-contents-4gb-async/.dirs/runtime 1589s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/.dirs/runtime 1589s ok 25 /file/writev 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/build-attribute-list-for-copy/.dirs/runtime 1589s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 1589s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 1589s # 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::* 1589s # 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::* 1589s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 1589s # Attributes for copy: standard::size,xattr::* 1589s # Attributes for copy: standard::size,unix::mode,xattr::* 1589s ok 26 /file/build-attribute-list-for-copy 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/move_async/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/move_async/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/move_async/.dirs/system-config1:/tmp/test_file_6MEGK3/file/move_async/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/move_async/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/move_async/.dirs/system-data1:/tmp/test_file_6MEGK3/file/move_async/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/move_async/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/move_async/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/move_async/.dirs/runtime 1589s ok 27 /file/move_async 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/move-async-with-closures/.dirs/runtime 1589s ok 28 /file/move-async-with-closures 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/query-zero-length-content-type/.dirs/runtime 1589s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 1589s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 1589s ok 29 /file/query-zero-length-content-type 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/runtime 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/data/applications 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/config 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/config 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/config 1589s ok 30 /file/query-default-handler-file 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/runtime 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/data/applications 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/config 1589s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6MEGK3/file/query-default-handler-file/.dirs/config to /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/config 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/config 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/config 1589s ok 31 /file/query-default-handler-file-async 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/runtime 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/data/applications 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/config 1589s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6MEGK3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/config 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/config 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/config 1589s ok 32 /file/query-default-handler-uri 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/runtime 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/data/applications 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/config 1589s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_6MEGK3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/config 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/config 1589s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_6MEGK3/file/query-default-handler-uri-async/.dirs/config 1589s ok 33 /file/query-default-handler-uri-async 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/enumerator-cancellation/.dirs/runtime 1589s ok 34 /file/enumerator-cancellation 1589s # Start of async-create-delete tests 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-create-delete/0/.dirs/runtime 1589s ok 35 /file/async-create-delete/0 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-create-delete/1/.dirs/runtime 1589s ok 36 /file/async-create-delete/1 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-create-delete/10/.dirs/runtime 1589s ok 37 /file/async-create-delete/10 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-create-delete/25/.dirs/runtime 1589s ok 38 /file/async-create-delete/25 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/async-create-delete/4096/.dirs/runtime 1589s ok 39 /file/async-create-delete/4096 1589s # End of async-create-delete tests 1589s # Start of replace-symlink tests 1589s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/home 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/cache 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/system-config2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/config 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/system-data2 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/data 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/state 1589s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/replace-symlink/using-etag/.dirs/runtime 1589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 1589s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 1589s # Using temporary directory /tmp/test_file_6MEGK3/g_file_replace_symlink_using_etag_SG03J3 1591s ok 40 /file/replace-symlink/using-etag 1591s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 1591s # End of replace-symlink tests 1591s # Start of replace tests 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/replace/write-only/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/replace/write-only/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_6MEGK3/file/replace/write-only/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/replace/write-only/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_6MEGK3/file/replace/write-only/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/replace/write-only/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/replace/write-only/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/replace/write-only/.dirs/runtime 1591s # /file/replace/write-only summary: Test various situations for g_file_replace() 1591s # Current umask: 2 1591s # Test 0, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_2D83J3 1591s # Test 1, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_G673J3 1591s # Test 2, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_CJD4J3 1591s # Test 3, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_JUL4J3 1591s # Test 4, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_PHL4J3 1591s # Test 5, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_27K4J3 1591s # Test 6, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_4LU4J3 1591s # Test 7, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_HXQ4J3 1591s # Test 8, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_6RQ4J3 1591s # Test 9, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_5JQ4J3 1591s # Test 10, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_I1X4J3 1591s # Test 11, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_XD74J3 1591s # Test 12, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_4V64J3 1591s # Test 13, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_OU64J3 1591s # Test 14, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_LO14J3 1591s # Test 15, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_W794J3 1591s # Test 16, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_C2G5J3 1591s # Test 17, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_2JW5J3 1591s # Test 18, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_B9S5J3 1591s # Test 19, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_9C15J3 1591s # Test 20, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_QZ45J3 1591s # Test 21, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_IRC6J3 1591s # Test 22, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_DWI6J3 1591s # Test 23, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_MTI6J3 1591s # Test 24, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_PAR6J3 1591s # Test 25, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_25L6J3 1591s # Test 26, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_AHY6J3 1591s # Test 27, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_08X6J3 1591s # Test 28, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_8FS6J3 1591s # Test 29, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_WPY6J3 1591s # Test 30, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_12A7J3 1591s # Test 31, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_ZMA7J3 1591s # Test 32, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_P656J3 1591s # Test 33, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_BYG7J3 1591s # Test 34, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_RKG7J3 1591s # Test 35, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_VAG7J3 1591s # Test 36, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_WWK7J3 1591s # Test 37, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_KQQ7J3 1591s # Test 38, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_PHZ7J3 1591s # Test 39, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_4QV7J3 1591s # Test 40, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_2C17J3 1591s # Test 41, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_F387J3 1591s # Test 42, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_2WD8J3 1591s # Test 43, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_7ZL8J3 1591s # Test 44, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_QLT8J3 1591s # Test 45, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_DCT8J3 1591s # Test 46, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_0618J3 1591s # Test 47, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_ZY18J3 1591s # Test 48, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_WRY8J3 1591s # We do not have CAP_DAC_OVERRIDE or equivalent 1591s ok 41 /file/replace/write-only 1591s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/replace/read-write/.dirs/home 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/replace/read-write/.dirs/cache 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_6MEGK3/file/replace/read-write/.dirs/system-config2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/replace/read-write/.dirs/config 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_6MEGK3/file/replace/read-write/.dirs/system-data2 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/replace/read-write/.dirs/data 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/replace/read-write/.dirs/state 1591s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/replace/read-write/.dirs/runtime 1591s # /file/replace/read-write summary: Test various situations for g_file_replace() 1591s # Current umask: 2 1591s # Test 0, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_MXX8J3 1591s # Test 1, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_FQX8J3 1591s # Test 2, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_YZEKK3 1591s # Test 3, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_7HMKK3 1591s # Test 4, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_5CMKK3 1591s # Test 5, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_T4LKK3 1591s # Test 6, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_F2TKK3 1591s # Test 7, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_HPPKK3 1591s # Test 8, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_VCPKK3 1591s # Test 9, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_J5OKK3 1591s # Test 10, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_R9VKK3 1591s # Test 11, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_324KK3 1591s # Test 12, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_2X4KK3 1591s # Test 13, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_IQ4KK3 1591s # Test 14, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_AEBLK3 1591s # Test 15, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_AZELK3 1591s # Test 16, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_XDVLK3 1591s # Test 17, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_N2RLK3 1591s # Test 18, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_ICSNK3 1591s # Executing: glib/file.test 1591s # Test 19, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_RSBOK3 1592s # Test 20, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_58POK3 1592s # Test 21, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_RBIGK3 1592s # Test 22, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_TY7BK3 1592s # Test 23, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_PR7BK3 1592s # Test 24, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_84PDK3 1592s # Test 25, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_8QJEK3 1592s # Test 26, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_8BJEK3 1592s # Test 27, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_KVIEK3 1592s # Test 28, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_JWR3J3 1592s # Test 29, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_8TX3J3 1592s # Test 30, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_SOX3J3 1592s # Test 31, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_W9W3J3 1592s # Test 32, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_3O23J3 1592s # Test 33, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_XZ93J3 1592s # Test 34, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_YL83J3 1592s # Test 35, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_LD83J3 1592s # Test 36, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_JNH4J3 1592s # Test 37, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_20N4J3 1592s # Test 38, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_KOJ4J3 1592s # Test 39, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_H0S4J3 1592s # Test 40, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_S704J3 1592s # Test 41, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_M924J3 1592s # Test 42, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_W4J5J3 1592s # Test 43, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_HS15J3 1592s # Test 44, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_LWQ7J3 1592s # Test 45, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_9TQ7J3 1592s # Test 46, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_OWY7J3 1592s # Test 47, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_IHY7J3 1592s # Test 48, using temporary directory /tmp/test_file_6MEGK3/g_file_replace_6L47J3 1592s # We do not have CAP_DAC_OVERRIDE or equivalent 1592s ok 42 /file/replace/read-write 1592s # slow test /file/replace/read-write executed in 0.96 secs 1592s # End of replace tests 1592s # Start of copy tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/copy/progress/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/copy/progress/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/copy/progress/.dirs/system-config1:/tmp/test_file_6MEGK3/file/copy/progress/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/copy/progress/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/copy/progress/.dirs/system-data1:/tmp/test_file_6MEGK3/file/copy/progress/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/copy/progress/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/copy/progress/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/copy/progress/.dirs/runtime 1592s ok 43 /file/copy/progress 1592s # End of copy tests 1592s # Start of writev tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/no-bytes-written/.dirs/runtime 1592s ok 44 /file/writev/no-bytes-written 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/no-vectors/.dirs/runtime 1592s ok 45 /file/writev/no-vectors 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/empty-vectors/.dirs/runtime 1592s ok 46 /file/writev/empty-vectors 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/too-big-vectors/.dirs/runtime 1592s ok 47 /file/writev/too-big-vectors 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/async/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/async/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/async/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/async/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/async/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/async/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/async/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/async/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/async/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/async/.dirs/runtime 1592s ok 48 /file/writev/async 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/async_all/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/async_all/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/async_all/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/async_all/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/async_all/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/async_all/.dirs/runtime 1592s ok 49 /file/writev/async_all 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/async_all-empty-vectors/.dirs/runtime 1592s ok 50 /file/writev/async_all-empty-vectors 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/async_all-no-vectors/.dirs/runtime 1592s ok 51 /file/writev/async_all-no-vectors 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/async_all-to-big-vectors/.dirs/runtime 1592s ok 52 /file/writev/async_all-to-big-vectors 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/writev/async_all-cancellation/.dirs/runtime 1592s ok 53 /file/writev/async_all-cancellation 1592s # End of writev tests 1592s # Start of from-uri tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/from-uri/ignores-query-string/.dirs/runtime 1592s ok 54 /file/from-uri/ignores-query-string 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_6MEGK3/file/from-uri/ignores-fragment/.dirs/runtime 1592s ok 55 /file/from-uri/ignores-fragment 1592s # End of from-uri tests 1592s # End of file tests 1592s TAP version 14 1592s # random seed: R02S90a52e27c140988ab28a54c65c1d597b 1592s 1..2 1592s # Start of charset tests 1592s # Test 0 1592s # Test 1 1592s # Test 2 1592s # Test 3 1592s ok 1 /charset/language_names_with_category 1592s ok 2 /charset/language_names_with_category_async 1592s # End of charset tests 1592s ok - glib/file.test 1592s # Running test: glib/charset.test 1592s ok - glib/charset.test 1592s # Running test: glib/gdbus-test-codegen-old.test 1592s TAP version 14 1592s # random seed: R02Sfa27aab1ef10162eefd7c346ebac91fc 1592s 1..8 1592s # Start of gdbus tests 1592s # Start of codegen tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/annotations/.dirs/runtime 1592s ok 1 /gdbus/codegen/annotations 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/interface_stability/.dirs/runtime 1592s ok 2 /gdbus/codegen/interface_stability 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/object-manager/.dirs/runtime 1592s ok 3 /gdbus/codegen/object-manager 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/property-naming/.dirs/runtime 1592s ok 4 /gdbus/codegen/property-naming 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/autocleanups/.dirs/runtime 1592s ok 5 /gdbus/codegen/autocleanups 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/deprecations/.dirs/runtime 1592s ok 6 /gdbus/codegen/deprecations 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1592s ok 7 /gdbus/codegen/standalone-interface-info 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_45O8J3/gdbus/codegen/unix-fd-list/.dirs/runtime 1592s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1592s ok 8 /gdbus/codegen/unix-fd-list 1592s # End of codegen tests 1592s # End of gdbus tests 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok - glib/gdbus-test-codegen-old.test 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # Running test: glib/file-thumbnail.test 1592s TAP version 14 1592s # random seed: R02Sffedb84501b48a16592cde061d8d89ba 1592s 1..7 1592s # Start of file-thumbnail tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/runtime 1592s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1592s ok 1 /file-thumbnail/fail 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/runtime 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1592s ok 2 /file-thumbnail/size-priority 1592s # Start of valid tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/runtime 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1592s ok 3 /file-thumbnail/valid/normal 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/system-data2 1592s ok - glib/file-thumbnail.test 1592s # Running test: glib/dump.test 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/runtime 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1592s ok 4 /file-thumbnail/valid/large 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/runtime 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1592s ok 5 /file-thumbnail/valid/x-large 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/runtime 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1592s ok 6 /file-thumbnail/valid/xx-large 1592s # End of valid tests 1592s # Start of unknown tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/runtime 1592s # Created test thumbnail at /tmp/test_file-thumbnail_UDXKK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1592s ok 7 /file-thumbnail/unknown/super-large 1592s # End of unknown tests 1592s # End of file-thumbnail tests 1592s TAP version 14 1592s # random seed: R02S4dc6aa84f343c93f3ddd2a2a28215035 1592s 1..4 1592s # Start of dump tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_N8ALK3/dump/empty-file/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_N8ALK3/dump/empty-file/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_N8ALK3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_N8ALK3/dump/empty-file/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_N8ALK3/dump/empty-file/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_N8ALK3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_N8ALK3/dump/empty-file/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_N8ALK3/dump/empty-file/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_N8ALK3/dump/empty-file/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_N8ALK3/dump/empty-file/.dirs/runtime 1592s ok 1 /dump/empty-file 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/system-data2 1592s ok - glib/dump.test 1592s # Running test: glib/gdbus-method-invocation.test 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_N8ALK3/dump/missing-get-type/.dirs/runtime 1592s Invalid GType function: 'does_not_exist_get_type' 1592s ok 2 /dump/missing-get-type 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_N8ALK3/dump/missing-quark/.dirs/runtime 1592s Invalid error quark function: 'does_not_exist_error' 1592s ok 3 /dump/missing-quark 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_N8ALK3/dump/basic/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_N8ALK3/dump/basic/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_N8ALK3/dump/basic/.dirs/system-config1:/tmp/test_dump_N8ALK3/dump/basic/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_N8ALK3/dump/basic/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_N8ALK3/dump/basic/.dirs/system-data1:/tmp/test_dump_N8ALK3/dump/basic/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_N8ALK3/dump/basic/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_N8ALK3/dump/basic/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_N8ALK3/dump/basic/.dirs/runtime 1592s ok 4 /dump/basic 1592s # End of dump tests 1592s TAP version 14 1592s # random seed: R02S81e9fb1739802c1edc983ac38bcb762d 1592s 1..1 1592s # Start of gdbus tests 1592s # Start of method-invocation tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_I6ILK3/gdbus/method-invocation/return/.dirs/runtime 1592s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1592s # Calling org.freedesktop.DBus.Properties.Get 1592s # Calling org.freedesktop.DBus.Properties.Get 1592s # Calling org.freedesktop.DBus.Properties.Get 1592s # Calling org.freedesktop.DBus.Properties.Set 1592s # Calling org.freedesktop.DBus.Properties.GetAll 1592s # Calling org.example.Foo.WrongReturnType 1592s # Calling org.example.Foo.GetFDs 1592s # Calling org.example.Foo.GetFDs 1592s # Calling org.example.Foo.ReturnError 1592s # Calling org.example.Foo.CloseBeforeReturning 1592s ok 1 /gdbus/method-invocation/return 1592s # End of method-invocation tests 1592s # End of gdbus tests 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok - glib/gdbus-method-invocation.test 1592s # Running test: glib/unicode.test 1592s TAP version 14 1592s # random seed: R02S23ff522c43e97966fd8f96821cb90d93 1592s 1..39 1592s # Start of unicode tests 1592s ok 1 /unicode/alnum 1592s ok 2 /unicode/alpha 1592s ok 3 /unicode/break-type 1592s ok 4 /unicode/canonical-decomposition 1592s ok 5 /unicode/casefold 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s # Cannot set locale to lt_LT, skipping 1592s ok 6 /unicode/casemap_and_casefold 1592s ok 7 /unicode/cases 1592s ok 8 /unicode/character-type 1592s ok 9 /unicode/cntrl 1592s ok 10 /unicode/combining-class 1592s # Composing U+000041 and U+000042; expecting U+000000 1592s # Composing U+000041 and U+000000; expecting U+000000 1592s # Composing U+000066 and U+000069; expecting U+000000 1592s # Composing U+000308 and U+000301; expecting U+000000 1592s # Composing U+000f71 and U+000f72; expecting U+000000 1592s # Composing U+00212b and U+000000; expecting U+000000 1592s # Composing U+0000c5 and U+000000; expecting U+000000 1592s # Composing U+002126 and U+000000; expecting U+000000 1592s # Composing U+0003a9 and U+000000; expecting U+000000 1592s # Composing U+000041 and U+00030a; expecting U+0000c5 1592s # Composing U+00006f and U+000302; expecting U+0000f4 1592s # Composing U+001e63 and U+000307; expecting U+001e69 1592s # Composing U+000073 and U+000323; expecting U+001e63 1592s # Composing U+000064 and U+000307; expecting U+001e0b 1592s # Composing U+000064 and U+000323; expecting U+001e0d 1592s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1592s # Composing U+001111 and U+001171; expecting U+00d4cc 1592s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1592s # Composing U+00110e and U+001173; expecting U+00ce20 1592s # Composing U+001100 and U+001160; expecting U+000000 1592s # Composing U+001100 and U+001177; expecting U+000000 1592s # Composing U+00abff and U+0011b6; expecting U+000000 1592s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1592s # Composing U+00ac01 and U+0011b6; expecting U+000000 1592s # Composing U+00d4cc and U+0011a6; expecting U+000000 1592s # Composing U+00d4cc and U+0011c4; expecting U+000000 1592s # Composing U+01611e and U+01611e; expecting U+016121 1592s # Composing U+01611e and U+01611f; expecting U+016123 1592s # Composing U+0000f6 and U+000304; expecting U+00022b 1592s # Composing U+000b47 and U+000b57; expecting U+000b4c 1592s # Composing U+0000a0 and U+000b57; expecting U+000000 1592s # Composing U+016e00 and U+00030a; expecting U+000000 1592s # Composing U+00212b and U+016e00; expecting U+000000 1592s # Composing U+001e63 and U+000306; expecting U+000000 1592s # Composing U+001e63 and U+000304; expecting U+000000 1592s # Composing U+001e63 and U+000b57; expecting U+000000 1592s # Composing U+001e63 and U+000000; expecting U+000000 1592s # Composing U+001e63 and U+0113c2; expecting U+000000 1592s # Composing U+001f01 and U+0113c2; expecting U+000000 1592s # Composing U+00006e and U+000302; expecting U+000000 1592s # Composing U+001e63 and U+01611f; expecting U+000000 1592s # Composing U+01138e and U+0113b8; expecting U+000000 1592s # Composing U+01611e and U+000000; expecting U+000000 1592s # Composing U+000000 and U+01611f; expecting U+000000 1592s # Composing U+011390 and U+0113c2; expecting U+000000 1592s ok 11 /unicode/compose 1592s ok 12 /unicode/decompose 1592s ok 13 /unicode/decompose-tail 1592s ok 14 /unicode/defined 1592s ok 15 /unicode/digit 1592s ok 16 /unicode/digit-value 1592s # Fully decomposing U+000041; expecting 1 codepoints 1592s # Fully decomposing U+00fb01; expecting 1 codepoints 1592s # Fully decomposing U+00212b; expecting 2 codepoints 1592s # Fully decomposing U+002126; expecting 1 codepoints 1592s # Fully decomposing U+000344; expecting 2 codepoints 1592s # Fully decomposing U+000f73; expecting 2 codepoints 1592s # Fully decomposing U+0000c5; expecting 2 codepoints 1592s # Fully decomposing U+0000f4; expecting 2 codepoints 1592s # Fully decomposing U+001e69; expecting 3 codepoints 1592s # Fully decomposing U+001e63; expecting 2 codepoints 1592s # Fully decomposing U+001e0b; expecting 2 codepoints 1592s # Fully decomposing U+001e0d; expecting 2 codepoints 1592s # Fully decomposing U+00d4db; expecting 3 codepoints 1592s # Fully decomposing U+00d4cc; expecting 2 codepoints 1592s # Fully decomposing U+00ce31; expecting 3 codepoints 1592s # Fully decomposing U+00ce20; expecting 2 codepoints 1592s ok 17 /unicode/fully-decompose-canonical 1592s ok 18 /unicode/fully-decompose-len 1592s ok 19 /unicode/normalization 1592s ok 20 /unicode/graph 1592s # Testing script Zyyy (code 1517910393) 1592s # Testing script Zinh (code 1516858984) 1592s # Testing script Zmth (code 1517122664) 1592s # Testing script Arab (code 1098015074) 1592s # Testing script Armn (code 1098018158) 1592s # Testing script Beng (code 1113943655) 1592s # Testing script Bopo (code 1114599535) 1592s # Testing script Cher (code 1130915186) 1592s # Testing script Copt (code 1131376756) 1592s # Testing script Cyrl (code 1132032620) 1592s # Testing script Dsrt (code 1148416628) 1592s # Testing script Deva (code 1147500129) 1592s # Testing script Ethi (code 1165256809) 1592s # Testing script Geor (code 1197830002) 1592s # Testing script Goth (code 1198486632) 1592s # Testing script Grek (code 1198679403) 1592s # Testing script Gujr (code 1198877298) 1592s # Testing script Guru (code 1198879349) 1592s # Testing script Hani (code 1214344809) 1592s # Testing script Hang (code 1214344807) 1592s # Testing script Hebr (code 1214603890) 1592s # Testing script Hira (code 1214870113) 1592s # Testing script Knda (code 1265525857) 1592s # Testing script Kana (code 1264676449) 1592s # Testing script Khmr (code 1265134962) 1592s # Testing script Laoo (code 1281453935) 1592s # Testing script Latn (code 1281455214) 1592s # Testing script Mlym (code 1298954605) 1592s # Testing script Mong (code 1299148391) 1592s # Testing script Mymr (code 1299803506) 1592s # Testing script Ogam (code 1332175213) 1592s # Testing script Ital (code 1232363884) 1592s # Testing script Orya (code 1332902241) 1592s # Testing script Runr (code 1383427698) 1592s # Testing script Sinh (code 1399418472) 1592s # Testing script Syrc (code 1400468067) 1592s # Testing script Taml (code 1415671148) 1592s # Testing script Telu (code 1415933045) 1592s # Testing script Thaa (code 1416126817) 1592s # Testing script Thai (code 1416126825) 1592s # Testing script Tibt (code 1416192628) 1592s # Testing script Cans (code 1130458739) 1592s # Testing script Yiii (code 1500080489) 1592s # Testing script Tglg (code 1416064103) 1592s # Testing script Hano (code 1214344815) 1592s # Testing script Buhd (code 1114990692) 1592s # Testing script Tagb (code 1415669602) 1592s # Testing script Brai (code 1114792297) 1592s # Testing script Cprt (code 1131442804) 1592s # Testing script Limb (code 1281977698) 1592s # Testing script Osma (code 1332964705) 1592s # Testing script Shaw (code 1399349623) 1592s # Testing script Linb (code 1281977954) 1592s # Testing script Tale (code 1415670885) 1592s # Testing script Ugar (code 1432838514) 1592s # Testing script Talu (code 1415670901) 1592s # Testing script Bugi (code 1114990441) 1592s # Testing script Glag (code 1198285159) 1592s # Testing script Tfng (code 1415999079) 1592s # Testing script Sylo (code 1400466543) 1592s # Testing script Xpeo (code 1483761007) 1592s # Testing script Khar (code 1265131890) 1592s # Testing script Zzzz (code 1517976186) 1592s # Testing script Bali (code 1113681001) 1592s # Testing script Xsux (code 1483961720) 1592s # Testing script Phnx (code 1349021304) 1592s # Testing script Phag (code 1349017959) 1592s # Testing script Nkoo (code 1315663727) 1592s # Testing script Kali (code 1264675945) 1592s # Testing script Lepc (code 1281716323) 1592s # Testing script Rjng (code 1382706791) 1592s # Testing script Sund (code 1400204900) 1592s # Testing script Saur (code 1398895986) 1592s # Testing script Cham (code 1130914157) 1592s # Testing script Olck (code 1332503403) 1592s # Testing script Vaii (code 1449224553) 1592s # Testing script Cari (code 1130459753) 1592s # Testing script Lyci (code 1283023721) 1592s # Testing script Lydi (code 1283023977) 1592s # Testing script Avst (code 1098281844) 1592s # Testing script Bamu (code 1113681269) 1592s # Testing script Egyp (code 1164409200) 1592s # Testing script Armi (code 1098018153) 1592s # Testing script Phli (code 1349020777) 1592s # Testing script Prti (code 1349678185) 1592s # Testing script Java (code 1247901281) 1592s # Testing script Kthi (code 1265920105) 1592s # Testing script Lisu (code 1281979253) 1592s # Testing script Mtei (code 1299473769) 1592s # Testing script Sarb (code 1398895202) 1592s # Testing script Orkh (code 1332898664) 1592s # Testing script Samr (code 1398893938) 1592s # Testing script Lana (code 1281453665) 1592s # Testing script Tavt (code 1415673460) 1592s # Testing script Batk (code 1113683051) 1592s # Testing script Brah (code 1114792296) 1592s # Testing script Mand (code 1298230884) 1592s # Testing script Cakm (code 1130457965) 1592s ok - glib/unicode.test 1592s # Testing script Merc (code 1298494051) 1592s # Testing script Mero (code 1298494063) 1592s # Testing script Plrd (code 1349284452) 1592s # Testing script Shrd (code 1399353956) 1592s # Testing script Sora (code 1399812705) 1592s # Testing script Takr (code 1415670642) 1592s # Testing script Bass (code 1113682803) 1592s # Testing script Aghb (code 1097295970) 1592s # Testing script Dupl (code 1148547180) 1592s # Testing script Elba (code 1164730977) 1592s # Testing script Gran (code 1198678382) 1592s # Testing script Khoj (code 1265135466) 1592s # Testing script Sind (code 1399418468) 1592s # Testing script Lina (code 1281977953) 1592s # Testing script Mahj (code 1298229354) 1592s # Testing script Mani (code 1298230889) 1592s # Testing script Mend (code 1298493028) 1592s # Testing script Modi (code 1299145833) 1592s # Testing script Mroo (code 1299345263) 1592s # Testing script Nbat (code 1315070324) 1592s # Testing script Narb (code 1315009122) 1592s # Testing script Perm (code 1348825709) 1592s # Testing script Hmng (code 1215131239) 1592s # Testing script Palm (code 1348562029) 1592s # Testing script Pauc (code 1348564323) 1592s # Testing script Phlp (code 1349020784) 1592s # Testing script Sidd (code 1399415908) 1592s # Testing script Tirh (code 1416196712) 1592s # Testing script Wara (code 1466004065) 1592s # Testing script Ahom (code 1097363309) 1592s # Testing script Hluw (code 1215067511) 1592s # Testing script Hatr (code 1214346354) 1592s # Testing script Mult (code 1299541108) 1592s # Testing script Hung (code 1215655527) 1592s # Testing script Sgnw (code 1399287415) 1592s # Testing script Adlm (code 1097100397) 1592s # Testing script Bhks (code 1114139507) 1592s # Testing script Marc (code 1298231907) 1592s # Testing script Newa (code 1315272545) 1592s # Testing script Osge (code 1332963173) 1592s # Testing script Tang (code 1415671399) 1592s # Testing script Gonm (code 1198485101) 1592s # Testing script Nshu (code 1316186229) 1592s # Testing script Soyo (code 1399814511) 1592s # Testing script Zanb (code 1516334690) 1592s # Testing script Dogr (code 1148151666) 1592s # Testing script Gong (code 1198485095) 1592s # Testing script Rohg (code 1383032935) 1592s # Testing script Maka (code 1298230113) 1592s # Testing script Medf (code 1298490470) 1592s # Testing script Sogo (code 1399809903) 1592s # Testing script Sogd (code 1399809892) 1592s # Testing script Elym (code 1164736877) 1592s # Testing script Nand (code 1315008100) 1592s # Testing script Hmnp (code 1215131248) 1592s # Testing script Wcho (code 1466132591) 1592s # Testing script Chrs (code 1130918515) 1592s # Testing script Diak (code 1147756907) 1592s # Testing script Kits (code 1265202291) 1592s # Testing script Yezi (code 1499822697) 1592s # Testing script Cpmn (code 1131441518) 1592s # Testing script Ougr (code 1333094258) 1592s # Testing script Tnsa (code 1416524641) 1592s # Testing script Toto (code 1416590447) 1592s # Testing script Vith (code 1449751656) 1592s # Testing script Kawi (code 1264678761) 1592s # Testing script Nagm (code 1315006317) 1592s # Testing script Todr (code 1416586354) 1592s # Testing script Gara (code 1197568609) 1592s # Testing script Tutg (code 1416983655) 1592s # Testing script Sunu (code 1400204917) 1592s # Testing script Gukh (code 1198877544) 1592s # Testing script Krai (code 1265787241) 1592s # Testing script Onao (code 1332633967) 1592s ok 21 /unicode/iso15924 1592s ok 22 /unicode/lower 1592s ok 23 /unicode/mark 1592s ok 24 /unicode/mirror 1592s ok 25 /unicode/print 1592s ok 26 /unicode/punctuation 1592s ok 27 /unicode/script 1592s ok 28 /unicode/space 1592s ok 29 /unicode/strdown 1592s ok 30 /unicode/strup 1592s ok 31 /unicode/turkish-strupdown 1592s ok 32 /unicode/title 1592s ok 33 /unicode/upper 1592s ok 34 /unicode/validate 1592s ok 35 /unicode/wide 1592s ok 36 /unicode/xdigit 1592s ok 37 /unicode/xdigit-value 1592s ok 38 /unicode/zero-width 1592s ok 39 /unicode/normalize 1592s # End of unicode tests 1592s TAP version 14 1592s # random seed: R02S228bed86071087ef8d807e60ebf25df7 1592s 1..1 1592s # Start of gobject tests 1592s ok 1 /gobject/basic-signals 1592s # End of gobject tests 1592s TAP version 14 1592s # random seed: R02Se131eba5da2e984b14452a9908f6677c 1592s 1..2 1592s # Start of object-info tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_RFMMK3/object-info/find-method-using-interfaces/.dirs/runtime 1592s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1592s ok 1 /object-info/find-method-using-interfaces 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_RFMMK3/object-info/find-vfunc-using-interfaces/.dirs/runtime 1592s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1592s ok 2 /object-info/find-vfunc-using-interfaces 1592s # End of object-info tests 1592s TAP version 14 1592s # random seed: R02S2ef05998cb2feb712160e54a8bec4d1c 1592s 1..24 1592s # Start of gdbus tests 1592s # Start of subscribe tests 1592s # Start of conn tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/simple/.dirs/runtime 1592s # Running test: glib/basic-signals.test 1592s ok - glib/basic-signals.test 1592s # Running test: glib/object-info.test 1592s ok - glib/object-info.test 1592s # Running test: glib/gdbus-subscribe.test 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1592s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1592s # Step 0: emitting signal 1592s # Sender: service 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 1: adding subscription 1592s # Sender: (any) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 2: emitting signal 1592s # Sender: service 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 2 1592s # Received Finished signal from subscriber :1.0 1592s # Received Finished signal from service :1.1 1592s # Received Finished signal from service 2 :1.2 1592s # Received Finished signal from attacker :1.3 1592s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok 1 /gdbus/subscribe/conn/simple 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1592s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1592s # Step 0: adding subscription 1592s # Sender: (any) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 1: emitting signal 1592s # Sender: service 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 2: emitting signal 1592s # Sender: service 2 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 3: emitting signal 1592s # Sender: service 1592s # Destination: subscriber :1.0 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 4: emitting signal 1592s # Sender: service 2 1592s # Destination: subscriber :1.0 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 1 1592s # Signal received from service 2 :1.2 1592s # Signal received from service 2 :1.2 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 2 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 3 1592s # Signal received from service 2 :1.2 1592s # Signal received from service 2 :1.2 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 4 1592s # Received Finished signal from subscriber :1.0 1592s # Received Finished signal from service :1.1 1592s # Received Finished signal from service 2 :1.2 1592s # Received Finished signal from attacker :1.3 1592s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1592s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1592s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1592s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1592s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1592s # Step 0: adding subscription 1592s # Sender: service :1.1 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 1: adding subscription 1592s # Sender: (any) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: (any) 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 2: adding subscription 1592s # Sender: (any) 1592s # Path: (any) 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 3: adding subscription 1592s # Sender: service :1.1 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 4: emitting signal 1592s # Sender: service 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 4 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 4 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 4 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 4 1592s # Received Finished signal from subscriber :1.0 1592s # Received Finished signal from service :1.1 1592s # Received Finished signal from service 2 :1.2 1592s # Received Finished signal from attacker :1.3 1592s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok 3 /gdbus/subscribe/conn/match_twice 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1592s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1592s # Step 0: adding subscription 1592s # Sender: service :1.1 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 1: emitting signal 1592s # Sender: attacker 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 2: emitting signal 1592s # Sender: attacker 1592s # Destination: subscriber :1.0 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 3: emitting signal 1592s # Sender: service 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 3 1592s # Received Finished signal from subscriber :1.0 1592s # Received Finished signal from service :1.1 1592s # Received Finished signal from service 2 :1.2 1592s # Received Finished signal from attacker :1.3 1592s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1592s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1592s # Step 0: adding subscription 1592s # Sender: :0.this.had.better.not.exist 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 1: emitting signal 1592s # Sender: attacker 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 2: emitting signal 1592s # Sender: attacker 1592s # Destination: subscriber :1.0 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Received Finished signal from subscriber :1.0 1592s # Received Finished signal from service :1.1 1592s # Received Finished signal from service 2 :1.2 1592s # Received Finished signal from attacker :1.3 1592s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1592s # /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 1592s # Step 0: claiming bus name 1592s # Name: org.gtk.Test.AlreadyOwned 1592s # Owner: service 1592s # Step 1: adding subscription 1592s # Sender: org.gtk.Test.AlreadyOwned 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 2: adding subscription 1592s # Sender: org.gtk.Test.OwnedLater 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 3: emitting signal 1592s # Sender: attacker 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 4: emitting signal 1592s # Sender: attacker 1592s # Destination: subscriber :1.0 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 5: emitting signal 1592s # Sender: service 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Step 6: claiming bus name 1592s # Name: org.gtk.Test.OwnedLater 1592s # Owner: service 1592s # Step 7: emitting signal 1592s # Sender: service 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 5 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 7 1592s # Signal received from service :1.1 1592s # Signal received from service :1.1 via connection 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Sent in step: 7 1592s # Received Finished signal from subscriber :1.0 1592s # Received Finished signal from service :1.1 1592s # Received Finished signal from service 2 :1.2 1592s # Received Finished signal from attacker :1.3 1592s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1592s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1592s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1592s # Step 0: adding subscription 1592s # Sender: org.freedesktop.DBus 1592s # Path: /org/freedesktop/DBus 1592s # Interface: org.freedesktop.DBus 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Waiting for AddMatch to be processed 1592s # Step 1: emitting signal 1592s # Sender: attacker 1592s # Destination: (broadcast) 1592s # Path: /org/freedesktop/DBus 1592s # Interface: org.freedesktop.DBus 1592s # Member: NameOwnerChanged 1592s # String argument 0: would I lie to you? 1592s # Waiting for signal to reach message bus 1592s # Step 2: emitting signal 1592s # Sender: attacker 1592s # Destination: subscriber :1.0 1592s # Path: /org/freedesktop/DBus 1592s # Interface: org.freedesktop.DBus 1592s # Member: NameOwnerChanged 1592s # Waiting for signal to reach message bus 1592s # Step 3: claiming bus name 1592s # Name: org.gtk.Test.OwnedLater 1592s # Owner: service 1592s # Signal received from message bus org.freedesktop.DBus 1592s # Signal received from (unused) org.freedesktop.DBus via connection 1592s # Path: /org/freedesktop/DBus 1592s # Interface: org.freedesktop.DBus 1592s # Member: NameOwnerChanged 1592s # Received Finished signal from subscriber :1.0 1592s # Received Finished signal from service :1.1 1592s # Received Finished signal from service 2 :1.2 1592s # Received Finished signal from attacker :1.3 1592s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1592s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1592s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1592s # Step 0: claiming bus name 1592s # Name: org.gtk.Test.AlreadyOwned 1592s # Owner: service 1592s # Step 1: adding subscription 1592s # Sender: org.gtk.Test.AlreadyOwned 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: (any) 1592s # String argument 0: (any) 1592s # Flags: 0 1592s # Subscribing via connection 1592s # Immediately unsubscribing 1592s # Waiting for AddMatch to be processed 1592s # Step 2: emitting signal 1592s # Sender: service 1592s # Destination: (broadcast) 1592s # Path: /org/gtk/GDBus/ExampleInterface 1592s # Interface: org.gtk.GDBus.ExampleInterface 1592s # Member: Foo 1592s # Argument 0: (not a string) 1592s # Waiting for signal to reach message bus 1592s # Received Finished signal from subscriber :1.0 1592s # Received Finished signal from service :1.1 1592s # Received Finished signal from service 2 :1.2 1592s # Received Finished signal from attacker :1.3 1592s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1592s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1592s # End of conn tests 1592s # Start of proxy tests 1592s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/home 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/cache 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/config 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/data 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/state 1592s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/simple/.dirs/runtime 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1592s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1592s # subscriber is :1.0 1592s # service is :1.1 1592s # service 2 is :1.2 1592s # attacker is :1.3 1592s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1593s # Step 0: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 1: adding subscription 1593s # Sender: (any) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Cannot subscribe via proxy: no bus name 1593s # Waiting for AddMatch to be processed 1593s # Step 2: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 9 /gdbus/subscribe/proxy/simple 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1593s # Step 0: adding subscription 1593s # Sender: (any) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Cannot subscribe via proxy: no bus name 1593s # Waiting for AddMatch to be processed 1593s # Step 1: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 2: emitting signal 1593s # Sender: service 2 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 3: emitting signal 1593s # Sender: service 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 4: emitting signal 1593s # Sender: service 2 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1593s # Step 0: adding subscription 1593s # Sender: service :1.1 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 1: adding subscription 1593s # Sender: (any) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: (any) 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Cannot subscribe via proxy: no bus name 1593s # Waiting for AddMatch to be processed 1593s # Step 2: adding subscription 1593s # Sender: (any) 1593s # Path: (any) 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Cannot subscribe via proxy: no bus name 1593s # Waiting for AddMatch to be processed 1593s # Step 3: adding subscription 1593s # Sender: service :1.1 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 4: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 11 /gdbus/subscribe/proxy/match_twice 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1593s # Step 0: adding subscription 1593s # Sender: service :1.1 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 1: emitting signal 1593s # Sender: attacker 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 2: emitting signal 1593s # Sender: attacker 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 3: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 3 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1593s # Step 0: adding subscription 1593s # Sender: :0.this.had.better.not.exist 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 1: emitting signal 1593s # Sender: attacker 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 2: emitting signal 1593s # Sender: attacker 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /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 1593s # Step 0: claiming bus name 1593s # Name: org.gtk.Test.AlreadyOwned 1593s # Owner: service 1593s # Step 1: adding subscription 1593s # Sender: org.gtk.Test.AlreadyOwned 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 2: adding subscription 1593s # Sender: org.gtk.Test.OwnedLater 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 3: emitting signal 1593s # Sender: attacker 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 4: emitting signal 1593s # Sender: attacker 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 5: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 6: claiming bus name 1593s # Name: org.gtk.Test.OwnedLater 1593s # Owner: service 1593s # Step 7: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 5 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 7 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 7 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1593s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1593s # Step 0: adding subscription 1593s # Sender: org.freedesktop.DBus 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 1: emitting signal 1593s # Sender: attacker 1593s # Destination: (broadcast) 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: NameOwnerChanged 1593s # String argument 0: would I lie to you? 1593s # Waiting for signal to reach message bus 1593s # Step 2: emitting signal 1593s # Sender: attacker 1593s # Destination: subscriber :1.0 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: NameOwnerChanged 1593s # Waiting for signal to reach message bus 1593s # Step 3: claiming bus name 1593s # Name: org.gtk.Test.OwnedLater 1593s # Owner: service 1593s # Signal received from message bus org.freedesktop.DBus 1593s # Signal received from (unused) org.freedesktop.DBus via proxy 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: NameOwnerChanged 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1593s # Step 0: claiming bus name 1593s # Name: org.gtk.Test.AlreadyOwned 1593s # Owner: service 1593s # Step 1: adding subscription 1593s # Sender: org.gtk.Test.AlreadyOwned 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 2: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 2 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1593s # End of proxy tests 1593s # Start of parallel tests 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/simple/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1593s # Step 0: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 1: adding subscription 1593s # Sender: (any) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Cannot subscribe via proxy: no bus name 1593s # Waiting for AddMatch to be processed 1593s # Step 2: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 2 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 17 /gdbus/subscribe/parallel/simple 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1593s # Step 0: adding subscription 1593s # Sender: (any) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Cannot subscribe via proxy: no bus name 1593s # Waiting for AddMatch to be processed 1593s # Step 1: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 2: emitting signal 1593s # Sender: service 2 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 3: emitting signal 1593s # Sender: service 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 4: emitting signal 1593s # Sender: service 2 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 1 1593s # Signal received from service 2 :1.2 1593s # Signal received from service 2 :1.2 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 2 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 3 1593s # Signal received from service 2 :1.2 1593s # Signal received from service 2 :1.2 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1593s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1593s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1593s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1593s # Step 0: adding subscription 1593s # Sender: service :1.1 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 1: adding subscription 1593s # Sender: (any) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: (any) 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Cannot subscribe via proxy: no bus name 1593s # Waiting for AddMatch to be processed 1593s # Step 2: adding subscription 1593s # Sender: (any) 1593s # Path: (any) 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Cannot subscribe via proxy: no bus name 1593s # Waiting for AddMatch to be processed 1593s # Step 3: adding subscription 1593s # Sender: service :1.1 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 4: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 4 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1593s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 19 /gdbus/subscribe/parallel/match_twice 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1593s # Step 0: adding subscription 1593s # Sender: service :1.1 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 1: emitting signal 1593s # Sender: attacker 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 2: emitting signal 1593s # Sender: attacker 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 3: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 3 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 3 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1593s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1593s # Step 0: adding subscription 1593s # Sender: :0.this.had.better.not.exist 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 1: emitting signal 1593s # Sender: attacker 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 2: emitting signal 1593s # Sender: attacker 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /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 1593s # Step 0: claiming bus name 1593s # Name: org.gtk.Test.AlreadyOwned 1593s # Owner: service 1593s # Step 1: adding subscription 1593s # Sender: org.gtk.Test.AlreadyOwned 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 2: adding subscription 1593s # Sender: org.gtk.Test.OwnedLater 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 3: emitting signal 1593s # Sender: attacker 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 4: emitting signal 1593s # Sender: attacker 1593s # Destination: subscriber :1.0 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 5: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Step 6: claiming bus name 1593s # Name: org.gtk.Test.OwnedLater 1593s # Owner: service 1593s # Step 7: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 5 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 5 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 7 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 7 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via connection 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 7 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 7 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1593s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1593s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1593s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1593s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1593s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1593s # Step 0: adding subscription 1593s # Sender: org.freedesktop.DBus 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Subscribing via proxy 1593s # Waiting for AddMatch to be processed 1593s # Step 1: emitting signal 1593s # Sender: attacker 1593s # Destination: (broadcast) 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: NameOwnerChanged 1593s # String argument 0: would I lie to you? 1593s # Waiting for signal to reach message bus 1593s # Step 2: emitting signal 1593s # Sender: attacker 1593s # Destination: subscriber :1.0 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: NameOwnerChanged 1593s # Waiting for signal to reach message bus 1593s # Step 3: claiming bus name 1593s # Name: org.gtk.Test.OwnedLater 1593s # Owner: service 1593s # Signal received from message bus org.freedesktop.DBus 1593s # Signal received from (unused) org.freedesktop.DBus via connection 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: NameOwnerChanged 1593s # Signal received from message bus org.freedesktop.DBus 1593s # Signal received from (unused) org.freedesktop.DBus via proxy 1593s # Path: /org/freedesktop/DBus 1593s # Interface: org.freedesktop.DBus 1593s # Member: NameOwnerChanged 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1593s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1593s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_GQVMK3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1593s # subscriber is :1.0 1593s # service is :1.1 1593s # service 2 is :1.2 1593s # attacker is :1.3 1593s # Waiting for AddMatch to be processed 1593s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1593s # Step 0: claiming bus name 1593s # Name: org.gtk.Test.AlreadyOwned 1593s # Owner: service 1593s # Step 1: adding subscription 1593s # Sender: org.gtk.Test.AlreadyOwned 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: (any) 1593s # String argument 0: (any) 1593s # Flags: 0 1593s # Subscribing via connection 1593s # Immediately unsubscribing 1593s # Subscribing via proxy 1593s ok - glib/gdbus-subscribe.test 1593s # Waiting for AddMatch to be processed 1593s # Step 2: emitting signal 1593s # Sender: service 1593s # Destination: (broadcast) 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Waiting for signal to reach message bus 1593s # Signal received from service :1.1 1593s # Signal received from service :1.1 via proxy 1593s # Path: /org/gtk/GDBus/ExampleInterface 1593s # Interface: org.gtk.GDBus.ExampleInterface 1593s # Member: Foo 1593s # Argument 0: (not a string) 1593s # Sent in step: 2 1593s # Received Finished signal from subscriber :1.0 1593s # Received Finished signal from service :1.1 1593s # Received Finished signal from service 2 :1.2 1593s # Received Finished signal from attacker :1.3 1593s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1593s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1593s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1593s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1593s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1593s # End of parallel tests 1593s # End of subscribe tests 1593s # End of gdbus tests 1593s # Running test: glib/memory-output-stream.test 1593s TAP version 14 1593s # random seed: R02Sed4f86bdcdc0a55f8e9e6c4de0d8ea25 1593s 1..10 1593s # Start of memory-output-stream tests 1593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1593s ok 1 /memory-output-stream/truncate 1593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1593s ok 2 /memory-output-stream/get-data-size 1593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1593s ok 3 /memory-output-stream/properties 1593s ok 4 /memory-output-stream/write-bytes 1593s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1593s ok 5 /memory-output-stream/write-null 1593s ok 6 /memory-output-stream/writev 1593s ok 7 /memory-output-stream/writev_nonblocking 1593s ok 8 /memory-output-stream/steal_as_bytes 1593s # Start of seek tests 1593s ok 9 /memory-output-stream/seek/fixed 1593s ok - glib/memory-output-stream.test 1593s ok 10 /memory-output-stream/seek/resizable 1593s # End of seek tests 1593s # End of memory-output-stream tests 1593s # Running test: glib/override.test 1593s ok - glib/override.test 1593s TAP version 14 1593s # random seed: R02Sbab8f8ffc86722ec0891e9fd604de29b 1593s 1..1 1593s # Start of gobject tests 1593s # *** emitting foo on a TestA instance 1593s # Expecting: TestA::foo,TestI::foo 1593s # Got: TestA::foo,TestI::foo 1593s # *** emitting bar on a TestA instance 1593s # Expecting: TestA::bar 1593s # Got: TestA::bar 1593s # *** emitting baz on a TestA instance 1593s # Expecting: TestA::baz 1593s # Got: TestA::baz 1593s # *** emitting foo on a TestB instance 1593s # Expecting: TestB::foo,TestA::foo,TestI::foo 1593s # Got: TestB::foo,TestA::foo,TestI::foo 1593s # *** emitting bar on a TestB instance 1593s # Expecting: TestB::bar,TestA::bar 1593s # Got: TestB::bar,TestA::bar 1593s # *** emitting baz on a TestB instance 1593s # Expecting: TestB::baz,TestA::baz 1593s # Got: TestB::baz,TestA::baz 1593s # *** emitting foo on a TestC instance 1593s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1593s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1593s # *** emitting bar on a TestC instance 1593s # Expecting: TestC::bar,TestB::bar,TestA::bar 1593s # Got: TestC::bar,TestB::bar,TestA::bar 1593s # *** emitting baz on a TestC instance 1593s # Expecting: TestC::baz,TestB::baz,TestA::baz 1593s # Got: TestC::baz,TestB::baz,TestA::baz 1593s ok 1 /gobject/override 1593s # End of gobject tests 1593s # Running test: glib/timer.test 1593s TAP version 14 1593s # random seed: R02S6c2ec56265389f925b384b7cc48962d7 1593s 1..10 1593s # Start of timer tests 1593s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1593s ok 2 /timer/stop 1593s ok 3 /timer/continue 1593s ok 4 /timer/reset 1593s ok 5 /timer/is_active 1593s # End of timer tests 1593s # Start of timeval tests 1593s ok 6 /timeval/add 1593s ok 7 /timeval/from-iso8601 1593s ok 8 /timeval/to-iso8601 1593s # Start of to-iso8601 tests 1593s ok 9 /timeval/to-iso8601/overflow 1593s # End of to-iso8601 tests 1593s # End of timeval tests 1593s # Start of usleep tests 1593s ok 10 /usleep/with-zero-wait 1593s # End of usleep tests 1593s ok - glib/timer.test 1593s # Running test: glib/strvbuilder.test 1593s TAP version 14 1593s # random seed: R02S4aa95d5783d68c41fc3a0c17d1707b22 1593s 1..7 1593s # Start of strvbuilder tests 1593s ok 1 /strvbuilder/empty 1593s ok 2 /strvbuilder/add 1593s ok 3 /strvbuilder/addv 1593s ok 4 /strvbuilder/add_many 1593s ok 5 /strvbuilder/take 1593s ok 6 /strvbuilder/ref 1593s ok 7 /strvbuilder/unref_to_strv 1593s # End of strvbuilder tests 1593s ok - glib/strvbuilder.test 1593s # Running test: glib/testing-nonfatal.test 1593s TAP version 14 1593s # random seed: R02S4eeaef1ae1ede1038bc93cb8eec7941b 1593s ** 1593s 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?") 1593s # 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?") 1593s ok - glib/testing-nonfatal.test 1593s # Running test: glib/struct-info.test 1593s TAP version 14 1593s # random seed: R02S03479e051ef64ca23069e4402ff27776 1593s 1..4 1593s # Start of struct-info tests 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_OL7GK3/struct-info/field-iterators/.dirs/runtime 1593s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1593s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1593s ok 1 /struct-info/field-iterators 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_OL7GK3/struct-info/sizeof-gvalue/.dirs/runtime 1593s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1593s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1593s ok 2 /struct-info/sizeof-gvalue 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_OL7GK3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1593s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1593s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1593s ok 3 /struct-info/is-pointer-for-struct-method-arg 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_OL7GK3/struct-info/boxed/.dirs/runtime 1593s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1593s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1593s ok 4 /struct-info/boxed 1593s # End of struct-info tests 1593s ok - glib/struct-info.test 1593s # Running test: glib/macros-c-89.test 1593s ok - glib/macros-c-89.test 1593s TAP version 14 1593s # random seed: R02S541c4b4ca870d52ff85eb9ce7e4d08d0 1593s 1..4 1593s # Start of C tests 1593s ok 1 /C/standard-89 1593s # End of C tests 1593s # Start of alignof tests 1593s ok 2 /alignof/fallback 1593s # End of alignof tests 1593s # Start of assert tests 1593s ok 3 /assert/static 1593s # End of assert tests 1593s # Start of struct tests 1593s ok 4 /struct/sizeof_member 1593s # End of struct tests 1593s # Running test: glib/static-link.test 1593s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1593s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1593s and make sure you have glib build dependencies installed, including 1593s meson. 1593s ok # SKIP - glib/static-link.test 1593s # Running test: glib/error.test 1593s TAP version 14 1593s # random seed: R02S5aaf0d34e9f444ba882ca32af9f182bf 1593s 1..3 1593s # Start of error tests 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_R92HK3/error/from-errno/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_R92HK3/error/from-errno/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_R92HK3/error/from-errno/.dirs/system-config1:/tmp/test_error_R92HK3/error/from-errno/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_R92HK3/error/from-errno/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_R92HK3/error/from-errno/.dirs/system-data1:/tmp/test_error_R92HK3/error/from-errno/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_R92HK3/error/from-errno/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_R92HK3/error/from-errno/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_R92HK3/error/from-errno/.dirs/runtime 1593s ok 1 /error/from-errno 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_R92HK3/error/from-file-error/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_R92HK3/error/from-file-error/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_R92HK3/error/from-file-error/.dirs/system-config1:/tmp/test_error_R92HK3/error/from-file-error/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_R92HK3/error/from-file-error/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_R92HK3/error/from-file-error/.dirs/system-data1:/tmp/test_error_R92HK3/error/from-file-error/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_R92HK3/error/from-file-error/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_R92HK3/error/from-file-error/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_R92HK3/error/from-file-error/.dirs/runtime 1593s ok 2 /error/from-file-error 1593s ok - glib/error.test 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_R92HK3/error/from-win32-error/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_R92HK3/error/from-win32-error/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_R92HK3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_R92HK3/error/from-win32-error/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_R92HK3/error/from-win32-error/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_R92HK3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_R92HK3/error/from-win32-error/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_R92HK3/error/from-win32-error/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_R92HK3/error/from-win32-error/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_R92HK3/error/from-win32-error/.dirs/runtime 1593s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 1593s # End of error tests 1593s # Running test: glib/autoptr-gio.test 1593s TAP version 14 1593s # random seed: R02S5125f8b2a3ff07bf5567be3f74c7bdf3 1593s 1..1 1593s # Start of autoptr tests 1593s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1593s ok 1 /autoptr/autoptr 1593s # End of autoptr tests 1593s ok - glib/autoptr-gio.test 1593s # Running test: glib/pollable.test 1593s TAP version 14 1593s # random seed: R02Sd6141c186cc58af96b6a3c274eac084d 1593s 1..6 1593s # Start of pollable tests 1593s ok 1 /pollable/converter 1593s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1593s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf5ee0f5b900 and GSocketClientAsyncConnectData 0xf5ee0f5d7a0 1593s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1593s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1593s ok - glib/pollable.test 1593s # Running test: glib/trash.test 1593s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf5ee0f53e00 for GSocketClientAsyncConnectData 0xf5ee0f5d7a0 1593s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1593s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1593s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1593s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1593s ok 2 /pollable/socket 1593s # Start of unix tests 1593s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1593s ok 3 /pollable/unix/pipe 1593s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1593s ok 4 /pollable/unix/pty 1593s # /pollable/unix/file summary: Test that regular files are not considered pollable 1593s ok 5 /pollable/unix/file 1593s # /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 1593s ok 6 /pollable/unix/nulldev 1593s # End of unix tests 1593s # End of pollable tests 1593s ok - glib/trash.test 1593s # Running test: glib/pattern.test 1593s TAP version 14 1593s # random seed: R02Sa67a5732a0e000be64c2bf1027e5520d 1593s 1..3 1593s # Start of trash tests 1593s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1593s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1593s # File: /tmp/test-trashD9HIK3 (parent st_dev: 64769) 1593s # Home: /home/ubuntu (st_dev: 64769) 1593s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1593s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1593s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1593s ok 3 /trash/long-filename 1593s # End of trash tests 1593s TAP version 14 1593s # random seed: R02S0f703d1082e675793f3a67025e591d50 1593s 1..90 1593s # Start of pattern tests 1593s # Start of compile tests 1593s ok 1 /pattern/compile/0 1593s ok 2 /pattern/compile/1 1593s ok 3 /pattern/compile/2 1593s ok 4 /pattern/compile/3 1593s ok 5 /pattern/compile/4 1593s ok 6 /pattern/compile/5 1593s ok 7 /pattern/compile/6 1593s ok 8 /pattern/compile/7 1593s ok 9 /pattern/compile/8 1593s ok 10 /pattern/compile/9 1593s ok 11 /pattern/compile/10 1593s ok 12 /pattern/compile/11 1593s ok 13 /pattern/compile/12 1593s ok 14 /pattern/compile/13 1593s # End of compile tests 1593s # Start of copy tests 1593s ok 15 /pattern/copy/0 1593s ok 16 /pattern/copy/1 1593s ok 17 /pattern/copy/2 1593s ok 18 /pattern/copy/3 1593s ok 19 /pattern/copy/4 1593s ok 20 /pattern/copy/5 1593s ok 21 /pattern/copy/6 1593s ok 22 /pattern/copy/7 1593s ok 23 /pattern/copy/8 1593s ok 24 /pattern/copy/9 1593s ok 25 /pattern/copy/10 1593s ok 26 /pattern/copy/11 1593s ok 27 /pattern/copy/12 1593s ok 28 /pattern/copy/13 1593s # End of copy tests 1593s # Start of match tests 1593s ok 29 /pattern/match/0 1593s ok 30 /pattern/match/1 1593s ok 31 /pattern/match/2 1593s ok 32 /pattern/match/3 1593s ok 33 /pattern/match/4 1593s ok 34 /pattern/match/5 1593s ok - glib/pattern.test 1593s # Running test: glib/socket-service.test 1593s ok 35 /pattern/match/6 1593s ok 36 /pattern/match/7 1593s ok 37 /pattern/match/8 1593s ok 38 /pattern/match/9 1593s ok 39 /pattern/match/10 1593s ok 40 /pattern/match/11 1593s ok 41 /pattern/match/12 1593s ok 42 /pattern/match/13 1593s ok 43 /pattern/match/14 1593s ok 44 /pattern/match/15 1593s ok 45 /pattern/match/16 1593s ok 46 /pattern/match/17 1593s ok 47 /pattern/match/18 1593s ok 48 /pattern/match/19 1593s ok 49 /pattern/match/20 1593s ok 50 /pattern/match/21 1593s ok 51 /pattern/match/22 1593s ok 52 /pattern/match/23 1593s ok 53 /pattern/match/24 1593s ok 54 /pattern/match/25 1593s ok 55 /pattern/match/26 1593s ok 56 /pattern/match/27 1593s ok 57 /pattern/match/28 1593s ok 58 /pattern/match/29 1593s ok 59 /pattern/match/30 1593s ok 60 /pattern/match/31 1593s ok 61 /pattern/match/32 1593s ok 62 /pattern/match/33 1593s ok 63 /pattern/match/34 1593s ok 64 /pattern/match/35 1593s ok 65 /pattern/match/36 1593s ok 66 /pattern/match/37 1593s ok 67 /pattern/match/38 1593s ok 68 /pattern/match/39 1593s ok 69 /pattern/match/40 1593s ok 70 /pattern/match/41 1593s ok 71 /pattern/match/42 1593s ok 72 /pattern/match/43 1593s ok 73 /pattern/match/44 1593s ok 74 /pattern/match/45 1593s ok 75 /pattern/match/46 1593s ok 76 /pattern/match/47 1593s ok 77 /pattern/match/48 1593s ok 78 /pattern/match/49 1593s ok 79 /pattern/match/50 1593s # End of match tests 1593s # Start of equal tests 1593s ok 80 /pattern/equal/0 1593s ok 81 /pattern/equal/1 1593s ok 82 /pattern/equal/2 1593s ok 83 /pattern/equal/3 1593s ok 84 /pattern/equal/4 1593s ok 85 /pattern/equal/5 1593s ok 86 /pattern/equal/6 1593s ok 87 /pattern/equal/7 1593s ok 88 /pattern/equal/8 1593s ok 89 /pattern/equal/9 1593s ok 90 /pattern/equal/10 1593s # End of equal tests 1593s # End of pattern tests 1593s TAP version 14 1593s # random seed: R02S2e9c113d5c75df985a582372b460a008 1593s 1..4 1593s # Start of socket-service tests 1593s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1593s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac211668240 and GSocketClientAsyncConnectData 0xac211662f00 1593s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1593s ok 1 /socket-service/start-stop 1593s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac21166c2d0 and GSocketClientAsyncConnectData 0xac21166bf30 1593s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1593s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1593s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac21166c250 for GSocketClientAsyncConnectData 0xac211662f00 1593s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1593s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1593s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1593s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1593s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1593s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac21166c250 for GSocketClientAsyncConnectData 0xac21166bf30 1593s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1593s ok - glib/socket-service.test 1593s # Running test: glib/gdbus-proxy-threads.test 1593s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1593s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1593s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1593s ok 2 /socket-service/read_write_async 1593s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac21166c2d0 and GSocketClientAsyncConnectData 0xac21166f9b0 1593s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1593s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1593s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac21166ee10 for GSocketClientAsyncConnectData 0xac21166f9b0 1593s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1593s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1593s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1593s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1593s ok 3 /socket-service/read_writev_async 1593s # Start of threaded tests 1593s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1593s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac211660a70 and GSocketClientAsyncConnectData 0xac21166bf30 1593s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1593s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1593s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac211670240 for GSocketClientAsyncConnectData 0xac21166bf30 1593s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1593s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1593s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1593s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1593s ok 4 /socket-service/threaded/712570 1593s # End of threaded tests 1593s # End of socket-service tests 1593s TAP version 14 1593s # random seed: R02S3acf1a907e32662ac90d71555ea698e6 1593s 1..1 1593s # Start of gdbus tests 1593s # Start of proxy tests 1593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/home 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/cache 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/system-config2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/config 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/system-data2 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/data 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/state 1593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_ADWIK3/gdbus/proxy/vs-threads/.dirs/runtime 1594s ok 1 /gdbus/proxy/vs-threads 1594s # slow test /gdbus/proxy/vs-threads executed in 0.89 secs 1594s # End of proxy tests 1594s # End of gdbus tests 1594s cleaning up pid 15539 1594s ok - glib/gdbus-proxy-threads.test 1594s # Running test: glib/application-command-line.test 1594s TAP version 14 1594s # random seed: R02S51fc3b68adda352d1fcfcbe937463978 1594s 1..1 1594s # Start of application-command-line tests 1594s ok 1 /application-command-line/basic-properties 1594s # End of application-command-line tests 1594s ok - glib/application-command-line.test 1594s # Running test: glib/defaultvalue.test 1594s TAP version 14 1594s # random seed: R02S7012b9fafda14a8889ba56df09d0adbd 1594s 1..84 1594s # Start of Default Values tests 1594s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1594s ok 2 /Default Values/GAppLaunchContext 1594s ok 3 /Default Values/GApplicationCommandLine 1594s # skipping GApplication:is-remote 1594s ok 4 /Default Values/GApplication 1594s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1594s ok 6 /Default Values/GBindingGroup 1594s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1594s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1594s ok 9 /Default Values/GBytesIcon 1594s ok 10 /Default Values/GCancellable 1594s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1594s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1594s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1594s ok 14 /Default Values/GCredentials 1594s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1594s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1594s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1594s ok 18 /Default Values/GDBusAuthObserver 1594s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1594s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1594s ok 21 /Default Values/GDBusMessage 1594s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1594s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1594s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1594s ok 25 /Default Values/GDBusObjectProxy 1594s ok 26 /Default Values/GDBusObjectSkeleton 1594s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1594s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1594s ok 29 /Default Values/GEmblem 1594s ok 30 /Default Values/GEmblemedIcon 1594s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1594s ok 32 /Default Values/GFileInfo 1594s ok 33 /Default Values/GFileInputStream 1594s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1594s ok 35 /Default Values/GFileOutputStream 1594s ok 36 /Default Values/GFilenameCompleter 1594s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1594s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1594s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1594s ok 40 /Default Values/GInitiallyUnowned 1594s ok 41 /Default Values/GIOModule 1594s ok 42 /Default Values/GListStore 1594s ok 43 /Default Values/GMemoryInputStream 1594s ok 44 /Default Values/GMemoryOutputStream 1594s ok 45 /Default Values/GMenu 1594s ok 46 /Default Values/GMenuItem 1594s ok 47 /Default Values/GMountOperation 1594s ok 48 /Default Values/GNativeSocketAddress 1594s ok 49 /Default Values/GNetworkAddress 1594s ok 50 /Default Values/GNetworkService 1594s ok 51 /Default Values/GNotification 1594s ok 52 /Default Values/GObject 1594s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1594s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1594s # skipping GProxyAddressEnumerator:proxy-resolver 1594s ok 54 /Default Values/GProxyAddressEnumerator 1594s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1594s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1594s ok 57 /Default Values/GSignalGroup 1594s ok 58 /Default Values/GSimpleAction 1594s ok 59 /Default Values/GSimpleActionGroup 1594s ok 60 /Default Values/GSimpleAsyncResult 1594s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1594s ok 62 /Default Values/GSimplePermission 1594s ok 63 /Default Values/GSimpleProxyResolver 1594s # skipping GSocketClient:proxy-resolver 1594s ok 64 /Default Values/GSocketClient 1594s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1594s ok 66 /Default Values/GSocket # SKIP initialization failed 1594s ok 67 /Default Values/GSocketListener 1594s ok 68 /Default Values/GSocketService 1594s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1594s ok 70 /Default Values/GSubprocessLauncher 1594s # GLib-GIO-DEBUG: GTask 0x1e65f8dcb270 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1594s ok 71 /Default Values/GTask 1594s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1594s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1594s ok 74 /Default Values/GTestDBus 1594s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1594s ok 76 /Default Values/GThreadedSocketService 1594s ok 77 /Default Values/GTlsInteraction 1594s ok 78 /Default Values/GTlsPassword 1594s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1594s ok 80 /Default Values/GUnixFDList 1594s ok 81 /Default Values/GVfs 1594s ok 82 /Default Values/GVolumeMonitor 1594s ok 83 /Default Values/GZlibCompressor 1594s ok 84 /Default Values/GZlibDecompressor 1594s # End of Default Values tests 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s ok - glib/defaultvalue.test 1594s # Running test: glib/debugcontroller.test 1594s TAP version 14 1594s # random seed: R02S9a07ea25df7cd0667390655ae97676d0 1594s 1..3 1594s # Start of debug-controller tests 1594s # Start of dbus tests 1594s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1594s # GLib-GIO-DEBUG: Debug output enabled 1594s # GLib-GIO-DEBUG: Debug output disabled 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s ok 1 /debug-controller/dbus/basic 1594s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1594s ok 2 /debug-controller/dbus/duplicate 1594s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1594s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1594s # End of dbus tests 1594s # End of debug-controller tests 1594s ok - glib/debugcontroller.test 1594s # Running test: glib/macros-c-17.test 1594s ok - glib/macros-c-17.test 1594s # Running test: glib/cxx-11.test 1594s TAP version 14 1594s # random seed: R02S737df504f5618e21de0d5784d0105fe7 1594s 1..4 1594s # Start of C tests 1594s ok 1 /C/standard-17 1594s # End of C tests 1594s # Start of alignof tests 1594s ok 2 /alignof/fallback 1594s # End of alignof tests 1594s # Start of assert tests 1594s ok 3 /assert/static 1594s # End of assert tests 1594s # Start of struct tests 1594s ok 4 /struct/sizeof_member 1594s # End of struct tests 1594s TAP version 14 1594s # random seed: R02Sda9b896198939bdf4a2a2d87a522fe33 1594s 1..2 1594s # Start of gtask tests 1594s # 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. 1594s ok 1 /gtask/name 1594s # Start of name tests 1594s # 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. 1594s ok 2 /gtask/name/macro-wrapper 1594s # End of name tests 1594s # End of gtask tests 1594s ok - glib/cxx-11.test 1594s # Running test: glib/gobject-private.test 1594s TAP version 14 1594s # random seed: R02S6b6567dc4f6b4b080cf4c1ff9304f128 1594s 1..3 1594s # Start of private tests 1594s ok 1 /private/instance 1594s ok 2 /private/derived-instance 1594s ok - glib/gobject-private.test 1594s ok 3 /private/mixed-derived-instance 1594s # End of private tests 1594s # Running test: glib/properties-refcount2.test 1594s TAP version 14 1594s # random seed: R02S2bcefe4bc40bda20973848a999a2071f 1594s 1..1 1594s # Start of gobject tests 1594s # Start of refcount tests 1594s # init 0x1b95a83a4eb0 1594s # 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1594s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1595s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # . 1596s # Executing: glib/properties-refcount2.test 1596s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # . 1597s # dispose 0x1b95a83a4eb0! 1597s # 1597s ok 1 /gobject/refcount/properties-2 1597s # slow test /gobject/refcount/properties-2 executed in 2.96 secs 1597s # End of refcount tests 1597s # End of gobject tests 1597s ok - glib/properties-refcount2.test 1597s # Running test: glib/portal-support-env-var.test 1597s ok - glib/portal-support-env-var.test 1597s # Running test: glib/genmarshal.py.test 1597s TAP version 14 1597s # random seed: R02S681b9a6c63e1b303daf3688c104c24a3 1597s 1..1 1597s # Start of portal-support tests 1597s ok 1 /portal-support/env-var 1597s # End of portal-support tests 1597s TAP version 13 1597s ok 1 __main__.TestGenmarshal.test_empty_list 1597s # glib-genmarshal: /usr/bin/glib-genmarshal 1597s # tmpdir: /tmp/tmpfq246z20 1597s # /tmp/tmpfq246z20/tmpow_53hks.list: 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfq246z20/tmpow_53hks.list', '--header', '--quiet'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # 1597s # #include 1597s # 1597s # G_BEGIN_DECLS 1597s # 1597s # 1597s # G_END_DECLS 1597s # 1597s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1597s # Error: 1597s # 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpfq246z20/tmpow_53hks.list', '--body', '--quiet'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #include 1597s # 1597s # #ifdef G_ENABLE_DEBUG 1597s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1597s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1597s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1597s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1597s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1597s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1597s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1597s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1597s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1597s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1597s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1597s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1597s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1597s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1597s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1597s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1597s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1597s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1597s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1597s # #else /* !G_ENABLE_DEBUG */ 1597s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1597s # * Do not access GValues directly in your code. Instead, use the 1597s # * g_value_get_*() functions 1597s # */ 1597s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1597s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1597s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1597s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1597s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1597s # #endif /* !G_ENABLE_DEBUG */ 1597s # Error: 1597s ok 2 __main__.TestGenmarshal.test_help 1597s # glib-genmarshal: /usr/bin/glib-genmarshal 1597s # tmpdir: /tmp/tmprhfqcni9 1597s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1597s # Return code: 0 1597s # Output: 1597s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1597s # [--internal] [--valist-marshallers] [-v] 1597s # [--g-fatal-warnings] [--include-header [HEADER]] 1597s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1597s # [--prototypes] [--header] [--body] [--stdinc | 1597s # --nostdinc] [--quiet | --verbose] 1597s # [FILE ...] 1597s # 1597s # Generate signal marshallers for GObject 1597s # 1597s # positional arguments: 1597s # FILE Files with lists of marshallers to generate, or "-" 1597s # for standard input 1597s # 1597s # options: 1597s # -h, --help show this help message and exit 1597s # --prefix STRING Specify marshaller prefix 1597s # --output FILE Write output into the specified file 1597s # --skip-source Skip source location comments 1597s # --internal Mark generated functions as internal 1597s # --valist-marshallers Generate va_list marshallers 1597s # -v, --version Print version information, and exit 1597s # --g-fatal-warnings Make warnings fatal 1597s # --include-header [HEADER] 1597s # Include the specified header in the body 1597s # --pragma-once Use "pragma once" as the inclusion guard 1597s # -D CPP_DEFINES Pre-processor define 1597s # -U CPP_UNDEFINES Pre-processor undefine 1597s # --prototypes Generate the marshallers prototype in the C code 1597s # --header Generate C headers 1597s # --body Generate C code 1597s # --stdinc Include standard marshallers 1597s # --nostdinc Use standard marshallers 1597s # --quiet Only print warnings and errors 1597s # --verbose Be verbose, and include debugging information 1597s # Error: 1597s ok 3 __main__.TestGenmarshal.test_no_args 1597s # glib-genmarshal: /usr/bin/glib-genmarshal 1597s # tmpdir: /tmp/tmp51gpsjtt 1597s # Running: ['/usr/bin/glib-genmarshal'] 1597s # Return code: 0 1597s # Output: 1597s # 1597s # Error: 1597s ok 4 __main__.TestGenmarshal.test_void_boolean 1597s # glib-genmarshal: /usr/bin/glib-genmarshal 1597s # tmpdir: /tmp/tmp6gsynnb3 1597s # /tmp/tmp6gsynnb3/tmp3sbpc2ic.list: VOID:BOOLEAN 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6gsynnb3/tmp3sbpc2ic.list', '--header', '--quiet'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # 1597s # #include 1597s # 1597s # G_BEGIN_DECLS 1597s # 1597s # /* VOID:BOOLEAN (/tmp/tmp6gsynnb3/tmp3sbpc2ic.list:1) */ 1597s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1597s # 1597s # 1597s # G_END_DECLS 1597s # 1597s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1597s # Error: 1597s # 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6gsynnb3/tmp3sbpc2ic.list', '--body', '--quiet'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #include 1597s # 1597s # #ifdef G_ENABLE_DEBUG 1597s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1597s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1597s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1597s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1597s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1597s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1597s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1597s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1597s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1597s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1597s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1597s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1597s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1597s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1597s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1597s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1597s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1597s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1597s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1597s # #else /* !G_ENABLE_DEBUG */ 1597s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1597s # * Do not access GValues directly in your code. Instead, use the 1597s # * g_value_get_*() functions 1597s # */ 1597s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1597s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1597s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1597s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1597s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1597s # #endif /* !G_ENABLE_DEBUG */ 1597s # Error: 1597s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1597s # glib-genmarshal: /usr/bin/glib-genmarshal 1597s # tmpdir: /tmp/tmp5op_zumk 1597s # /tmp/tmp5op_zumk/tmp_whwipx7.list: VOID:BOOLEAN,INT64 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5op_zumk/tmp_whwipx7.list', '--header', '--quiet'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # 1597s # #include 1597s # 1597s # G_BEGIN_DECLS 1597s # 1597s # /* VOID:BOOLEAN,INT64 (/tmp/tmp5op_zumk/tmp_whwipx7.list:1) */ 1597s # extern 1597s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1597s # GValue *return_value, 1597s # guint n_param_values, 1597s # const GValue *param_values, 1597s # gpointer invocation_hint, 1597s # gpointer marshal_data); 1597s # 1597s # 1597s # G_END_DECLS 1597s # 1597s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1597s # Error: 1597s # 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp5op_zumk/tmp_whwipx7.list', '--body', '--quiet'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #include 1597s # 1597s # #ifdef G_ENABLE_DEBUG 1597s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1597s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1597s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1597s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1597s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1597s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1597s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1597s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1597s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1597s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1597s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1597s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1597s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1597s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1597s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1597s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1597s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1597s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1597s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1597s # #else /* !G_ENABLE_DEBUG */ 1597s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1597s # * Do not access GValues directly in your code. Instead, use the 1597s # * g_value_get_*() functions 1597s # */ 1597s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1597s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1597s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1597s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1597s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1597s # #endif /* !G_ENABLE_DEBUG */ 1597s # 1597s # /* VOID:BOOLEAN,INT64 (/tmp/tmp5op_zumk/tmp_whwipx7.list:1) */ 1597s # void 1597s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1597s # GValue *return_value G_GNUC_UNUSED, 1597s # guint n_param_values, 1597s # const GValue *param_values, 1597s # gpointer invocation_hint G_GNUC_UNUSED, 1597s # gpointer marshal_data) 1597s # { 1597s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1597s # gboolean arg1, 1597s # gint64 arg2, 1597s # gpointer data2); 1597s # GCClosure *cc = (GCClosure *) closure; 1597s # gpointer data1, data2; 1597s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1597s # 1597s # g_return_if_fail (n_param_values == 3); 1597s # 1597s # if (G_CCLOSURE_SWAP_DATA (closure)) 1597s # { 1597s # data1 = closure->data; 1597s # data2 = g_value_peek_pointer (param_values + 0); 1597s # } 1597s # else 1597s # { 1597s # data1 = g_value_peek_pointer (param_values + 0); 1597s # data2 = closure->data; 1597s # } 1597s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1597s # 1597s # callback (data1, 1597s # g_marshal_value_peek_boolean (param_values + 1), 1597s # g_marshal_value_peek_int64 (param_values + 2), 1597s # data2); 1597s # } 1597s # Error: 1597s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1597s # glib-genmarshal: /usr/bin/glib-genmarshal 1597s # tmpdir: /tmp/tmp1w4y769j 1597s # /tmp/tmp1w4y769j/tmph_qoryam.list: VOID:PARAM 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1w4y769j/tmph_qoryam.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # 1597s # G_BEGIN_DECLS 1597s # 1597s # /* VOID:PARAM (/tmp/tmp1w4y769j/tmph_qoryam.list:1) */ 1597s # extern 1597s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1597s # GValue *return_value, 1597s # guint n_param_values, 1597s # const GValue *param_values, 1597s # gpointer invocation_hint, 1597s # gpointer marshal_data); 1597s # extern 1597s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1597s # GValue *return_value, 1597s # gpointer instance, 1597s # va_list args, 1597s # gpointer marshal_data, 1597s # int n_params, 1597s # GType *param_types); 1597s # 1597s # 1597s # G_END_DECLS 1597s # 1597s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1597s # Error: 1597s # 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1w4y769j/tmph_qoryam.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifdef G_ENABLE_DEBUG 1597s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1597s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1597s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1597s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1597s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1597s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1597s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1597s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1597s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1597s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1597s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1597s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1597s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1597s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1597s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1597s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1597s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1597s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1597s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1597s # #else /* !G_ENABLE_DEBUG */ 1597s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1597s # * Do not access GValues directly in your code. Instead, use the 1597s # * g_value_get_*() functions 1597s # */ 1597s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1597s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1597s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1597s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1597s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1597s # #endif /* !G_ENABLE_DEBUG */ 1597s # 1597s # /* VOID:PARAM (/tmp/tmp1w4y769j/tmph_qoryam.list:1) */ 1597s # void 1597s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1597s # GValue *return_value G_GNUC_UNUSED, 1597s # guint n_param_values, 1597s # const GValue *param_values, 1597s # gpointer invocation_hint G_GNUC_UNUSED, 1597s # gpointer marshal_data) 1597s # { 1597s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1597s # gpointer arg1, 1597s # gpointer data2); 1597s # GCClosure *cc = (GCClosure *) closure; 1597s # gpointer data1, data2; 1597s # GMarshalFunc_VOID__PARAM callback; 1597s # 1597s # g_return_if_fail (n_param_values == 2); 1597s # 1597s # if (G_CCLOSURE_SWAP_DATA (closure)) 1597s # { 1597s # data1 = closure->data; 1597s # data2 = g_value_peek_pointer (param_values + 0); 1597s # } 1597s # else 1597s # { 1597s # data1 = g_value_peek_pointer (param_values + 0); 1597s # data2 = closure->data; 1597s # } 1597s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1597s # 1597s # callback (data1, 1597s # g_marshal_value_peek_param (param_values + 1), 1597s # data2); 1597s # } 1597s # 1597s # void 1597s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1597s # GValue *return_value G_GNUC_UNUSED, 1597s # gpointer instance, 1597s # va_list args, 1597s # gpointer marshal_data, 1597s # int n_params, 1597s # GType *param_types) 1597s # { 1597s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1597s # gpointer arg1, 1597s # gpointer data2); 1597s # GCClosure *cc = (GCClosure *) closure; 1597s # gpointer data1, data2; 1597s # GMarshalFunc_VOID__PARAM callback; 1597s # gpointer arg0; 1597s # va_list args_copy; 1597s # 1597s # va_copy (args_copy, args); 1597s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1597s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1597s # arg0 = g_param_spec_ref (arg0); 1597s # va_end (args_copy); 1597s # 1597s # 1597s # if (G_CCLOSURE_SWAP_DATA (closure)) 1597s # { 1597s # data1 = closure->data; 1597s # data2 = instance; 1597s # } 1597s # else 1597s # { 1597s # data1 = instance; 1597s # data2 = closure->data; 1597s # } 1597s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1597s # 1597s # callback (data1, 1597s # arg0, 1597s # data2); 1597s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1597s # g_param_spec_unref (arg0); 1597s # } 1597s # Error: 1597s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1597s # glib-genmarshal: /usr/bin/glib-genmarshal 1597s # tmpdir: /tmp/tmprjsf7wpl 1597s # /tmp/tmprjsf7wpl/tmp85k6os7s.list: VOID:STRING 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprjsf7wpl/tmp85k6os7s.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # 1597s # G_BEGIN_DECLS 1597s # 1597s # /* VOID:STRING (/tmp/tmprjsf7wpl/tmp85k6os7s.list:1) */ 1597s # extern 1597s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1597s # GValue *return_value, 1597s # guint n_param_values, 1597s # const GValue *param_values, 1597s # gpointer invocation_hint, 1597s # gpointer marshal_data); 1597s # extern 1597s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1597s # GValue *return_value, 1597s # gpointer instance, 1597s # va_list args, 1597s # gpointer marshal_data, 1597s # int n_params, 1597s # GType *param_types); 1597s # 1597s # 1597s # G_END_DECLS 1597s # 1597s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1597s # Error: 1597s # 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprjsf7wpl/tmp85k6os7s.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifdef G_ENABLE_DEBUG 1597s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1597s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1597s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1597s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1597s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1597s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1597s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1597s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1597s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1597s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1597s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1597s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1597s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1597s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1597s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1597s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1597s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1597s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1597s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1597s # #else /* !G_ENABLE_DEBUG */ 1597s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1597s # * Do not access GValues directly in your code. Instead, use the 1597s # * g_value_get_*() functions 1597s # */ 1597s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1597s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1597s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1597s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1597s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1597s # #endif /* !G_ENABLE_DEBUG */ 1597s # 1597s # /* VOID:STRING (/tmp/tmprjsf7wpl/tmp85k6os7s.list:1) */ 1597s # void 1597s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1597s # GValue *return_value G_GNUC_UNUSED, 1597s # guint n_param_values, 1597s # const GValue *param_values, 1597s # gpointer invocation_hint G_GNUC_UNUSED, 1597s # gpointer marshal_data) 1597s # { 1597s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1597s # gpointer arg1, 1597s # gpointer data2); 1597s # GCClosure *cc = (GCClosure *) closure; 1597s # gpointer data1, data2; 1597s # GMarshalFunc_VOID__STRING callback; 1597s # 1597s # g_return_if_fail (n_param_values == 2); 1597s # 1597s # if (G_CCLOSURE_SWAP_DATA (closure)) 1597s # { 1597s # data1 = closure->data; 1597s # data2 = g_value_peek_pointer (param_values + 0); 1597s # } 1597s # else 1597s # { 1597s # data1 = g_value_peek_pointer (param_values + 0); 1597s # data2 = closure->data; 1597s # } 1597s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1597s # 1597s # callback (data1, 1597s # g_marshal_value_peek_string (param_values + 1), 1597s # data2); 1597s # } 1597s # 1597s # void 1597s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1597s # GValue *return_value G_GNUC_UNUSED, 1597s # gpointer instance, 1597s # va_list args, 1597s # gpointer marshal_data, 1597s # int n_params, 1597s # GType *param_types) 1597s # { 1597s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1597s # gpointer arg1, 1597s # gpointer data2); 1597s # GCClosure *cc = (GCClosure *) closure; 1597s # gpointer data1, data2; 1597s # GMarshalFunc_VOID__STRING callback; 1597s # gpointer arg0; 1597s # va_list args_copy; 1597s # 1597s # va_copy (args_copy, args); 1597s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1597s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1597s # arg0 = g_strdup (arg0); 1597s # va_end (args_copy); 1597s # 1597s # 1597s # if (G_CCLOSURE_SWAP_DATA (closure)) 1597s # { 1597s # data1 = closure->data; 1597s # data2 = instance; 1597s # } 1597s # else 1597s # { 1597s # data1 = instance; 1597s # data2 = closure->data; 1597s # } 1597s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1597s # 1597s # callback (data1, 1597s # arg0, 1597s # data2); 1597s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1597s # g_free (arg0); 1597s # } 1597s # Error: 1597s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1597s # glib-genmarshal: /usr/bin/glib-genmarshal 1597s # tmpdir: /tmp/tmpdalk4jke 1597s # /tmp/tmpdalk4jke/tmpc1tji5n1.list: VOID:VARIANT 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdalk4jke/tmpc1tji5n1.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1597s # 1597s # G_BEGIN_DECLS 1597s # 1597s # /* VOID:VARIANT (/tmp/tmpdalk4jke/tmpc1tji5n1.list:1) */ 1597s # extern 1597s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1597s # GValue *return_value, 1597s # guint n_param_values, 1597s # const GValue *param_values, 1597s # gpointer invocation_hint, 1597s # gpointer marshal_data); 1597s # extern 1597s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1597s # GValue *return_value, 1597s # gpointer instance, 1597s # va_list args, 1597s # gpointer marshal_data, 1597s # int n_params, 1597s # GType *param_types); 1597s # 1597s # 1597s # G_END_DECLS 1597s # 1597s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1597s # Error: 1597s # 1597s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpdalk4jke/tmpc1tji5n1.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1597s # Return code: 0 1597s # Output: 1597s # /* 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. */ 1597s # #ifdef G_ENABLE_DEBUG 1597s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1597s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1597s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1597s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1597s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1597s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1597s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1597s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1597s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1597s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1597s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1597s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1597s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1597s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1597s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1597s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1597s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1597s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1597s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1597s # #else /* !G_ENABLE_DEBUG */ 1597s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1597s # * Do not access GValues directly in your code. Instead, use the 1597s # * g_value_get_*() functions 1597s # */ 1597s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1597s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1597s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1597s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1597s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1597s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1597s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1597s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1597s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1597s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1597s # #endif /* !G_ENABLE_DEBUG */ 1597s # 1597s # /* VOID:VARIANT (/tmp/tmpdalk4jke/tmpc1tji5n1.list:1) */ 1597s # void 1597s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1597s # GValue *return_value G_GNUC_UNUSED, 1597s # guint n_param_values, 1597s # const GValue *param_values, 1597s # gpointer invocation_hint G_GNUC_UNUSED, 1597s # gpointer marshal_data) 1597s # { 1597s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1597s # gpointer arg1, 1597s # gpointer data2); 1597s # GCClosure *cc = (GCClosure *) closure; 1597s # gpointer data1, data2; 1597s # GMarshalFunc_VOID__VARIANT callback; 1597s # 1597s # g_return_if_fail (n_param_values == 2); 1597s # 1597s # if (G_CCLOSURE_SWAP_DATA (closure)) 1597s # { 1597s # data1 = closure->data; 1597s # data2 = g_value_peek_pointer (param_values + 0); 1597s # } 1597s # else 1597s # { 1597s # data1 = g_value_peek_pointer (param_values + 0); 1597s # data2 = closure->data; 1597s # } 1597s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1597s # 1597s # callback (data1, 1597s # g_marshal_value_peek_variant (param_values + 1), 1597s # data2); 1597s # } 1597s # 1597s # void 1597s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1597s # GValue *return_value G_GNUC_UNUSED, 1597s # gpointer instance, 1597s # va_list args, 1597s # gpointer marshal_data, 1597s # int n_params, 1597s # GType *param_types) 1597s # { 1597s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1597s # gpointer arg1, 1597s # gpointer data2); 1597s # GCClosure *cc = (GCClosure *) closure; 1597s # gpointer data1, data2; 1597s # GMarshalFunc_VOID__VARIANT callback; 1597s # gpointer arg0; 1597s # va_list args_copy; 1597s # 1597s # va_copy (args_copy, args); 1597s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1597s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1597s # arg0 = g_variant_ref_sink (arg0); 1597s # va_end (args_copy); 1597s # 1597s # 1597s # if (G_CCLOSURE_SWAP_DATA (closure)) 1597s # { 1597s # data1 = closure->data; 1597s # data2 = instance; 1597s # } 1597s # else 1597s # { 1597s # data1 = instance; 1597s # data2 = closure->data; 1597s # } 1597s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1597s # 1597s # callback (data1, 1597s # arg0, 1597s # data2); 1597s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1597s # g_variant_unref (arg0); 1597s # } 1597s # Error: 1597s 1..8 1597s ok - glib/genmarshal.py.test 1597s # Running test: glib/gi-inspect-typelib.py.test 1597s TAP version 13 1597s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmpytzlbp9l 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 1597s # Return code: 0 1597s # Output: 1597s # Usage: 1597s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 1597s # 1597s # Help Options: 1597s # -h, --help Show help options 1597s # 1597s # Application Options: 1597s # --typelib-version=VERSION Typelib version to inspect 1597s # --print-shlibs List the shared libraries the typelib requires 1597s # --print-typelibs List other typelibs the inspected typelib requires 1597s # Error: 1597s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmpz94jofjn 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 1597s # Return code: 1 1597s # Output: 1597s # 1597s # Error: 1597s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 1597s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmpahuhpgod 1597s # Running: ['/usr/bin/gi-inspect-typelib'] 1597s # Return code: 1 1597s # Output: 1597s # 1597s # Error: 1597s # Please specify exactly one namespace 1597s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmp8v08dyco 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # shlib: libgobject-2.0.so.0 1597s # shlib: libglib-2.0.so.0 1597s # Error: 1597s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmp7r4j3hp6 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # 1597s # Error: 1597s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmpmbznlcnt 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # shlib: libgobject-2.0.so.0 1597s # shlib: libglib-2.0.so.0 1597s # Error: 1597s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmp_zyjpclx 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # shlib: libgobject-2.0.so.0 1597s # Error: 1597s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmp4ept9m2w 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # typelib: GLib-2.0 1597s # Error: 1597s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmp97xkr5mc 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # shlib: libgobject-2.0.so.0 1597s # typelib: GLib-2.0 1597s # Error: 1597s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmp_fwly7gx 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # shlib: libgio-2.0.so.0 1597s # Error: 1597s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmp0dcbk9z7 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # typelib: GObject-2.0 1597s # typelib: GLib-2.0 1597s # typelib: GModule-2.0 1597s # Error: 1597s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 1597s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1597s # tmpdir: /tmp/tmp675couim 1597s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1597s # Return code: 0 1597s # Output: 1597s # shlib: libgio-2.0.so.0 1597s # typelib: GObject-2.0 1597s # typelib: GLib-2.0 1597s # typelib: GModule-2.0 1597s # Error: 1597s 1..12 1597s ok - glib/gi-inspect-typelib.py.test 1597s # Running test: glib/mainloop.test 1597s TAP version 14 1597s # random seed: R02S08e7265579d9e9d6c72e1c6045b8c5a7 1597s 1..47 1597s # Start of maincontext tests 1597s ok 1 /maincontext/basic 1597s # Add same-priority sources: 42 1597s # Find each source: 20 1598s # Remove in random order: 59 1598s ok 2 /maincontext/nsources_same_priority 1598s # Add different-priority sources: 48 1598s # Find each source: 20 1598s # Remove in random order: 63 1598s ok 3 /maincontext/nsources_different_priority 1598s # Add sources from threads: 96 1598s # Remove sources from threads: 192 1598s ok 4 /maincontext/nsources_threadpool 1598s ok 5 /maincontext/source_finalization 1598s # /maincontext/idle-once summary: Test g_idle_add_once() works 1598s ok 6 /maincontext/idle-once 1598s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1598s ok 7 /maincontext/timeout-once 1598s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1598s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1598s # Start of source_finalization_from_source tests 1598s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 9 /maincontext/source_finalization_from_source/0 1598s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 10 /maincontext/source_finalization_from_source/1 1598s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 11 /maincontext/source_finalization_from_source/2 1598s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 12 /maincontext/source_finalization_from_source/3 1598s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 13 /maincontext/source_finalization_from_source/4 1598s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 14 /maincontext/source_finalization_from_source/5 1598s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 15 /maincontext/source_finalization_from_source/6 1598s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 16 /maincontext/source_finalization_from_source/7 1598s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 17 /maincontext/source_finalization_from_source/8 1598s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1598s ok 18 /maincontext/source_finalization_from_source/9 1598s # End of source_finalization_from_source tests 1598s # Start of source_finalization_from_dispatch tests 1598s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1598s ok 19 /maincontext/source_finalization_from_dispatch/0 1598s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1598s ok 20 /maincontext/source_finalization_from_dispatch/1 1598s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1598s ok 21 /maincontext/source_finalization_from_dispatch/2 1598s # End of source_finalization_from_dispatch tests 1598s # End of maincontext tests 1598s # Start of mainloop tests 1598s ok 22 /mainloop/basic 1598s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1598s ok 24 /mainloop/priorities 1599s ok 25 /mainloop/invoke 1599s # slow test /mainloop/invoke executed in 0.50 secs 1600s ok 26 /mainloop/child_sources 1600s # slow test /mainloop/child_sources executed in 1.19 secs 1601s # Executing: glib/mainloop.test 1602s ok 27 /mainloop/recursive_child_sources 1602s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1602s ok 28 /mainloop/recursive_loop_child_sources 1602s ok 29 /mainloop/swapping_child_sources 1602s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1602s ok 30 /mainloop/blocked_child_sources 1603s ok 31 /mainloop/source_time 1603s # slow test /mainloop/source_time executed in 1.00 secs 1603s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1603s ok 32 /mainloop/overflow 1604s ok 33 /mainloop/ready-time 1604s # slow test /mainloop/ready-time executed in 0.50 secs 1604s ok 34 /mainloop/wakeup 1604s ok 35 /mainloop/remove-invalid 1604s ok 36 /mainloop/unref-while-pending 1605s ok 37 /mainloop/unix-fd 1605s # slow test /mainloop/unix-fd executed in 1.56 secs 1605s ok 38 /mainloop/unix-fd-source 1605s ok 39 /mainloop/source-unix-fd-api 1605s ok 40 /mainloop/wait 1605s ok 41 /mainloop/unix-file-poll 1605s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1605s ok 42 /mainloop/unix-fd-priority 1605s ok 43 /mainloop/nfds 1605s ok 44 /mainloop/steal-fd 1606s # Executing: glib/mainloop.test 1607s ok 45 /mainloop/simultaneous-source-context-destruction 1607s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.27 secs 1607s # Start of ownerless-polling tests 1607s ok 46 /mainloop/ownerless-polling/attach-first 1607s ok 47 /mainloop/ownerless-polling/pop-first 1607s # End of ownerless-polling tests 1607s # End of mainloop tests 1607s ok - glib/mainloop.test 1607s # Running test: glib/gdbus-close-pending.test 1607s TAP version 14 1607s # random seed: R02Se1c3276d8fc76f3e78bfd5e004878d16 1607s 1..2 1607s # Start of gdbus tests 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/close-pending/.dirs/runtime 1607s ok 1 /gdbus/close-pending 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_ULGFK3/gdbus/unref-pending/.dirs/runtime 1607s ok - glib/gdbus-close-pending.test 1607s ok 2 /gdbus/unref-pending 1607s # End of gdbus tests 1607s TAP version 14 1607s # random seed: R02S78593be44a26d352a4fce19eb0d96477 1607s 1..36 1607s # Start of keyfile tests 1607s # Running test: glib/keyfile.test 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/line-ends/.dirs/runtime 1607s ok 1 /keyfile/line-ends 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/whitespace/.dirs/runtime 1607s ok 2 /keyfile/whitespace 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/comments/.dirs/runtime 1607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1607s ok 3 /keyfile/comments 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/listing/.dirs/runtime 1607s ok 4 /keyfile/listing 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/string/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/string/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/string/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/string/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/string/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/string/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/string/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/string/.dirs/runtime 1607s ok 5 /keyfile/string 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/boolean/.dirs/runtime 1607s ok 6 /keyfile/boolean 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/number/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/number/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/number/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/number/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/number/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/number/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/number/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/number/.dirs/runtime 1607s ok 7 /keyfile/number 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/locale-string/.dirs/runtime 1607s ok 8 /keyfile/locale-string 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/lists/.dirs/runtime 1607s ok 9 /keyfile/lists 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/lists-set-get/.dirs/runtime 1607s ok 10 /keyfile/lists-set-get 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/group-remove/.dirs/runtime 1607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1607s ok 11 /keyfile/group-remove 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/key-remove/.dirs/runtime 1607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1607s ok 12 /keyfile/key-remove 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/groups/.dirs/runtime 1607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1607s ok 13 /keyfile/groups 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/duplicate-keys/.dirs/runtime 1607s ok 14 /keyfile/duplicate-keys 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups/.dirs/runtime 1607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1607s ok 15 /keyfile/duplicate-groups 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/duplicate-groups2/.dirs/runtime 1607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1607s ok 16 /keyfile/duplicate-groups2 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/group-names/.dirs/runtime 1607s ok 17 /keyfile/group-names 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/key-names/.dirs/runtime 1607s ok 18 /keyfile/key-names 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/reload/.dirs/runtime 1607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1607s ok 19 /keyfile/reload 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/int64/.dirs/runtime 1607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1607s ok 20 /keyfile/int64 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/load/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/load/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/load/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/load/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/load/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/load/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/load/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/load/.dirs/runtime 1607s ok 21 /keyfile/load 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/save/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/save/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/save/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/save/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/save/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/save/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/save/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/save/.dirs/runtime 1607s ok 22 /keyfile/save 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/load-fail/.dirs/runtime 1607s ok 23 /keyfile/load-fail 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/non-utf8/.dirs/runtime 1607s ok 24 /keyfile/non-utf8 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/page-boundary/.dirs/runtime 1607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1607s ok 25 /keyfile/page-boundary 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/ref/.dirs/runtime 1607s ok 26 /keyfile/ref 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/system-data2 1607s ok - glib/keyfile.test 1607s # Running test: glib/private.test 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/replace-value/.dirs/runtime 1607s ok 27 /keyfile/replace-value 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/list-separator/.dirs/runtime 1607s ok 28 /keyfile/list-separator 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/empty-string/.dirs/runtime 1607s ok 29 /keyfile/empty-string 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/limbo/.dirs/runtime 1607s ok 30 /keyfile/limbo 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/utf8/.dirs/runtime 1607s # Testing invalid encoding ‘non-UTF-8’ 1607s # Testing invalid encoding ‘UTF’ 1607s # Testing invalid encoding ‘UTF-9’ 1607s ok 31 /keyfile/utf8 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/roundtrip/.dirs/runtime 1607s ok 32 /keyfile/roundtrip 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/bytes/.dirs/runtime 1607s ok 33 /keyfile/bytes 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/get-locale/.dirs/runtime 1607s ok 34 /keyfile/get-locale 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/free-when-not-last-ref/.dirs/runtime 1607s ok 35 /keyfile/free-when-not-last-ref 1607s # Start of locale-string tests 1607s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/home 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/cache 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/system-config2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/config 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/system-data2 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/data 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/state 1607s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_19X8J3/keyfile/locale-string/multiple-loads/.dirs/runtime 1607s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1607s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1607s ok 36 /keyfile/locale-string/multiple-loads 1607s # End of locale-string tests 1607s # End of keyfile tests 1607s TAP version 14 1607s # random seed: R02S8aacf9d9256628148d43b20ada35547f 1607s 1..8 1607s # Start of thread tests 1607s ok 1 /thread/private1 1608s ok 2 /thread/private2 1608s # slow test /thread/private2 executed in 1.09 secs 1608s ok 3 /thread/private3 1608s ok 4 /thread/staticprivate1 1608s ok 5 /thread/staticprivate2 1608s ok 6 /thread/staticprivate3 1609s ok 7 /thread/staticprivate4 1609s # slow test /thread/staticprivate4 executed in 1.09 secs 1609s ok 8 /thread/staticprivate5 1609s # End of thread tests 1609s ok - glib/private.test 1609s # Running test: glib/convert.test 1609s TAP version 14 1609s # random seed: R02S2e1b4d400333096fe9b0d8a27be68b78 1609s 1..14 1609s # Start of conversion tests 1609s ok 1 /conversion/no-conv 1609s ok 2 /conversion/iconv-state 1609s ok 3 /conversion/illegal-sequence 1609s ok 4 /conversion/byte-order 1609s ok 5 /conversion/unicode 1609s ok 6 /conversion/filename-utf8 1609s ok 7 /conversion/filename-display 1609s ok 8 /conversion/convert-embedded-nul 1609s # Start of locale-to-utf8 tests 1609s ok 9 /conversion/locale-to-utf8/embedded-nul 1609s # Start of embedded-nul tests 1609s # Start of subprocess tests 1610s ok - glib/convert.test 1610s # Running test: glib/power-profile-monitor-portal.test 1610s # End of subprocess tests 1610s # End of embedded-nul tests 1610s # End of locale-to-utf8 tests 1610s # Start of locale-from-utf8 tests 1610s ok 10 /conversion/locale-from-utf8/embedded-nul 1610s # Start of embedded-nul tests 1610s # Start of subprocess tests 1610s # End of subprocess tests 1610s # End of embedded-nul tests 1610s # End of locale-from-utf8 tests 1610s # Start of filename-to-utf8 tests 1610s ok 11 /conversion/filename-to-utf8/embedded-nul 1610s # Start of embedded-nul tests 1610s # Start of subprocess tests 1610s # End of subprocess tests 1610s # End of embedded-nul tests 1610s # End of filename-to-utf8 tests 1610s # Start of filename-from-utf8 tests 1610s ok 12 /conversion/filename-from-utf8/embedded-nul 1610s # Start of embedded-nul tests 1610s # Start of subprocess tests 1610s # End of subprocess tests 1610s # End of embedded-nul tests 1610s # End of filename-from-utf8 tests 1610s # Start of filename-from-uri tests 1610s ok 13 /conversion/filename-from-uri/query-is-ignored 1610s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1610s # End of filename-from-uri tests 1610s # End of conversion tests 1610s TAP version 13 1610s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1610s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1610s 1..2 1610s ok - glib/power-profile-monitor-portal.test 1610s # Running test: glib/cxx-98.test 1610s TAP version 14 1610s # random seed: R02S2c908b6959fc65c223817f34652ffe1c 1610s 1..2 1610s # Start of gtask tests 1610s # 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. 1610s ok 1 /gtask/name 1610s # Start of name tests 1610s # 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. 1610s ok 2 /gtask/name/macro-wrapper 1610s # End of name tests 1610s # End of gtask tests 1610s ok - glib/cxx-98.test 1610s # Running test: glib/utils-unisolated.test 1610s TAP version 14 1610s # random seed: R02Sdc6850689f9a88685a6ff102aed62267 1610s 1..1 1610s # Start of utils tests 1610s ok 1 /utils/xdgdirs 1610s # End of utils tests 1610s ok - glib/utils-unisolated.test 1610s # Running test: glib/g-file-info-filesystem-readonly.test 1610s ok - glib/g-file-info-filesystem-readonly.test 1610s # Running test: glib/cxx-14.test 1610s ok - glib/cxx-14.test 1610s # SUMMARY: total=332; passed=331; skipped=1; failed=0; user=264.5s; system=74.5s; maxrss=163840 1610s TAP version 14 1610s # random seed: R02S7bf26ef7daa653b634b9218f7204a9d7 1610s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1610s 1..2 1610s # Start of g-file-info-filesystem-readonly tests 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 1610s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 1610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_FG0BK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 1610s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1610s # End of g-file-info-filesystem-readonly tests 1610s TAP version 14 1610s # random seed: R02Scb8cb8e08466b4623878d468ef9fc702 1610s 1..2 1610s # Start of gtask tests 1610s # 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. 1610s ok 1 /gtask/name 1610s # Start of name tests 1610s # 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. 1610s ok 2 /gtask/name/macro-wrapper 1610s # End of name tests 1610s # End of gtask tests 1610s autopkgtest [04:41:37]: test installed-tests: -----------------------] 1611s autopkgtest [04:41:38]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1611s installed-tests PASS 1611s autopkgtest [04:41:38]: test closure-refcount: preparing testbed 1612s Reading package lists... 1612s Building dependency tree... 1612s Reading state information... 1612s Solving dependencies... 1612s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1613s autopkgtest [04:41:40]: test closure-refcount: [----------------------- 1613s Running test: glib/closure-refcount.test 1613s TAP version 14 1613s # random seed: R02Se1c0939300cca53713e1eca1436a8c9b 1613s 1..1 1613s # Start of closure tests 1613s # Init 0x1218d4266db0 1613s # Yielding from main thread 1613s # Yielding from main thread 1613s # Yielding from main thread 1613s # Yielding from main thread 1613s # Yielding from main thread 1613s # Yielding from main thread 1613s # Yielding from thread1 1613s # Yielding from main thread 1613s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from thread2 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from thread1 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from thread2 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from main thread 1614s # Yielding from thread2 1614s # Yielding from main thread 1614s # Yielding from thread1 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from thread1 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from thread2 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from thread1 1615s # Yielding from main thread 1615s # Yielding from main thread 1615s # Yielding from thread2 1615s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from thread1 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from thread2 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from thread1 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from main thread 1616s # Yielding from thread2 1616s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from thread1 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from thread2 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from thread1 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from main thread 1617s # Yielding from thread2 1617s # Yielding from main thread 1617s # Yielding from main thread 1618s # Yielding from thread1 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from thread2 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s Executing: glib/closure-refcount.test 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from thread1 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from thread2 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1618s # Yielding from main thread 1619s # Stopping 1619s # Stopped 1619s ok 1 /closure/refcount 1619s # slow test /closure/refcount executed in 5.54 secs 1619s # End of closure tests 1619s PASS: glib/closure-refcount.test 1619s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=11.0s; system=0.0s; maxrss=4096 1619s autopkgtest [04:41:46]: test closure-refcount: -----------------------] 1619s autopkgtest [04:41:46]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1619s closure-refcount PASS 1620s autopkgtest [04:41:47]: test debugcontroller: preparing testbed 1620s Reading package lists... 1620s Building dependency tree... 1620s Reading state information... 1620s Solving dependencies... 1620s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1621s autopkgtest [04:41:48]: test debugcontroller: [----------------------- 1621s Running test: glib/debugcontroller.test 1621s TAP version 14 1621s # random seed: R02S64d14698648939c8f6d49fd59760d846 1621s 1..3 1621s # Start of debug-controller tests 1621s # Start of dbus tests 1621s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1621s # GLib-GIO-DEBUG: Debug output enabled 1621s # GLib-GIO-DEBUG: Debug output disabled 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s ok 1 /debug-controller/dbus/basic 1621s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s ok 2 /debug-controller/dbus/duplicate 1621s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1621s # GLib-GIO-DEBUG: Debug output enabled 1621s # GLib-GIO-DEBUG: Debug output disabled 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1621s ok 3 /debug-controller/dbus/properties 1621s # End of dbus tests 1621s # End of debug-controller tests 1621s PASS: glib/debugcontroller.test 1621s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1622s autopkgtest [04:41:49]: test debugcontroller: -----------------------] 1622s debugcontroller PASS 1622s autopkgtest [04:41:49]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1622s autopkgtest [04:41:49]: test gdbus-server-auth: preparing testbed 1623s Reading package lists... 1623s Building dependency tree... 1623s Reading state information... 1623s Solving dependencies... 1623s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1624s autopkgtest [04:41:51]: test gdbus-server-auth: [----------------------- 1624s Running test: glib/gdbus-server-auth.test 1624s TAP version 14 1624s # random seed: R02S4b478c1b7947e3a40403e92777ed0ae1 1624s 1..9 1624s # Start of gdbus tests 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/.dirs/runtime 1624s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-X7XDK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1624s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-X7XDK3/dbus-iPY0n4ew 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40269 1624s ok 1 /gdbus/server-auth 1624s # Start of server-auth tests 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/abstract/.dirs/runtime 1624s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-WKHEK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1624s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-WKHEK3/dbus-9OvqMgKT 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40269 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1624s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40269 1624s ok 2 /gdbus/server-auth/abstract 1624s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/home 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/cache 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/system-config2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/config 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/system-data2 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/data 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/state 1624s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/tcp/.dirs/runtime 1624s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1624s # Connectable address: tcp:host=127.0.0.1,port=41289 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1624s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1624s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1624s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1624s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1624s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1624s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1625s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1625s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1625s ok 3 /gdbus/server-auth/tcp 1625s # slow test /gdbus/server-auth/tcp executed in 0.91 secs 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/.dirs/runtime 1625s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-4F2CK3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1625s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-4F2CK3/dbus-IULhYEpK 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40269 1625s ok 4 /gdbus/server-auth/anonymous 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/.dirs/runtime 1625s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-X43CK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1625s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-X43CK3/dbus-r5yI6AqW 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1625s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40269 1625s ok 5 /gdbus/server-auth/external 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/.dirs/runtime 1625s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-E2GDK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1625s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-E2GDK3/dbus-IuVJJ9bg 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40269 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1625s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40269 1625s ok 6 /gdbus/server-auth/sha1 1625s # Start of anonymous tests 1625s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/home 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/config 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/data 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/state 1625s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1625s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1625s # Connectable address: tcp:host=127.0.0.1,port=38397 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1625s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1625s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1625s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1625s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1626s ok 7 /gdbus/server-auth/anonymous/tcp 1626s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1626s # End of anonymous tests 1626s # Start of external tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1626s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-IOCCK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1626s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PCYDK3/gdbus-server-auth-IOCCK3/dbus-2T48B9TA 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40269 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1626s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40269,uid=1000,gid=1000 1626s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40269 1626s ok 8 /gdbus/server-auth/external/require-same-user 1626s # End of external tests 1626s # Start of sha1 tests 1626s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/home 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/cache 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/config 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/data 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/state 1626s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PCYDK3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1626s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1626s # Connectable address: tcp:host=127.0.0.1,port=44317 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1626s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1626s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1626s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1626s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1626s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1627s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1627s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1627s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1627s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1627s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1627s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1627s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1627s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1627s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1627s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1627s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1627s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1627s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1627s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1627s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1627s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1627s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1627s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1627s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1627s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1627s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1627s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1627s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1627s ok 9 /gdbus/server-auth/sha1/tcp 1627s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 1627s # End of sha1 tests 1627s # End of server-auth tests 1627s # End of gdbus tests 1627s PASS: glib/gdbus-server-auth.test 1627s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 1627s autopkgtest [04:41:54]: test gdbus-server-auth: -----------------------] 1628s gdbus-server-auth PASS 1628s autopkgtest [04:41:55]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1628s autopkgtest [04:41:55]: test gdbus-threading: preparing testbed 1628s Reading package lists... 1628s Building dependency tree... 1628s Reading state information... 1628s Solving dependencies... 1629s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1629s autopkgtest [04:41:56]: test gdbus-threading: [----------------------- 1630s Running test: glib/gdbus-threading.test 1630s TAP version 14 1630s # random seed: R02S73bef20abe78a4b45b90edc6b4d352da 1630s 1..3 1630s # Start of gdbus tests 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_V16EK3/gdbus/delivery-in-thread/.dirs/runtime 1630s ok 1 /gdbus/delivery-in-thread 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_V16EK3/gdbus/method-calls-in-thread/.dirs/runtime 1630s ok 2 /gdbus/method-calls-in-thread 1630s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 1630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/home 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/cache 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/system-config2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/config 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/system-data2 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/data 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/state 1630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_V16EK3/gdbus/threaded-singleton/.dirs/runtime 1631s ok 3 /gdbus/threaded-singleton 1631s # slow test /gdbus/threaded-singleton executed in 1.01 secs 1631s # End of gdbus tests 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1631s PASS: glib/gdbus-threading.test 1631s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.2s; maxrss=8192 1632s autopkgtest [04:41:59]: test gdbus-threading: -----------------------] 1632s gdbus-threading PASS 1632s autopkgtest [04:41:59]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1632s autopkgtest [04:41:59]: test gmenumodel: preparing testbed 1633s Reading package lists... 1633s Building dependency tree... 1633s Reading state information... 1633s Solving dependencies... 1633s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1634s autopkgtest [04:42:01]: test gmenumodel: [----------------------- 1634s Running test: glib/gmenumodel.test 1634s TAP version 14 1634s # random seed: R02Sca7852303b8cd9c0cffdc2df260cd8a5 1634s 1..15 1634s # Start of gmenu tests 1635s ok 1 /gmenu/equality 1635s # slow test /gmenu/equality executed in 1.44 secs 1637s ok 2 /gmenu/random 1637s # slow test /gmenu/random executed in 1.90 secs 1637s ok 3 /gmenu/attributes 1637s ok 4 /gmenu/links 1637s ok 5 /gmenu/mutable 1637s ok 6 /gmenu/convenience 1637s ok 7 /gmenu/menuitem 1637s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1637s ok 8 /gmenu/input-validation 1637s # Start of dbus tests 1638s ok 9 /gmenu/dbus/roundtrip 1638s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1639s ok 10 /gmenu/dbus/subscriptions 1639s Executing: glib/gmenumodel.test 1640s ok 11 /gmenu/dbus/threaded 1640s # slow test /gmenu/dbus/threaded executed in 1.47 secs 1640s # Start of peer tests 1641s ok 12 /gmenu/dbus/peer/roundtrip 1641s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 1642s ok 13 /gmenu/dbus/peer/subscriptions 1642s # End of peer tests 1642s # Start of export tests 1642s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1642s ok 14 /gmenu/dbus/export/error-handling 1642s # End of export tests 1642s # End of dbus tests 1642s # Start of attributes tests 1642s ok 15 /gmenu/attributes/iterate 1642s # End of attributes tests 1642s # End of gmenu tests 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1642s PASS: glib/gmenumodel.test 1642s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.9s; system=0.3s; maxrss=24576 1642s autopkgtest [04:42:09]: test gmenumodel: -----------------------] 1642s gmenumodel PASS 1642s autopkgtest [04:42:09]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1643s autopkgtest [04:42:10]: test mainloop: preparing testbed 1643s Reading package lists... 1643s Building dependency tree... 1643s Reading state information... 1643s Solving dependencies... 1643s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1644s autopkgtest [04:42:11]: test mainloop: [----------------------- 1645s Running test: glib/mainloop.test 1645s TAP version 14 1645s # random seed: R02S9ecf79665b95c94a276881191a11d83d 1645s 1..47 1645s # Start of maincontext tests 1645s ok 1 /maincontext/basic 1645s # Add same-priority sources: 44 1645s # Find each source: 21 1645s # Remove in random order: 60 1645s ok 2 /maincontext/nsources_same_priority 1645s # Add different-priority sources: 47 1645s # Find each source: 20 1645s # Remove in random order: 64 1645s ok 3 /maincontext/nsources_different_priority 1645s # Add sources from threads: 283 1646s # Remove sources from threads: 91 1646s ok 4 /maincontext/nsources_threadpool 1646s ok 5 /maincontext/source_finalization 1646s # /maincontext/idle-once summary: Test g_idle_add_once() works 1646s ok 6 /maincontext/idle-once 1646s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1646s ok 7 /maincontext/timeout-once 1646s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1646s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1646s # Start of source_finalization_from_source tests 1646s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 9 /maincontext/source_finalization_from_source/0 1646s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 10 /maincontext/source_finalization_from_source/1 1646s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 11 /maincontext/source_finalization_from_source/2 1646s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 12 /maincontext/source_finalization_from_source/3 1646s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 13 /maincontext/source_finalization_from_source/4 1646s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 14 /maincontext/source_finalization_from_source/5 1646s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 15 /maincontext/source_finalization_from_source/6 1646s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 16 /maincontext/source_finalization_from_source/7 1646s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 17 /maincontext/source_finalization_from_source/8 1646s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1646s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1646s ok 18 /maincontext/source_finalization_from_source/9 1646s # End of source_finalization_from_source tests 1646s # Start of source_finalization_from_dispatch tests 1646s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1646s ok 19 /maincontext/source_finalization_from_dispatch/0 1646s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1646s ok 20 /maincontext/source_finalization_from_dispatch/1 1646s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1646s ok 21 /maincontext/source_finalization_from_dispatch/2 1646s # End of source_finalization_from_dispatch tests 1646s # End of maincontext tests 1646s # Start of mainloop tests 1646s ok 22 /mainloop/basic 1646s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1646s ok 24 /mainloop/priorities 1646s ok 25 /mainloop/invoke 1646s # slow test /mainloop/invoke executed in 0.50 secs 1647s ok 26 /mainloop/child_sources 1647s # slow test /mainloop/child_sources executed in 1.23 secs 1650s ok 27 /mainloop/recursive_child_sources 1650s # slow test /mainloop/recursive_child_sources executed in 2.37 secs 1650s ok 28 /mainloop/recursive_loop_child_sources 1650s ok 29 /mainloop/swapping_child_sources 1650s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1650s ok 30 /mainloop/blocked_child_sources 1650s Executing: glib/mainloop.test 1651s ok 31 /mainloop/source_time 1651s # slow test /mainloop/source_time executed in 1.00 secs 1651s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1651s ok 32 /mainloop/overflow 1651s ok 33 /mainloop/ready-time 1651s # slow test /mainloop/ready-time executed in 0.51 secs 1651s ok 34 /mainloop/wakeup 1651s ok 35 /mainloop/remove-invalid 1651s ok 36 /mainloop/unref-while-pending 1653s ok 37 /mainloop/unix-fd 1653s # slow test /mainloop/unix-fd executed in 1.59 secs 1653s ok 38 /mainloop/unix-fd-source 1653s ok 39 /mainloop/source-unix-fd-api 1653s ok 40 /mainloop/wait 1653s ok 41 /mainloop/unix-file-poll 1653s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1653s ok 42 /mainloop/unix-fd-priority 1653s ok 43 /mainloop/nfds 1653s ok 44 /mainloop/steal-fd 1654s ok 45 /mainloop/simultaneous-source-context-destruction 1654s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.23 secs 1654s # Start of ownerless-polling tests 1654s ok 46 /mainloop/ownerless-polling/attach-first 1654s ok 47 /mainloop/ownerless-polling/pop-first 1654s # End of ownerless-polling tests 1654s # End of mainloop tests 1654s PASS: glib/mainloop.test 1654s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.7s; system=3.0s; maxrss=30720 1655s autopkgtest [04:42:22]: test mainloop: -----------------------] 1655s mainloop PASS 1655s autopkgtest [04:42:22]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1655s autopkgtest [04:42:22]: test memory-monitor-dbus: preparing testbed 1656s Reading package lists... 1656s Building dependency tree... 1656s Reading state information... 1656s Solving dependencies... 1656s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1657s autopkgtest [04:42:24]: test memory-monitor-dbus: [----------------------- 1657s Running test: glib/memory-monitor-dbus.test 1657s TAP version 13 1657s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1657s # Received memory warning signal, level 0 1657s # Received memory warning signal, level 100 1657s # Received memory warning signal, level 255 1657s 1..1 1657s PASS: glib/memory-monitor-dbus.test 1657s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=38976 1657s autopkgtest [04:42:24]: test memory-monitor-dbus: -----------------------] 1658s memory-monitor-dbus PASS 1658s autopkgtest [04:42:25]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1658s autopkgtest [04:42:25]: test socket: preparing testbed 1658s Reading package lists... 1659s Building dependency tree... 1659s Reading state information... 1659s Solving dependencies... 1659s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1660s autopkgtest [04:42:27]: test socket: [----------------------- 1660s Running test: glib/socket.test 1660s TAP version 14 1660s # random seed: R02S8aa1f8b7af1b815ebdf817aade6a4f13 1660s 1..30 1660s # Start of socket tests 1661s ok 1 /socket/ipv4_sync 1661s # slow test /socket/ipv4_sync executed in 1.00 secs 1662s ok 2 /socket/ipv4_async 1662s # slow test /socket/ipv4_async executed in 1.00 secs 1662s ok 3 /socket/ipv6_sync 1662s ok 4 /socket/ipv6_async 1662s ok 5 /socket/ipv6_v4mapped 1663s ok 6 /socket/close_graceful 1663s # slow test /socket/close_graceful executed in 1.00 secs 1663s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1663s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1663s ok 8 /socket/fd_reuse 1663s ok 9 /socket/address 1663s ok 10 /socket/unix-from-fd 1663s ok 11 /socket/unix-connection 1663s ok 12 /socket/unix-connection-ancillary-data 1663s ok 13 /socket/source-postmortem 1663s ok 14 /socket/read_write 1663s ok 15 /socket/read_writev 1663s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1663s ok 16 /socket/receive_bytes 1663s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1663s ok 17 /socket/receive_bytes_from 1663s # Start of ipv4_sync tests 1663s ok 18 /socket/ipv4_sync/datagram 1663s # Start of datagram tests 1664s ok 19 /socket/ipv4_sync/datagram/timeouts 1664s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1664s # End of datagram tests 1664s # End of ipv4_sync tests 1664s # Start of ipv6_sync tests 1664s ok 20 /socket/ipv6_sync/datagram 1664s # Start of datagram tests 1665s ok 21 /socket/ipv6_sync/datagram/timeouts 1665s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1665s # End of datagram tests 1665s # End of ipv6_sync tests 1665s # Start of reuse tests 1665s ok 22 /socket/reuse/tcp 1665s ok 23 /socket/reuse/udp 1665s # End of reuse tests 1665s # Start of get_available tests 1665s Executing: glib/socket.test 1665s ok 24 /socket/get_available/datagram 1665s ok 25 /socket/get_available/stream 1665s # End of get_available tests 1665s # Start of credentials tests 1665s # Supported on this OS: GCredentials:linux-ucred:pid=0 1665s ok 26 /socket/credentials/tcp_client 1665s # Supported on this OS: GCredentials:linux-ucred:pid=0 1665s ok 27 /socket/credentials/tcp_server 1665s # Supported on this OS: GCredentials:linux-ucred:pid=66269,uid=1000,gid=1000 1665s ok 28 /socket/credentials/unix_socketpair 1665s # End of credentials tests 1665s # Start of accept tests 1665s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1665s ok 29 /socket/accept/cancelled 1665s # End of accept tests 1665s # Start of connect tests 1665s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1665s ok 30 /socket/connect/cancelled 1665s # End of connect tests 1665s # End of socket tests 1665s PASS: glib/socket.test 1665s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1665s autopkgtest [04:42:32]: test socket: -----------------------] 1666s socket PASS 1666s autopkgtest [04:42:33]: test socket: - - - - - - - - - - results - - - - - - - - - - 1666s autopkgtest [04:42:33]: test testfilemonitor: preparing testbed 1666s Reading package lists... 1666s Building dependency tree... 1666s Reading state information... 1667s Solving dependencies... 1667s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1667s autopkgtest [04:42:34]: test testfilemonitor: [----------------------- 1668s Running test: glib/testfilemonitor.test 1668s TAP version 14 1668s # random seed: R02Sadcc0a95e22c96318164a79ed51f6a73 1668s 1..8 1668s # Start of monitor tests 1668s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1668s # Using temporary directory: /tmp/gio-test-testfilemonitor_N6JPK3 1668s # Using GFileMonitor GInotifyFileMonitor 1670s ok 1 /monitor/atomic-replace 1670s # slow test /monitor/atomic-replace executed in 2.00 secs 1670s # Using temporary directory: /tmp/gio-test-testfilemonitor_9XHPK3 1670s # Using GFileMonitor GInotifyFileMonitor 1672s ok 2 /monitor/file-changes 1672s # slow test /monitor/file-changes executed in 2.50 secs 1672s # Using temporary directory: /tmp/gio-test-testfilemonitor_4LH3J3 1672s # Using GFileMonitor GInotifyFileMonitor 1673s Executing: glib/testfilemonitor.test 1676s ok 3 /monitor/dir-monitor 1676s # slow test /monitor/dir-monitor executed in 3.51 secs 1676s # Using temporary directory: /tmp/gio-test-testfilemonitor_UDNPK3 1676s # Using GFileMonitor GInotifyFileMonitor 1678s Executing: glib/testfilemonitor.test 1683s Executing: glib/testfilemonitor.test 1688s Executing: glib/testfilemonitor.test 1693s Executing: glib/testfilemonitor.test 1698s Executing: glib/testfilemonitor.test 1701s ok 4 /monitor/dir-not-existent 1701s # slow test /monitor/dir-not-existent executed in 25.02 secs 1701s # Using temporary directory: /tmp/gio-test-testfilemonitor_SYYEK3 1701s # Using GFileMonitor 0 GInotifyFileMonitor 1701s # Using GFileMonitor 1 GInotifyFileMonitor 1703s ok 5 /monitor/cross-dir-moves 1703s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1703s # Using temporary directory: /tmp/gio-test-testfilemonitor_NTWEK3 1703s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1703s ok 6 /monitor/finalize-in-callback 1703s # Using temporary directory: /tmp/gio-test-testfilemonitor_L44EK3 1703s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1703s ok 7 /monitor/root 1703s # Start of file tests 1703s # Using temporary directory: /tmp/gio-test-testfilemonitor_4Y4EK3 1703s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1703s # Running with hard link tests 1703s # Using GFileMonitor GInotifyFileMonitor 1703s Executing: glib/testfilemonitor.test 1706s # Event 0 at expected index 7 skipped because it is marked as optional 1706s # Event 2 at expected index 11 skipped because it is marked as optional 1706s ok 8 /monitor/file/hard-links 1706s # slow test /monitor/file/hard-links executed in 3.50 secs 1706s # End of file tests 1706s # End of monitor tests 1706s PASS: glib/testfilemonitor.test 1706s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1706s autopkgtest [04:43:13]: test testfilemonitor: -----------------------] 1707s autopkgtest [04:43:14]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1707s testfilemonitor PASS 1707s autopkgtest [04:43:14]: test thread-pool-slow: preparing testbed 1707s Reading package lists... 1708s Building dependency tree... 1708s Reading state information... 1708s Solving dependencies... 1708s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1709s autopkgtest [04:43:16]: test thread-pool-slow: [----------------------- 1709s Running test: glib/thread-pool-slow.test 1709s TAP version 14 1709s # random seed: R02Se5e61a9c4597badc658124a21dfe16ee 1709s 1..7 1709s # Start of threadpool tests 1709s ok 1 /threadpool/functions 1709s ok 2 /threadpool/stop-unused 1709s # slow test /threadpool/stop-unused executed in 0.51 secs 1709s ok 3 /threadpool/pools 1709s # [unsorted] ===> pushed new thread with id:38, number of threads:1, unprocessed:0 1709s # [unsorted] ===> pushed new thread with id:91, number of threads:2, unprocessed:0 1709s # [unsorted] ===> pushed new thread with id:96, number of threads:3, unprocessed:1 1709s # [unsorted] ===> pushed new thread with id:78, number of threads:4, unprocessed:2 1709s # [unsorted] ===> pushed new thread with id:55, number of threads:5, unprocessed:3 1709s # [unsorted] ===> pushed new thread with id:76, number of threads:6, unprocessed:4 1709s # [unsorted] ===> pushed new thread with id:2, number of threads:7, unprocessed:5 1709s # [unsorted] ===> pushed new thread with id:30, number of threads:8, unprocessed:6 1709s # [unsorted] ===> pushed new thread with id:25, number of threads:9, unprocessed:7 1709s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:8 1709s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:9 1709s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:10 1709s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:11 1709s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:12 1709s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:13 1709s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:14 1709s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:15 1709s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:16 1709s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:17 1709s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:18 1709s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:19 1709s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:20 1709s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:21 1709s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:22 1709s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:23 1709s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:24 1709s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:25 1709s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:26 1709s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:27 1709s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:28 1709s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:29 1709s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:30 1709s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:31 1709s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:32 1709s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:33 1709s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:34 1709s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:35 1709s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:36 1709s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:37 1709s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:38 1709s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:39 1709s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:40 1709s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:41 1709s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:42 1709s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:43 1709s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:44 1709s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:45 1709s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:46 1709s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:47 1709s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:48 1709s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:49 1709s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:50 1709s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:51 1709s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:52 1709s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:53 1709s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:54 1709s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:55 1709s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:56 1709s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:57 1709s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:58 1709s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:59 1709s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:60 1709s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:61 1709s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:62 1709s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:63 1709s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:64 1709s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:65 1709s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:66 1709s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:67 1709s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:68 1709s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:69 1709s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:70 1709s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:71 1709s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:72 1709s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:73 1709s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:74 1709s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:75 1709s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:76 1709s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:77 1709s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:78 1709s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:79 1709s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:80 1709s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:81 1709s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:82 1709s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:83 1709s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:84 1709s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:85 1709s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:86 1709s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:87 1709s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:88 1709s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:89 1709s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:90 1709s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:91 1709s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:92 1709s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:93 1709s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:94 1709s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:95 1709s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:96 1709s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:97 1709s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:98 1709s ok 4 /threadpool/no-sort 1709s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:1 1709s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:2 1709s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:3 1709s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:4 1709s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:5 1709s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:6 1709s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:7 1709s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:8 1709s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:9 1709s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:10 1709s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:11 1709s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:12 1709s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:13 1709s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:14 1709s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:15 1709s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:16 1709s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:17 1709s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:18 1709s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:19 1709s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:20 1709s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:21 1709s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:22 1709s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:23 1709s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:24 1709s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:25 1709s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:26 1709s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:27 1709s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:28 1709s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:29 1709s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:30 1709s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:31 1709s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:32 1709s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:33 1709s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:34 1709s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:35 1709s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:36 1709s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:37 1709s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:38 1709s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:39 1709s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:40 1709s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:41 1709s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:42 1709s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:43 1709s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:44 1709s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:45 1709s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:46 1709s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:47 1709s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:48 1709s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:49 1709s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:50 1709s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:51 1709s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:52 1709s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:53 1709s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:54 1709s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:55 1709s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:56 1709s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:57 1709s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:58 1709s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:59 1709s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:60 1709s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:61 1709s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:62 1709s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:63 1709s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:64 1709s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:65 1709s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:66 1709s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:67 1709s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:68 1709s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:69 1709s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:70 1709s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:71 1709s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:72 1709s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:73 1709s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:74 1709s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:75 1709s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:76 1709s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:77 1709s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:78 1709s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:79 1709s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:80 1709s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:81 1709s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:82 1709s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:83 1709s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:84 1709s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:85 1709s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:86 1709s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:87 1709s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:88 1709s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:89 1709s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:90 1709s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:91 1709s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:92 1709s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:93 1709s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:94 1709s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:95 1709s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:96 1709s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:97 1709s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:98 1709s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:99 1709s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:100 1709s # Starting thread pool processing 1709s ok 5 /threadpool/sort 1710s ok 6 /threadpool/stop-unused-multiple 1710s # slow test /threadpool/stop-unused-multiple executed in 0.53 secs 1710s # Pool idle thread count: 0, unprocessed jobs: 50 1710s # Pool idle thread count: 0, unprocessed jobs: 0 1710s # Pool idle thread count: 0, unprocessed jobs: 0 1711s # Pool idle thread count: 10, unprocessed jobs: 0 1711s # Pool idle thread count: 10, unprocessed jobs: 0 1711s # Pool idle thread count: 10, unprocessed jobs: 0 1711s # Pool idle thread count: 10, unprocessed jobs: 0 1712s # Pool idle thread count: 10, unprocessed jobs: 0 1712s # Pool idle thread count: 10, unprocessed jobs: 0 1712s # Pool idle thread count: 10, unprocessed jobs: 0 1712s # Pool idle thread count: 10, unprocessed jobs: 0 1713s # Pool idle thread count: 10, unprocessed jobs: 0 1713s # Pool idle thread count: 10, unprocessed jobs: 0 1713s # Pool idle thread count: 10, unprocessed jobs: 0 1713s # Pool idle thread count: 10, unprocessed jobs: 0 1714s # Pool idle thread count: 10, unprocessed jobs: 0 1714s # Pool idle thread count: 10, unprocessed jobs: 0 1714s Executing: glib/thread-pool-slow.test 1714s # Pool idle thread count: 10, unprocessed jobs: 0 1714s # Pool idle thread count: 10, unprocessed jobs: 0 1715s # Pool idle thread count: 10, unprocessed jobs: 0 1715s # Pool idle thread count: 10, unprocessed jobs: 0 1715s # Pool idle thread count: 10, unprocessed jobs: 0 1715s # Pool idle thread count: 10, unprocessed jobs: 0 1716s # Pool idle thread count: 10, unprocessed jobs: 0 1716s # Pool idle thread count: 10, unprocessed jobs: 0 1716s # Pool idle thread count: 10, unprocessed jobs: 0 1716s # Pool idle thread count: 10, unprocessed jobs: 0 1717s # Pool idle thread count: 10, unprocessed jobs: 0 1717s # Pool idle thread count: 10, unprocessed jobs: 0 1717s # Pool idle thread count: 10, unprocessed jobs: 0 1717s # Pool idle thread count: 10, unprocessed jobs: 0 1718s # Pool idle thread count: 10, unprocessed jobs: 0 1718s # Pool idle thread count: 10, unprocessed jobs: 0 1718s # Pool idle thread count: 10, unprocessed jobs: 0 1718s # Pool idle thread count: 10, unprocessed jobs: 0 1719s # Pool idle thread count: 10, unprocessed jobs: 2 1719s # Pool idle thread count: 9, unprocessed jobs: 1 1719s # Pool idle thread count: 8, unprocessed jobs: 0 1719s # Pool idle thread count: 8, unprocessed jobs: 0 1719s Executing: glib/thread-pool-slow.test 1719s # Pool idle thread count: 10, unprocessed jobs: 0 1719s # Pool idle thread count: 10, unprocessed jobs: 0 1720s # Pool idle thread count: 10, unprocessed jobs: 0 1720s # Pool idle thread count: 10, unprocessed jobs: 0 1720s # Pool idle thread count: 10, unprocessed jobs: 0 1720s # Pool idle thread count: 10, unprocessed jobs: 0 1721s # Pool idle thread count: 2, unprocessed jobs: 0 1721s # Pool idle thread count: 2, unprocessed jobs: 0 1721s # Pool idle thread count: 2, unprocessed jobs: 0 1721s # Pool idle thread count: 2, unprocessed jobs: 0 1722s # Pool idle thread count: 2, unprocessed jobs: 0 1722s # Pool idle thread count: 2, unprocessed jobs: 0 1722s # Pool idle thread count: 2, unprocessed jobs: 0 1722s # Pool idle thread count: 2, unprocessed jobs: 0 1723s # Pool idle thread count: 2, unprocessed jobs: 0 1723s # Pool idle thread count: 2, unprocessed jobs: 0 1723s # Pool idle thread count: 2, unprocessed jobs: 0 1723s # Pool idle thread count: 2, unprocessed jobs: 0 1724s # Pool idle thread count: 2, unprocessed jobs: 0 1724s # Pool idle thread count: 2, unprocessed jobs: 0 1724s Executing: glib/thread-pool-slow.test 1724s # Pool idle thread count: 2, unprocessed jobs: 0 1724s # Pool idle thread count: 2, unprocessed jobs: 0 1725s # Pool idle thread count: 2, unprocessed jobs: 0 1725s # Pool idle thread count: 2, unprocessed jobs: 0 1725s # Pool idle thread count: 2, unprocessed jobs: 0 1725s # Pool idle thread count: 2, unprocessed jobs: 0 1726s # Pool idle thread count: 2, unprocessed jobs: 0 1726s # Pool idle thread count: 2, unprocessed jobs: 0 1726s # Pool idle thread count: 2, unprocessed jobs: 0 1726s # Pool idle thread count: 2, unprocessed jobs: 0 1727s # Pool idle thread count: 2, unprocessed jobs: 0 1727s # Pool idle thread count: 2, unprocessed jobs: 0 1727s # Pool idle thread count: 2, unprocessed jobs: 0 1727s # Pool idle thread count: 2, unprocessed jobs: 0 1728s # Pool idle thread count: 2, unprocessed jobs: 0 1728s # Pool idle thread count: 2, unprocessed jobs: 0 1728s # Pool idle thread count: 2, unprocessed jobs: 0 1728s # Pool idle thread count: 2, unprocessed jobs: 0 1729s # Pool idle thread count: 2, unprocessed jobs: 0 1729s # Pool idle thread count: 2, unprocessed jobs: 0 1729s Executing: glib/thread-pool-slow.test 1729s ok 7 /threadpool/idle-time 1729s # slow test /threadpool/idle-time executed in 19.52 secs 1729s # End of threadpool tests 1729s PASS: glib/thread-pool-slow.test 1729s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=8192 1730s autopkgtest [04:43:37]: test thread-pool-slow: -----------------------] 1730s autopkgtest [04:43:37]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1730s thread-pool-slow PASS 1731s autopkgtest [04:43:38]: test threadtests: preparing testbed 1731s Reading package lists... 1731s Building dependency tree... 1731s Reading state information... 1731s Solving dependencies... 1732s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1732s autopkgtest [04:43:39]: test threadtests: [----------------------- 1733s Running test: glib/threadtests.test 1733s TAP version 14 1733s # random seed: R02Scb7609ac6381fa00372cf9185a2a358f 1733s 1..5 1733s # Start of GObject tests 1733s ok 1 /GObject/threaded-object-init 1733s ok 2 /GObject/threaded-weak-ref 1733s # slow test /GObject/threaded-weak-ref executed in 0.75 secs 1733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1733s # /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 1734s ok 3 /GObject/threaded-toggle-notify 1734s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1734s # Start of threaded-weak-ref tests 1734s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1734s # /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. 1734s ok 5 /GObject/threaded-weak-ref/on-finalization 1734s # End of threaded-weak-ref tests 1734s # End of GObject tests 1734s PASS: glib/threadtests.test 1734s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=0.4s; maxrss=4096 1734s autopkgtest [04:43:41]: test threadtests: -----------------------] 1735s autopkgtest [04:43:42]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1735s threadtests PASS 1735s autopkgtest [04:43:42]: test timeout: preparing testbed 1736s Reading package lists... 1736s Building dependency tree... 1736s Reading state information... 1736s Solving dependencies... 1736s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1737s autopkgtest [04:43:44]: test timeout: [----------------------- 1737s Running test: glib/timeout.test 1737s TAP version 14 1737s # random seed: R02S531050b1bd0cb5e0851e737239378022 1737s 1..5 1737s # Start of timeout tests 1737s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1739s ok 1 /timeout/seconds 1739s # slow test /timeout/seconds executed in 2.10 secs 1742s ok 2 /timeout/seconds-once 1742s # slow test /timeout/seconds-once executed in 2.10 secs 1742s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1743s Executing: glib/timeout.test 1744s ok 3 /timeout/weeks-overflow 1744s # slow test /timeout/weeks-overflow executed in 2.10 secs 1744s ok 4 /timeout/far-future-ready-time 1748s Executing: glib/timeout.test 1753s Executing: glib/timeout.test 1754s ok 5 /timeout/rounding 1754s # slow test /timeout/rounding executed in 10.45 secs 1754s # End of timeout tests 1754s PASS: glib/timeout.test 1754s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1754s autopkgtest [04:44:01]: test timeout: -----------------------] 1755s autopkgtest [04:44:02]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1755s timeout PASS 1755s autopkgtest [04:44:02]: test timer: preparing testbed 1756s Reading package lists... 1756s Building dependency tree... 1756s Reading state information... 1756s Solving dependencies... 1756s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1757s autopkgtest [04:44:04]: test timer: [----------------------- 1757s Running test: glib/timer.test 1757s TAP version 14 1757s # random seed: R02Sb866cf308a0cf9d002e3d9151b38418e 1757s 1..10 1757s # Start of timer tests 1757s ok 1 /timer/basic 1757s ok 2 /timer/stop 1757s ok 3 /timer/continue 1757s ok 4 /timer/reset 1757s ok 5 /timer/is_active 1757s # End of timer tests 1757s # Start of timeval tests 1757s ok 6 /timeval/add 1757s ok 7 /timeval/from-iso8601 1757s ok 8 /timeval/to-iso8601 1757s # Start of to-iso8601 tests 1757s ok 9 /timeval/to-iso8601/overflow 1757s # End of to-iso8601 tests 1757s # End of timeval tests 1757s # Start of usleep tests 1757s ok 10 /usleep/with-zero-wait 1757s # End of usleep tests 1757s PASS: glib/timer.test 1757s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1757s autopkgtest [04:44:04]: test timer: -----------------------] 1757s timer PASS 1757s autopkgtest [04:44:04]: test timer: - - - - - - - - - - results - - - - - - - - - - 1758s autopkgtest [04:44:05]: test 1065022-futureproofing: preparing testbed 1779s Creating nova instance adt-resolute-ppc64el-glib2.0-20260205-041446-juju-7f2275-prod-proposed-migration-environment-2-1c9cf8da-841a-4161-8a82-10d782623134 from image adt/ubuntu-resolute-ppc64el-server-20260205.img (UUID f866c950-0b62-4023-bac6-0f13279e15ed)... 1828s autopkgtest [04:45:15]: testbed dpkg architecture: ppc64el 1829s autopkgtest [04:45:16]: testbed apt version: 3.1.14 1829s autopkgtest [04:45:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1829s autopkgtest [04:45:16]: testbed release detected to be: resolute 1830s autopkgtest [04:45:17]: updating testbed package index (apt update) 1830s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 1830s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1830s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1830s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1830s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [35.4 kB] 1830s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1719 kB] 1830s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [227 kB] 1830s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 1830s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [257 kB] 1830s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [1449 kB] 1830s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [21.6 kB] 1831s Fetched 3839 kB in 1s (5245 kB/s) 1832s Reading package lists... 1832s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 1832s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 1832s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 1832s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 1833s Reading package lists... 1833s Reading package lists... 1833s Building dependency tree... 1833s Reading state information... 1834s Calculating upgrade... 1834s The following packages will be upgraded: 1834s libc-bin libc-gconv-modules-extra libc6 locales pollinate 1834s python3-referencing sed 1834s 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1834s Need to get 8612 kB of archives. 1834s After this operation, 0 B of additional disk space will be used. 1834s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el sed ppc64el 4.9-2build3 [211 kB] 1834s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-gconv-modules-extra ppc64el 2.42-2ubuntu5 [1448 kB] 1834s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc6 ppc64el 2.42-2ubuntu5 [1913 kB] 1834s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libc-bin ppc64el 2.42-2ubuntu5 [748 kB] 1834s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el locales all 2.42-2ubuntu5 [4255 kB] 1834s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el pollinate all 4.33-4ubuntu5 [14.0 kB] 1834s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-referencing all 0.36.2-1ubuntu2 [22.2 kB] 1834s dpkg-preconfigure: unable to re-open stdin: No such file or directory 1834s Fetched 8612 kB in 0s (20.7 MB/s) 1835s (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 ... 82008 files and directories currently installed.) 1835s Preparing to unpack .../sed_4.9-2build3_ppc64el.deb ... 1835s Unpacking sed (4.9-2build3) over (4.9-2build2) ... 1835s Setting up sed (4.9-2build3) ... 1835s (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 ... 82008 files and directories currently installed.) 1835s Preparing to unpack .../libc-gconv-modules-extra_2.42-2ubuntu5_ppc64el.deb ... 1835s Unpacking libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1835s Setting up libc-gconv-modules-extra:ppc64el (2.42-2ubuntu5) ... 1835s (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 ... 82008 files and directories currently installed.) 1835s Preparing to unpack .../libc6_2.42-2ubuntu5_ppc64el.deb ... 1835s Unpacking libc6:ppc64el (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1835s Setting up libc6:ppc64el (2.42-2ubuntu5) ... 1836s (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 ... 82008 files and directories currently installed.) 1836s Preparing to unpack .../libc-bin_2.42-2ubuntu5_ppc64el.deb ... 1836s Unpacking libc-bin (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1836s Setting up libc-bin (2.42-2ubuntu5) ... 1836s (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 ... 82008 files and directories currently installed.) 1836s Preparing to unpack .../locales_2.42-2ubuntu5_all.deb ... 1836s Unpacking locales (2.42-2ubuntu5) over (2.42-2ubuntu4) ... 1836s Preparing to unpack .../pollinate_4.33-4ubuntu5_all.deb ... 1836s Unpacking pollinate (4.33-4ubuntu5) over (4.33-4ubuntu4) ... 1837s Preparing to unpack .../python3-referencing_0.36.2-1ubuntu2_all.deb ... 1837s Unpacking python3-referencing (0.36.2-1ubuntu2) over (0.36.2-1ubuntu1) ... 1837s Setting up locales (2.42-2ubuntu5) ... 1837s Generating locales (this might take a while)... 1839s en_US.UTF-8... done 1839s Generation complete. 1839s Setting up pollinate (4.33-4ubuntu5) ... 1850s Setting up python3-referencing (0.36.2-1ubuntu2) ... 1850s Processing triggers for man-db (2.13.1-1) ... 1851s Processing triggers for install-info (7.2-5) ... 1851s Processing triggers for systemd (259-1ubuntu3) ... 1852s autopkgtest [04:45:39]: upgrading testbed (apt dist-upgrade and autopurge) 1852s Reading package lists... 1853s Building dependency tree... 1853s Reading state information... 1853s Calculating upgrade... 1853s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1853s Reading package lists... 1853s Building dependency tree... 1853s Reading state information... 1853s Solving dependencies... 1853s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1853s autopkgtest [04:45:40]: rebooting testbed after setup commands that affected boot 1935s Reading package lists... 1936s Building dependency tree... 1936s Reading state information... 1936s Solving dependencies... 1936s The following NEW packages will be installed: 1936s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1936s libdconf1 1936s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1936s Need to get 155 kB of archives. 1936s After this operation, 833 kB of additional disk space will be used. 1936s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdconf1 ppc64el 0.49.0-4 [45.7 kB] 1936s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-service ppc64el 0.49.0-4 [31.6 kB] 1936s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el dconf-gsettings-backend ppc64el 0.49.0-4 [27.3 kB] 1936s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el dpkg-repack all 1.54build1 [11.2 kB] 1936s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB] 1936s Fetched 155 kB in 0s (953 kB/s) 1936s Selecting previously unselected package libdconf1:ppc64el. 1937s (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 ... 82008 files and directories currently installed.) 1937s Preparing to unpack .../libdconf1_0.49.0-4_ppc64el.deb ... 1937s Unpacking libdconf1:ppc64el (0.49.0-4) ... 1937s Selecting previously unselected package dconf-service. 1937s Preparing to unpack .../dconf-service_0.49.0-4_ppc64el.deb ... 1937s Unpacking dconf-service (0.49.0-4) ... 1937s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1937s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_ppc64el.deb ... 1937s Unpacking dconf-gsettings-backend:ppc64el (0.49.0-4) ... 1937s Selecting previously unselected package dpkg-repack. 1937s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ... 1937s Unpacking dpkg-repack (1.54build1) ... 1937s Selecting previously unselected package gsettings-desktop-schemas. 1937s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ... 1937s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1937s Setting up dpkg-repack (1.54build1) ... 1937s Setting up libdconf1:ppc64el (0.49.0-4) ... 1937s Setting up dconf-service (0.49.0-4) ... 1937s Setting up dconf-gsettings-backend:ppc64el (0.49.0-4) ... 1937s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ... 1937s Processing triggers for man-db (2.13.1-1) ... 1937s Processing triggers for libglib2.0-0t64:ppc64el (2.86.3-4) ... 1937s Processing triggers for libc-bin (2.42-2ubuntu5) ... 1960s autopkgtest [04:47:27]: test 1065022-futureproofing: [----------------------- 1961s + export DEBIAN_FRONTEND=noninteractive 1961s + n=0 1961s + failed=0 1961s + binary_package=libglib2.0-0t64 1961s + future_binary_package=libglib2.0-0xyz 1961s + pwd 1961s + srcdir=/tmp/autopkgtest.0jX8N3/build.uX2/src 1961s + mktemp -d 1961s + tmpdir=/tmp/tmp.ixBgnQqxj5 1961s + cd /tmp/tmp.ixBgnQqxj5 1961s + exec 1961s + [ -e /tmp/autopkgtest.0jX8N3/build.uX2/src/debian/tests/manual/local-1065022.sources ] 1961s + dpkg-query -W dpkg-repack 1961s dpkg-repack 1.54build1 1961s + dpkg-query -s libglib2.0-0t64 1961s Package: libglib2.0-0t64 1961s Status: install ok installed 1961s Priority: important 1961s Section: libs 1961s Installed-Size: 6018 1961s Maintainer: Ubuntu Developers 1961s Architecture: ppc64el 1961s Multi-Arch: same 1961s Source: glib2.0 1961s Version: 2.86.3-4 1961s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1961s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4) 1961s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2) 1961s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1961s Suggests: low-memory-monitor 1961s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~) 1961s Description: GLib library of C routines 1961s GLib is a library containing many useful C routines for things such 1961s as trees, hashes, lists, and strings. It is a useful general-purpose 1961s C library used by projects such as GTK+, GIMP, and GNOME. 1961s . 1961s This package contains the shared libraries. 1961s Original-Maintainer: Debian GNOME Maintainers 1961s Homepage: https://gitlab.gnome.org/GNOME/glib 1961s + dpkg-query -W -f ${Version} libglib2.0-0t64 1961s + binary_version=2.86.3-4 1961s + dpkg-repack --generate libglib2.0-0t64 1961s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1961s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.IMYx3k for libglib2.0-0t64 1961s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.IMYx3k ." 1961s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.IMYx3k/DEBIAN/control 1961s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.IMYx3k/DEBIAN/control 1961s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.IMYx3k/DEBIAN/control 1961s + env binary_package=libglib2.0-0t64 binary_version=2.86.3-4 future_binary_package=libglib2.0-0xyz perl -p -i -e s/^Package:.*$/Package: $ENV{future_binary_package}/; -e s/^(Breaks:.*)$/$1, $ENV{binary_package}/; -e s/^(Provides:.*)$/$1, $ENV{binary_package} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.IMYx3k/DEBIAN/control 1961s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.IMYx3k libglib2.0-0xyz.deb 1961s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1963s + dpkg-deb --info libglib2.0-0xyz.deb 1963s new Debian package, version 2.0. 1963s size 1849138 bytes: control archive=25755 bytes. 1963s 1220 bytes, 24 lines control 1963s 1184 bytes, 14 lines md5sums 1963s 1328 bytes, 44 lines * postinst #!/bin/sh 1963s 2582 bytes, 87 lines * postrm #!/bin/sh 1963s 2408 bytes, 53 lines * preinst #!/bin/sh 1963s 466 bytes, 10 lines shlibs 1963s 172677 bytes, 4529 lines symbols 1963s 176 bytes, 4 lines triggers 1963s Package: libglib2.0-0xyz 1963s Source: glib2.0 1963s Version: 2.86.3-4 1963s Architecture: ppc64el 1963s Maintainer: Ubuntu Developers 1963s Installed-Size: 6018 1963s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2) 1963s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1963s Suggests: low-memory-monitor 1963s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1963s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1963s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4), libglib2.0-0t64 (= 2.86.3-4) 1963s Section: libs 1963s Priority: important 1963s Multi-Arch: same 1963s Homepage: https://gitlab.gnome.org/GNOME/glib 1963s Description: GLib library of C routines 1963s GLib is a library containing many useful C routines for things such 1963s as trees, hashes, lists, and strings. It is a useful general-purpose 1963s C library used by projects such as GTK+, GIMP, and GNOME. 1963s . 1963s This package contains the shared libraries. 1963s . 1963s (Repackaged on Thu, 05 Feb 2026 04:47:27 +0000 by dpkg-repack.) 1963s + dpkg-deb --contents libglib2.0-0xyz.deb 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/lib/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/lib/powerpc64le-linux-gnu/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/lib/powerpc64le-linux-gnu/gio/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/lib/powerpc64le-linux-gnu/gio/modules/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/ 1963s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-launch-desktop 1963s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-querymodules 1963s -rwxr-xr-x root/root 67872 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/glib-compile-schemas 1963s -rw-r--r-- root/root 2756184 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.8600.3 1963s -rw-r--r-- root/root 1904216 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.8600.3 1963s -rw-r--r-- root/root 67640 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.8600.3 1963s -rw-r--r-- root/root 592184 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.8600.3 1963s -rw-r--r-- root/root 67600 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0.8600.3 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/share/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/share/doc/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/share/doc/libglib2.0-0t64/ 1963s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1963s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian 1963s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md 1963s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1963s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/share/glib-2.0/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/share/glib-2.0/schemas/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/share/lintian/ 1963s drwxr-xr-x root/root 0 2026-02-05 04:47 ./usr/share/lintian/overrides/ 1963s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64 1963s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.3 1963s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.3 1963s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.3 1963s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.3 1963s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.3 1963s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1963s Reading package lists... 1963s Building dependency tree... 1963s Reading state information... 1963s dconf-gsettings-backend is already the newest version (0.49.0-4). 1963s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1). 1963s Solving dependencies... 1963s The following additional packages will be installed: 1963s xdg-user-dirs 1963s Suggested packages: 1963s low-memory-monitor 1963s The following packages will be REMOVED: 1963s libglib2.0-0t64 1963s The following NEW packages will be installed: 1963s libglib2.0-0xyz xdg-user-dirs 1963s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1963s Need to get 20.9 kB/1870 kB of archives. 1963s After this operation, 213 kB of additional disk space will be used. 1963s Get:1 /tmp/tmp.ixBgnQqxj5/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.86.3-4 [1849 kB] 1963s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el xdg-user-dirs ppc64el 0.19-1 [20.9 kB] 1963s Fetched 20.9 kB in 0s (549 kB/s) 1964s dpkg: libglib2.0-0t64:ppc64el: dependency problems, but removing anyway as you requested: 1964s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1964s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1964s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~). 1964s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1964s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1964s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0). 1964s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1964s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0). 1964s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0). 1964s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1964s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1964s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1964s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0). 1964s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0). 1964s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1964s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0). 1964s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1964s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1964s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1964s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1964s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1964s libgirepository-2.0-0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4). 1964s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1964s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1964s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1964s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s libblockdev-smart3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1964s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4). 1964s fwupd depends on libglib2.0-0t64 (>= 2.80.0). 1964s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1964s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1964s bolt depends on libglib2.0-0t64 (>= 2.80.0). 1964s 1964s (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 ... 82075 files and directories currently installed.) 1964s Removing libglib2.0-0t64:ppc64el (2.86.3-4) ... 1964s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1964s (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 ... 82056 files and directories currently installed.) 1964s Preparing to unpack .../libglib2.0-0xyz.deb ... 1964s Unpacking libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1964s Selecting previously unselected package xdg-user-dirs. 1964s Preparing to unpack .../xdg-user-dirs_0.19-1_ppc64el.deb ... 1964s Unpacking xdg-user-dirs (0.19-1) ... 1964s Setting up xdg-user-dirs (0.19-1) ... 1964s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1964s Setting up libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1964s Processing triggers for libc-bin (2.42-2ubuntu5) ... 1964s Processing triggers for man-db (2.13.1-1) ... 1965s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1965s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1965s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1965s + n=1 1965s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1965s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1965s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1965s + n=2 1965s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1965s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1965s ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1965s ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1965s ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1965s ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1965s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1965s + n=3 1965s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1965s + echo ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1965s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1965s + n=4 1965s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1965s + echo ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1965s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1965s + n=5 1965s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1965s + echo ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1965s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1965s + n=6 1965s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1965s + echo ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1965s + apt-get -y purge libglib2.0-0t64 1965s Reading package lists... 1965s Building dependency tree... 1965s Reading state information... 1965s Solving dependencies... 1965s The following packages will be REMOVED: 1965s libglib2.0-0t64* 1966s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1966s After this operation, 0 B of additional disk space will be used. 1966s (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 ... 82090 files and directories currently installed.) 1966s Purging configuration files for libglib2.0-0t64:ppc64el (2.86.3-4) ... 1966s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1966s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1966s ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1966s ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1966s ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1966s ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1966s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1966s + n=7 1966s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1966s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1966s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1966s + n=8 1966s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1966s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1966s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1966s + n=9 1966s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1966s + echo ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1966s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1966s + n=10 1966s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1966s + echo ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1966s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1966s + n=11 1966s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1966s + echo ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1966s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1966s + n=12 1966s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1966s + echo ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1966s + apt-get -y purge libglib2.0-0xyz 1966s Reading package lists... 1966s Building dependency tree... 1966s Reading state information... 1966s Solving dependencies... 1966s The following additional packages will be installed: 1966s libglib2.0-0t64 1966s Suggested packages: 1966s low-memory-monitor 1966s The following packages will be REMOVED: 1966s libglib2.0-0xyz* 1966s The following NEW packages will be installed: 1966s libglib2.0-0t64 1967s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1967s Need to get 1849 kB of archives. 1967s After this operation, 0 B of additional disk space will be used. 1967s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libglib2.0-0t64 ppc64el 2.86.3-4 [1849 kB] 1967s Fetched 1849 kB in 0s (9074 kB/s) 1967s dpkg: libglib2.0-0xyz:ppc64el: dependency problems, but removing anyway as you requested: 1967s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.38.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libgirepository-2.0-0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-smart3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.86.3-4); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s fwupd depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s bolt depends on libglib2.0-0t64 (>= 2.80.0); however: 1967s Package libglib2.0-0t64 is not installed. 1967s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1967s 1967s (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 ... 82090 files and directories currently installed.) 1967s Removing libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1968s Selecting previously unselected package libglib2.0-0t64:ppc64el. 1968s (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 ... 82071 files and directories currently installed.) 1968s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_ppc64el.deb ... 1968s Unpacking libglib2.0-0t64:ppc64el (2.86.3-4) ... 1968s Setting up libglib2.0-0t64:ppc64el (2.86.3-4) ... 1968s Processing triggers for libc-bin (2.42-2ubuntu5) ... 1968s (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 ... 82090 files and directories currently installed.) 1968s Purging configuration files for libglib2.0-0xyz:ppc64el (2.86.3-4) ... 1968s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1968s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1968s not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1968s not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1968s 1..16 1968s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1968s + n=13 1968s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1968s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1968s + failed=1 1968s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1968s + n=14 1968s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1968s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1968s + failed=1 1968s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1968s + n=15 1968s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1968s + echo not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1968s + failed=1 1968s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1968s + n=16 1968s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1968s + echo not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1968s + failed=1 1968s + echo 1..16 1968s + exit 1 1968s autopkgtest [04:47:35]: test 1065022-futureproofing: -----------------------] 1969s 1065022-futureproofing FLAKY non-zero exit status 1 1969s autopkgtest [04:47:36]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1969s autopkgtest [04:47:36]: @@@@@@@@@@@@@@@@@@@@ summary 1969s build PASS (superficial) 1969s build-static PASS (superficial) 1969s girepository-tools PASS (superficial) 1969s libgio-2.0-dev-bin PASS (superficial) 1969s libglib2.0-dev PASS (superficial) 1969s installed-tests PASS 1969s closure-refcount PASS 1969s debugcontroller PASS 1969s gdbus-server-auth PASS 1969s gdbus-threading PASS 1969s gmenumodel PASS 1969s mainloop PASS 1969s memory-monitor-dbus PASS 1969s socket PASS 1969s testfilemonitor PASS 1969s thread-pool-slow PASS 1969s threadtests PASS 1969s timeout PASS 1969s timer PASS 1969s 1065022-futureproofing FLAKY non-zero exit status 1