[evolution] Remove unused E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM.



commit 77f165b6cf9b3a8c8e6d1c71a7a69f232f61977b
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Jun 18 12:17:16 2013 -0400

    Remove unused E_TABLE_MEMORY_STORE_COLUMN_TYPE_CUSTOM.

 e-util/e-table-memory-store.c |   11 -----------
 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 6a28aae..79e0757 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 89625d2..e9f8858 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 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]