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
+2 -2
View File
@@ -39,7 +39,7 @@ typedef struct _GcalMonthViewPrivate GcalMonthViewPrivate;
struct _GcalMonthView
{
GtkWidget parent;
GtkContainer parent;
/* add your public declarations here */
GcalMonthViewPrivate *priv;
@@ -47,7 +47,7 @@ struct _GcalMonthView
struct _GcalMonthViewClass
{
GtkWidgetClass parent_class;
GtkContainerClass parent_class;
};
GType gcal_month_view_get_type (void);