[evolution] Fix a potential calendar crash.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Fix a potential calendar crash.
- Date: Sat, 24 Oct 2009 04:30:31 +0000 (UTC)
commit 7cb6d32c5bce3509b3794bb754e564018e2d6b7e
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Oct 23 23:37:17 2009 -0400
Fix a potential calendar crash.
modules/calendar/e-cal-shell-content.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c
index 689b5cf..d1c9d8f 100644
--- a/modules/calendar/e-cal-shell-content.c
+++ b/modules/calendar/e-cal-shell-content.c
@@ -143,7 +143,6 @@ cal_shell_content_notify_view_id_cb (ECalShellContent *cal_shell_content)
static FocusLocation
cal_shell_content_get_focus_location (ECalShellContent *cal_shell_content)
{
- GtkWidget *widget;
GnomeCalendar *calendar;
GnomeCalendarViewType view_type;
ECalendarView *calendar_view;
@@ -197,7 +196,7 @@ cal_shell_content_get_focus_location (ECalShellContent *cal_shell_content)
return FOCUS_CALENDAR;
} else if (E_IS_CAL_LIST_VIEW (calendar_view)) {
- ECalListView *list_view = E_CAL_LIST_VIEW (widget);
+ ECalListView *list_view = E_CAL_LIST_VIEW (calendar_view);
table = e_table_scrolled_get_table (list_view->table_scrolled);
if (GTK_WIDGET_HAS_FOCUS (table))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]