aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-table-memory-store.c11
-rw-r--r--e-util/e-table-memory-store.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/e-util/e-table-memory-store.c b/e-util/e-table-memory-store.c
index 6a28aaeeea..79e07575ff 100644
--- a/e-util/e-table-memory-store.c
+++ b/e-util/e-table-memory-store.c
@@ -58,10 +58,6 @@ duplicate_value (ETableMemoryStore *etms,
if (val)
g_object_ref ((gpointer) val);
return (gpointer) val;
- case E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM:
- if (etms->priv->columns[col].custom.duplicate_value)
- return etms->priv->columns[col].custom.duplicate_value (E_TABLE_MODEL (etms), col, val, NULL);
- break;
default:
break;
}
@@ -85,10 +81,6 @@ free_value (ETableMemoryStore *etms,
if (value)
g_object_unref (value);
break;
- case E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM:
- if (etms->priv->columns[col].custom.free_value)
- etms->priv->columns[col].custom.free_value (E_TABLE_MODEL (etms), col, value, NULL);
- break;
default:
break;
}
@@ -169,7 +161,6 @@ etms_initialize_value (ETableModel *etm,
return g_strdup ("");
case E_TABLE_MEMORY_STORE_COLUMN_TYPE_PIXBUF:
return NULL;
- case E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM:
case E_TABLE_MEMORY_STORE_COLUMN_TYPE_OBJECT:
if (etms->priv->columns[col].custom.initialize_value)
return etms->priv->columns[col].custom.initialize_value (E_TABLE_MODEL (etms), col, NULL);
@@ -192,7 +183,6 @@ etms_value_is_empty (ETableModel *etm,
return !(value && *(gchar *) value);
case E_TABLE_MEMORY_STORE_COLUMN_TYPE_PIXBUF:
return value == NULL;
- case E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM:
case E_TABLE_MEMORY_STORE_COLUMN_TYPE_OBJECT:
if (etms->priv->columns[col].custom.value_is_empty)
return etms->priv->columns[col].custom.value_is_empty (E_TABLE_MODEL (etms), col, value, NULL);
@@ -215,7 +205,6 @@ etms_value_to_string (ETableModel *etm,
return g_strdup (value);
case E_TABLE_MEMORY_STORE_COLUMN_TYPE_PIXBUF:
return g_strdup ("");
- case E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM:
case E_TABLE_MEMORY_STORE_COLUMN_TYPE_OBJECT:
if (etms->priv->columns[col].custom.value_is_empty)
return etms->priv->columns[col].custom.value_to_string (E_TABLE_MODEL (etms), col, value, NULL);
diff --git a/e-util/e-table-memory-store.h b/e-util/e-table-memory-store.h
index 89625d28be..e9f88580dc 100644
--- a/e-util/e-table-memory-store.h
+++ b/e-util/e-table-memory-store.h
@@ -58,7 +58,6 @@ typedef enum {
E_TABLE_MEMORY_STORE_COLUMN_TYPE_STRING,
E_TABLE_MEMORY_STORE_COLUMN_TYPE_PIXBUF,
E_TABLE_MEMORY_STORE_COLUMN_TYPE_OBJECT,
- E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM
} ETableMemoryStoreColumnType;
typedef struct {