views/dazzling-month-view: Handle events
Most of the code is copied from GcalMonthView, so it sucks slightly. But it seems to work reasonably well so far.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "gcal-context.h"
|
||||
#include "gcal-event.h"
|
||||
#include "gcal-range.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
@@ -43,4 +44,10 @@ GcalRange * gcal_month_view_row_get_range (GcalMonthViewR
|
||||
void gcal_month_view_row_set_range (GcalMonthViewRow *self,
|
||||
GcalRange *range);
|
||||
|
||||
void gcal_month_view_row_add_event (GcalMonthViewRow *self,
|
||||
GcalEvent *event);
|
||||
|
||||
void gcal_month_view_row_remove_event (GcalMonthViewRow *self,
|
||||
GcalEvent *event);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user