diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-03-10 04:44:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-03-10 04:44:44 +0800 |
commit | 559ad100611f3c406d0668ad632468709cce540b (patch) | |
tree | 101f8d7fd8ddd6cd27ea03a45c0610f21a477b9f /widgets/misc/e-calendar.h | |
parent | 89d666e54338b9f8e8c6574aef45060f2371d8d5 (diff) | |
download | gsoc2013-evolution-559ad100611f3c406d0668ad632468709cce540b.tar.gz gsoc2013-evolution-559ad100611f3c406d0668ad632468709cce540b.tar.zst gsoc2013-evolution-559ad100611f3c406d0668ad632468709cce540b.zip |
ECalendar header cleanup.
Diffstat (limited to 'widgets/misc/e-calendar.h')
-rw-r--r-- | widgets/misc/e-calendar.h | 43 |
1 files changed, 19 insertions, 24 deletions
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 |