| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Remove explicit g_free () calls and convert char* allocations to
g_autofree.
Fixes at least one memory leak in gclue_service_agent_handle_authorize_app ().
|
| |
|
|
|
|
|
|
|
| |
It has been deprecated since GObject 2.58.
Replace with *_get_instance_private() functions generated by GObject
G_ADD_PRIVATE macro.
|
|
|
|
|
|
|
|
|
| |
Use the G_ADD_PRIVATE() macro instead.
This doesn't fix the issue in geocode-glib but that's not an issue since
we plan to drop geocode-glib (#88).
Fixes #98.
|
|
|
|
|
|
|
| |
The agent watches on d-bus and registers whenever it sees geoclue getting
alive.
https://gitlab.freedesktop.org/geoclue/geoclue/issues/68
|
|
|
|
|
|
| |
The GAsyncInitable interface that was implemented by the agent was not
useful. This commit removes this interface implementation to simplify the
code and allow the use of user_data for other things.
|
| |
|
|
|
|
|
| |
If app provides a reason string in it's desktop file, show that to the
user.
|
| |
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=76268
|
|
|
|
|
| |
There is no need for object paths to be unique on the bus and having a
fixed path will allow us to use it in DBus policy.
|
|
|
|
|
| |
Otherwise its set to 0 by default and that means geoclue will deny
location access to all clients.
|
|
|
|
|
| |
rather than binary paths. The rationale is the same as for
commit 0d96468f88e4a8f39da521952a21f27d700542df.
|
|
|
|
|
|
| |
We don't know for sure how the agent UIs will look like in the end but
better to already have the needed API in place if agents want to somehow
let users choose the accuracy they are confirtable with.
|
| |
|
|
|
|
|
| |
Agents can gather all needed info about the app from the desktop_id so
bus_name becomes redundant.
|
|
|
|
|
|
|
| |
Instead of getting a generic title from apps, we now require them to
provide a desktop file id. This will allow agents to add some more
checks and be able to get all info about the app themselves, including a
human-readable title.
|
|
It uses libnotify to ask user to authorize the app for access to geolocation
info.
|