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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user