[gnome-calendar] manager: set client upon loading event



commit 7fd3e48427b9c2edf8b633e4a1cb8e5ab44bc81b
Author: Yash Singh <yashdev10p gmail com>
Date:   Fri Jun 9 16:42:47 2017 +0530

    manager: set client upon loading event
    
    Add EClient support while loading an event.
    This EClient then helps us check its
    capability in window.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782755

 src/gcal-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index e9226ff..b49ae75 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -380,6 +380,8 @@ on_client_connected (GObject      *source_object,
       return;
     }
 
+  g_object_set_data (G_OBJECT (source), "client", client);
+
   unit = g_new0 (GcalManagerUnit, 1);
   unit->connected = TRUE;
   unit->client = g_object_ref (client);


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