aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-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);