diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2018-08-11 20:35:04 +0200 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2018-08-11 21:32:54 +0200 |
commit | 9840ab01f1b609fe2f9674b4a491cf4c452b6273 (patch) | |
tree | f38aa0b0e1476433afc521fbe2d8090ebde11085 /po/tr.po | |
parent | 061667e1eeac036130a944083aca4fcf16004e6a (diff) | |
download | tracker-9840ab01f1b609fe2f9674b4a491cf4c452b6273.tar.gz |
tracker_domain_ontology_get_domain() should return only the domain name
We should be consistent about what the name of a Tracker domain actually
is. In the domain rule we specify Domain=org.freedesktop (for the
default rule) or Domain=org.example.App (for a custom domain). But
internally tracker_domain_ontology_get_domain() would return
org.freedesktop.Tracker1 or org.example.App.Tracker1, i.e. the domain
name now has '.Tracker1' appended.
This does make sense in most cases, but it means there's no way to get
the actual name of the domain from a TrackerDomainOntology object. This
commit changes the existing function to not append '.Tracker1' in the
value it returns, which means that function can now be used to get the
base name of the domain. The assumption is that callers are normally
appending stuff to this base name anyway so it's not much extra effect
to also append the '.Tracker1' component if needed.
libtracker-common is internal to Tracker so this doesn't constitute a
public API break.
Diffstat (limited to 'po/tr.po')
0 files changed, 0 insertions, 0 deletions