From 559ad100611f3c406d0668ad632468709cce540b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 9 Mar 2010 15:44:44 -0500 Subject: ECalendar header cleanup. --- widgets/misc/e-calendar.h | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) (limited to 'widgets/misc/e-calendar.h') diff --git a/widgets/misc/e-calendar.h b/widgets/misc/e-calendar.h index d6b50209a7..83eb8df4ea 100644 --- a/widgets/misc/e-calendar.h +++ b/widgets/misc/e-calendar.h @@ -56,12 +56,11 @@ G_BEGIN_DECLS (G_TYPE_INSTANCE_GET_CLASS \ ((obj), E_TYPE_CALENDAR, ECalendarClass)) -typedef struct _ECalendar ECalendar; +typedef struct _ECalendar ECalendar; typedef struct _ECalendarClass ECalendarClass; -struct _ECalendar -{ - ECanvas canvas; +struct _ECalendar { + ECanvas parent; ECalendarItem *calitem; @@ -82,29 +81,25 @@ struct _ECalendar gboolean moving_forward; }; -struct _ECalendarClass -{ +struct _ECalendarClass { ECanvasClass parent_class; }; -GType e_calendar_get_type (void); -GtkWidget* e_calendar_new (void); - -void e_calendar_set_minimum_size (ECalendar *cal, - gint rows, - gint cols); -void e_calendar_set_maximum_size (ECalendar *cal, - gint rows, - gint cols); - -/* Returns the border size on each side of the month displays. */ -void e_calendar_get_border_size (ECalendar *cal, - gint *top, - gint *bottom, - gint *left, - gint *right); - -void e_calendar_set_focusable (ECalendar *cal, gboolean focusable); +GType e_calendar_get_type (void); +GtkWidget * e_calendar_new (void); +void e_calendar_set_minimum_size (ECalendar *cal, + gint rows, + gint cols); +void e_calendar_set_maximum_size (ECalendar *cal, + gint rows, + gint cols); +void e_calendar_get_border_size (ECalendar *cal, + gint *top, + gint *bottom, + gint *left, + gint *right); +void e_calendar_set_focusable (ECalendar *cal, + gboolean focusable); G_END_DECLS -- cgit v1.2.3