aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.h
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-12-09 05:16:54 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-12-09 05:16:54 +0800
commit75f8d193c4e79bda653b2d0d96856117f1d5d3d3 (patch)
tree227ab4615244cd738262c5139c86bfcb33118d57 /calendar/gui/e-calendar-view.h
parentdffbebe88bc54a5ffc4ea414a835c4a14672d87e (diff)
downloadgsoc2013-evolution-75f8d193c4e79bda653b2d0d96856117f1d5d3d3.tar.gz
gsoc2013-evolution-75f8d193c4e79bda653b2d0d96856117f1d5d3d3.tar.zst
gsoc2013-evolution-75f8d193c4e79bda653b2d0d96856117f1d5d3d3.zip
fixes the tool tip crash.
svn path=/trunk/; revision=30738
Diffstat (limited to 'calendar/gui/e-calendar-view.h')
-rw-r--r--calendar/gui/e-calendar-view.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/calendar/gui/e-calendar-view.h b/calendar/gui/e-calendar-view.h
index 8e2d67c477..bbf95da71e 100644
--- a/calendar/gui/e-calendar-view.h
+++ b/calendar/gui/e-calendar-view.h
@@ -75,7 +75,7 @@ typedef enum {
typedef struct {
E_CALENDAR_VIEW_EVENT_FIELDS
} ECalendarViewEvent;
-
+
typedef struct _ECalendarView ECalendarView;
typedef struct _ECalendarViewClass ECalendarViewClass;
typedef struct _ECalendarViewPrivate ECalendarViewPrivate;
@@ -85,6 +85,13 @@ struct _ECalendarView {
ECalendarViewPrivate *priv;
};
+typedef struct {
+ ECalendarViewEvent * (* get_view_event) (ECalendarView *view, int day, int event_num);
+ ECalendarView *cal_view;
+ int day;
+ int event_num;
+} ECalendarViewEventData;
+
struct _ECalendarViewClass {
GtkTableClass parent_class;
@@ -158,7 +165,7 @@ void e_calendar_view_modify_and_send (ECalComponent *comp,
GtkWindow *toplevel,
gboolean new);
-gboolean e_calendar_view_get_tooltips (ECalendarViewEvent *pevent);
+gboolean e_calendar_view_get_tooltips (ECalendarViewEventData *data);
G_END_DECLS
#endif