[gnome-calendar/wip/flb/weather-forecast: 98/135] week-view: Fix outdated ownership comment.



commit 3d292038b2ee9dccf4eb17d77ef30755578845b6
Author: Florian Brosch <flo brosch gmail com>
Date:   Thu Oct 12 23:51:57 2017 +0200

    week-view: Fix outdated ownership comment.
    
    A comment states GcalWeekView.manager is a week reference. It is
    not. It probably should be.

 src/views/gcal-week-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/views/gcal-week-view.c b/src/views/gcal-week-view.c
index 96f3dc7e..0d2fc518 100644
--- a/src/views/gcal-week-view.c
+++ b/src/views/gcal-week-view.c
@@ -62,7 +62,7 @@ struct _GcalWeekView
 
   /* property */
   icaltimetype   *date;
-  GcalManager    *manager; /* weak referenced */
+  GcalManager    *manager; /* owned */
 
   guint           scroll_grid_timeout_id;
 


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