aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-item.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-11-25 17:01:59 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-25 17:01:59 +0800
commita04a846f41febe5b9417b407c9e6b1855eeecf81 (patch)
tree8cd3566d9366eaed80662860d74097518c253c1a /widgets/table/e-table-header-item.c
parent385ccbd512c4c43305dee900f86d0f51f94b1200 (diff)
downloadgsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.tar
gsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.tar.gz
gsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.tar.bz2
gsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.tar.lz
gsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.tar.xz
gsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.tar.zst
gsoc2013-evolution-a04a846f41febe5b9417b407c9e6b1855eeecf81.zip
It draws the data. WEEEEEEEEE! Miguel
svn path=/trunk/; revision=1435
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r--widgets/table/e-table-header-item.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index ab59d9a01c..1092874b9e 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -157,7 +157,6 @@ ethi_realize (GnomeCanvasItem *item)
ETableHeaderItem *ethi = E_TABLE_HEADER_ITEM (item);
GdkWindow *window;
GdkColor c;
- int i;
if (GNOME_CANVAS_ITEM_CLASS (ethi_parent_class)-> realize)
(*GNOME_CANVAS_ITEM_CLASS (ethi_parent_class)->realize)(item);
@@ -172,26 +171,12 @@ ethi_realize (GnomeCanvasItem *item)
if (!ethi->font)
ethi_font_load (ethi, "fixed");
-
- /*
- * Now realize the various ECells
- */
- ethi->n_cells = e_table_header_count (ethi->eth);
- ethi->cell_views = g_new (ECellView *, ethi->n_cells);
-
- for (i = 0; i < ethi->n_cells; i++){
- ETableCol *col = e_table_header_get_column (ethi->eth, i);
-
- ethi->cell_views [i] = e_cell_realize (col->ecell, item->canvas);
- }
-
}
static void
ethi_unrealize (GnomeCanvasItem *item)
{
ETableHeaderItem *ethi = E_TABLE_HEADER_ITEM (item);
- int i;
gdk_gc_unref (ethi->gc);
ethi->gc = NULL;
@@ -202,14 +187,6 @@ ethi_unrealize (GnomeCanvasItem *item)
gdk_cursor_destroy (ethi->normal_cursor);
ethi->normal_cursor = NULL;
- for (i = 0; i < ethi->n_cells; i++){
- ETableCol *col = e_table_header_get_column (ethi->eth, i);
-
- e_cell_unrealize (col->ecell, ethi->cell_views [i]);
- ethi->cell_views = NULL;
- }
- g_free (ethi->cell_views);
-
if (GNOME_CANVAS_ITEM_CLASS (ethi_parent_class)->unrealize)
(*GNOME_CANVAS_ITEM_CLASS (ethi_parent_class)->unrealize)(item);
}