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



commit 11c90ae5ffc7054fba500429e399bbb46faec541
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/views/gcal-week-view.c b/src/views/gcal-week-view.c
index 96f3dc7..0d2fc51 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]