From dcdbd48015c6fe7c94ff26305a6022dec2f0166a Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Wed, 14 Nov 2001 22:15:55 +0000 Subject: #ifdef'ed out the LOCATION field for now, since it wasn't supported 2001-11-14 Damon Chaplin * gui/calendar-model.c: * cal-util/cal-component.h: #ifdef'ed out the LOCATION field for now, since it wasn't supported everywhere, or in the .etspec file. svn path=/trunk/; revision=14709 --- calendar/gui/calendar-model.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'calendar/gui/calendar-model.c') diff --git a/calendar/gui/calendar-model.c b/calendar/gui/calendar-model.c index 59eceb70bb..b9a5d41261 100644 --- a/calendar/gui/calendar-model.c +++ b/calendar/gui/calendar-model.c @@ -768,6 +768,7 @@ get_status (CalComponent *comp) } } +#if 0 static void * get_location (CalComponent *comp) { @@ -776,6 +777,7 @@ get_location (CalComponent *comp) cal_component_get_location (comp, &location); return (void*) location; } +#endif /* value_at handler for the calendar table model */ static void * @@ -902,8 +904,10 @@ calendar_model_value_at (ETableModel *etm, int col, int row) case CAL_COMPONENT_FIELD_COMPONENT: return comp; +#if 0 case CAL_COMPONENT_FIELD_LOCATION : return get_location (comp); +#endif default: g_message ("calendar_model_value_at(): Requested invalid column %d", col); @@ -1208,6 +1212,7 @@ set_status (CalComponent *comp, const char *value) } } +#if 0 static void set_location (CalComponent *comp, const char *value) { @@ -1218,6 +1223,7 @@ set_location (CalComponent *comp, const char *value) cal_component_set_location (comp, value); } +#endif /* set_value_at handler for the calendar table model */ static void @@ -1302,9 +1308,11 @@ calendar_model_set_value_at (ETableModel *etm, int col, int row, const void *val set_status (comp, value); break; +#if 0 case CAL_COMPONENT_FIELD_LOCATION : set_location (comp, value); break; +#endif default: g_message ("calendar_model_set_value_at(): Requested invalid column %d", col); -- cgit v1.2.3