aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar-view.c')
-rw-r--r--calendar/gui/calendar-view.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/calendar-view.c b/calendar/gui/calendar-view.c
index 1aec23ef36..98a754accd 100644
--- a/calendar/gui/calendar-view.c
+++ b/calendar/gui/calendar-view.c
@@ -149,7 +149,7 @@ calendar_view_get_title (GalView *view)
cal_view = CALENDAR_VIEW (view);
priv = cal_view->priv;
- return priv->title;
+ return (const char *) priv->title;
}
/* set_title method of the calendar view */
@@ -191,6 +191,9 @@ calendar_view_get_type_code (GalView *view)
case GNOME_CAL_MONTH_VIEW:
return "month_view";
+ case GNOME_CAL_LIST_VIEW :
+ return "list_view";
+
default:
g_assert_not_reached ();
return NULL;