month-view: hold a pointer to the singleton GcalManager

It'll be used in the next commit to save the DnD'ed event.
This commit is contained in:
Georges Basile Stavracas Neto
2016-05-21 18:54:47 -03:00
parent 982b7da02b
commit 1f534aa97e
3 changed files with 14 additions and 0 deletions
+10
View File
@@ -85,6 +85,7 @@ typedef struct
/* property */
icaltimetype *date;
GcalManager *manager;
} GcalMonthViewPrivate;
enum
@@ -2267,3 +2268,12 @@ gcal_month_view_set_use_24h_format (GcalMonthView *view,
priv = gcal_month_view_get_instance_private (view);
priv->use_24h_format = use_24h;
}
void
gcal_month_view_set_manager (GcalMonthView *view,
GcalManager *manager)
{
GcalMonthViewPrivate *priv = gcal_month_view_get_instance_private (view);
priv->manager = manager;
}