aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2001-11-15 06:15:55 +0800
committerDamon Chaplin <damon@src.gnome.org>2001-11-15 06:15:55 +0800
commitdcdbd48015c6fe7c94ff26305a6022dec2f0166a (patch)
treea18c77d090393519dbe24b7d76ac28c662ff91fd /calendar/gui/calendar-model.c
parentaa256bd41d5f1c85d17778c6bcd8e80a291fdad6 (diff)
downloadgsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.gz
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.bz2
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.lz
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.xz
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.tar.zst
gsoc2013-evolution-dcdbd48015c6fe7c94ff26305a6022dec2f0166a.zip
#ifdef'ed out the LOCATION field for now, since it wasn't supported
2001-11-14 Damon Chaplin <damon@ximian.com> * 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
Diffstat (limited to 'calendar/gui/calendar-model.c')
-rw-r--r--calendar/gui/calendar-model.c8
1 files changed, 8 insertions, 0 deletions
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);