diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-19 00:17:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-19 00:29:17 +0800 |
commit | 77f165b6cf9b3a8c8e6d1c71a7a69f232f61977b (patch) | |
tree | 8629f89f999f3d9d504d5d57fe76f07716deebff /e-util | |
parent | c603304bd7f55a4a20592bf2704f8b402c36b411 (diff) | |
download | gsoc2013-evolution-77f165b6cf9b3a8c8e6d1c71a7a69f232f61977b.tar.gz gsoc2013-evolution-77f165b6cf9b3a8c8e6d1c71a7a69f232f61977b.tar.zst gsoc2013-evolution-77f165b6cf9b3a8c8e6d1c71a7a69f232f61977b.zip |
Remove unused E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-table-memory-store.c | 11 | ||||
-rw-r--r-- | e-util/e-table-memory-store.h | 1 |
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 { |