[gnome-clocks/wip/geolocation] Save Manager and Client from an early unref



commit e56add4ea32518527f29a23812b730bbd7cc8d51
Author: Evgeny Bobkin <evgen ibqn gmail com>
Date:   Sat Sep 7 22:43:58 2013 +0200

    Save Manager and Client from an early unref

 src/geoclue.vala |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/geoclue.vala b/src/geoclue.vala
index 5e8ea6e..e686750 100644
--- a/src/geoclue.vala
+++ b/src/geoclue.vala
@@ -29,6 +29,8 @@ public class GeoInfo : Object {
     public GClue.Location? geo_location { get; private set; default = null; }
     private GWeather.Location? found_location;
     private string? country_code;
+    private GClue.Manager manager;
+    private GClue.Client client;
 
     public GeoInfo () {
         country_code = null;
@@ -36,9 +38,6 @@ public class GeoInfo : Object {
     }
 
     public async void seek () {
-        GClue.Manager manager;
-        GClue.Client client;
-
         string? client_path = null;
 
         try {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]