From c2d7dc57764bc05a28d3b765f50ccff901524fba Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 8 Jun 2004 14:57:35 +0000 Subject: cast week view correctly 2004-06-08 JP Rosevear * gui/e-week-view.c (e_week_view_do_key_press): cast week view correctly svn path=/trunk/; revision=26253 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-week-view.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index f6a7cc3ac0..b7d76e7bf9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2004-06-08 JP Rosevear + + * gui/e-week-view.c (e_week_view_do_key_press): cast week view + correctly + 2004-06-08 Rodrigo Moya * gui/dialogs/recurrence-page.c (recurrence_page_construct): connect diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 734d66be8a..952b2f1446 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3707,7 +3707,7 @@ e_week_view_do_key_press (GtkWidget *widget, GdkEventKey *event) #endif /* Handle the cursor keys for moving the selection */ - view_type = gnome_calendar_get_view (e_calendar_view_get_calendar (E_CAL_VIEW (week_view))); + view_type = gnome_calendar_get_view (e_calendar_view_get_calendar (E_CALENDAR_VIEW (week_view))); stop_emission = FALSE; if (!(event->state & GDK_SHIFT_MASK) && !(event->state & GDK_MOD1_MASK)) { -- cgit