Converted GcalMonthView to GtkContainer subclass.

Added gcal_view_add_event method GcalView interface.
Fixed size_allocate implementation in GcalMonthView to allocate children events.

There's still work to be done here.
This commit is contained in:
Erick Pérez Castellanos
2012-05-17 14:56:28 -04:00
parent 61f2b0f778
commit eef3c90f45
5 changed files with 188 additions and 63 deletions
+9
View File
@@ -70,3 +70,12 @@ gcal_view_is_in_range (GcalView *view,
return GCAL_VIEW_GET_INTERFACE (view)->is_in_range (view, date);
}
void
gcal_view_add_event (GcalView *view,
GtkWidget *event)
{
g_return_if_fail (GCAL_IS_VIEW (view));
GCAL_VIEW_GET_INTERFACE (view)->add_event (view, event);
}