aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-day-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gncal-day-view.c')
-rw-r--r--calendar/gncal-day-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gncal-day-view.c b/calendar/gncal-day-view.c
index 59c11eab69..f513d65b83 100644
--- a/calendar/gncal-day-view.c
+++ b/calendar/gncal-day-view.c
@@ -12,6 +12,8 @@
#include "view-utils.h"
#include "main.h"
#include "eventedit.h"
+#include "popup-menu.h"
+
#define TEXT_BORDER 2
#define MIN_INFO_WIDTH 50
@@ -134,7 +136,7 @@ context_menu (GncalDayView *dayview, GdkEventButton *event)
};
main_items [0].data = dayview;
- popup_menu (main_items, 1, event->time);
+ popup_menu (main_items, 1, event);
}
static void