1. 14 Nov, 2019 1 commit
    • Matthias Clasen's avatar
      gclue-simple: Add portal support · c9350715
      Matthias Clasen authored
      When running inside a flatpak sandbox, or when GTK_USE_PORTAL
      is set in the environment, talk to the location portal instead
      of GeoClue directly.
      
      In this situation, gclue_simple_get_client will return NULL.
      c9350715
  2. 11 Mar, 2019 2 commits
  3. 07 Mar, 2019 3 commits
    • Benjamin Berg's avatar
      lib: Avoid linking to system-installed library · 0f96290f
      Benjamin Berg authored
      When building geoclue, in some cases the already installed library is
      prefered for linking rather than the one from the build directory. This
      causes problems when an old version is already installed and one is
      adding new API.
      
      This commit partially adresses this issue. A similar issue appears to
      exist when building the documentation though.
      0f96290f
    • Benjamin Berg's avatar
      lib: Automatically delete client on server when using GClueSimple · bfb01552
      Benjamin Berg authored
      When using GClueSimple, the user will not be managing the
      GClueClientProxy directly. In this case, it makes sense to set things up
      so that the client is deleted from the server again on object
      destruction.
      
      Fixes: #102
      bfb01552
    • Benjamin Berg's avatar
      Add new API to allow automatic server side deletion of client · 044418f5
      Benjamin Berg authored
      If gclue_client_proxy_create_full is called with the corresponding flag
      set, then the newly created GClueClientProxy will be set up so that
      DeleteClient is automatically called on the server when the object is
      destroyed.
      
      See #102
      044418f5
  4. 04 Jan, 2019 1 commit
  5. 20 Oct, 2018 2 commits
  6. 15 Sep, 2018 2 commits
  7. 14 Sep, 2018 1 commit
  8. 27 Jul, 2018 1 commit
  9. 25 Jul, 2018 1 commit
  10. 12 Jul, 2018 2 commits
  11. 11 Jul, 2018 3 commits
  12. 10 Jul, 2018 1 commit
  13. 09 Jul, 2018 8 commits
  14. 16 May, 2018 1 commit
  15. 22 Apr, 2018 1 commit
  16. 04 Sep, 2017 1 commit
    • Zeeshan Ali's avatar
      simple: Re-use existing client/location · afd8414c
      Zeeshan Ali authored
      A client process could create and destroy GClueSimple multiple times in its
      lifetime. Since the service keeps the Client (and it's associated location)
      object alive until the D-Bus connection from the client process remains
      alive and gclue_simple_new*() awaits for a location fix on the client it
      gets from service, subsequent calls to gclue_simple_new*() (after first
      one) will likely not return anytime soon.
      
      With this patch, GClueSimple now checks for any existing location object on
      the client object and doesn't keep waiting for location update if one is
      available already.
      afd8414c
  17. 13 Mar, 2017 1 commit
  18. 06 Sep, 2016 3 commits
  19. 30 May, 2016 1 commit
    • Colin Walters's avatar
      lib: Define CC and other variables for g-ir-scanner · 0827ce88
      Colin Walters authored
      This ensures g-ir-scanner uses the configured compiler.  Fixes the
      build in GContinuous, which is currently somewhat broken in that
      `/usr/bin/cc` is a cross compiler by default.  But this propagation is
      the correct thing to do always.
      
      A similar patch landed in GStreamer.
      0827ce88
  20. 01 Mar, 2016 1 commit
  21. 28 Jan, 2016 1 commit
  22. 24 Dec, 2015 1 commit
  23. 14 Oct, 2015 1 commit