diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-07 20:19:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-09 04:58:38 +0800 |
commit | ccde653db3ef8645b1f7fed7f1ffccca4f71100f (patch) | |
tree | da42af026951376da8395d1ae0cc19c9616f1b10 /calendar/gui/e-week-view.h | |
parent | acdcd71d3074ebe3b3a758769eaa300dd50c3207 (diff) | |
download | gsoc2013-evolution-ccde653db3ef8645b1f7fed7f1ffccca4f71100f.tar gsoc2013-evolution-ccde653db3ef8645b1f7fed7f1ffccca4f71100f.tar.gz gsoc2013-evolution-ccde653db3ef8645b1f7fed7f1ffccca4f71100f.tar.bz2 gsoc2013-evolution-ccde653db3ef8645b1f7fed7f1ffccca4f71100f.tar.lz gsoc2013-evolution-ccde653db3ef8645b1f7fed7f1ffccca4f71100f.tar.xz gsoc2013-evolution-ccde653db3ef8645b1f7fed7f1ffccca4f71100f.tar.zst gsoc2013-evolution-ccde653db3ef8645b1f7fed7f1ffccca4f71100f.zip |
EWeekView cleanups.
Diffstat (limited to 'calendar/gui/e-week-view.h')
-rw-r--r-- | calendar/gui/e-week-view.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/calendar/gui/e-week-view.h b/calendar/gui/e-week-view.h index 3d30ec6e0e..7199254eaf 100644 --- a/calendar/gui/e-week-view.h +++ b/calendar/gui/e-week-view.h @@ -111,8 +111,7 @@ G_BEGIN_DECLS /* These index our colors array. */ -typedef enum -{ +typedef enum { E_WEEK_VIEW_COLOR_EVEN_MONTHS, E_WEEK_VIEW_COLOR_ODD_MONTHS, E_WEEK_VIEW_COLOR_EVENT_BACKGROUND, @@ -131,8 +130,7 @@ typedef enum } EWeekViewColors; /* These specify which part of the selection we are dragging, if any. */ -typedef enum -{ +typedef enum { E_WEEK_VIEW_DRAG_NONE, E_WEEK_VIEW_DRAG_START, E_WEEK_VIEW_DRAG_END @@ -140,8 +138,7 @@ typedef enum /* These specify which times are shown for the 1-day events. We use the small * font for the minutes if it can be loaded and the option is on. */ -typedef enum -{ +typedef enum { E_WEEK_VIEW_TIME_NONE, E_WEEK_VIEW_TIME_START, E_WEEK_VIEW_TIME_BOTH, @@ -168,9 +165,11 @@ struct _EWeekViewEvent { typedef struct _EWeekView EWeekView; typedef struct _EWeekViewClass EWeekViewClass; +typedef struct _EWeekViewPrivate EWeekViewPrivate; struct _EWeekView { ECalendarView parent; + EWeekViewPrivate *priv; /* The top canvas where the dates are shown. */ GtkWidget *titles_canvas; @@ -408,7 +407,7 @@ void e_week_view_set_show_event_end_times void e_week_view_delete_occurrence (EWeekView *week_view); /* Returns the number of selected events (0 or 1 at present). */ -gint e_week_view_get_num_events_selected +gint e_week_view_get_num_events_selected (EWeekView *week_view); /* |