aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table-header-item.c
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-11-12 16:41:20 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-12 16:41:20 +0800
commit43fd06f8ec06257cbd135b03c5e203dfcd134fd4 (patch)
tree2053caff6b2865f07df3fd1c7793024e79686fae /widgets/e-table-header-item.c
parent15b4b77c8ae5dabda4e3c4eb30e4345d5effdfb1 (diff)
downloadgsoc2013-evolution-43fd06f8ec06257cbd135b03c5e203dfcd134fd4.tar
gsoc2013-evolution-43fd06f8ec06257cbd135b03c5e203dfcd134fd4.tar.gz
gsoc2013-evolution-43fd06f8ec06257cbd135b03c5e203dfcd134fd4.tar.bz2
gsoc2013-evolution-43fd06f8ec06257cbd135b03c5e203dfcd134fd4.tar.lz
gsoc2013-evolution-43fd06f8ec06257cbd135b03c5e203dfcd134fd4.tar.xz
gsoc2013-evolution-43fd06f8ec06257cbd135b03c5e203dfcd134fd4.tar.zst
gsoc2013-evolution-43fd06f8ec06257cbd135b03c5e203dfcd134fd4.zip
More table work
svn path=/trunk/; revision=1383
Diffstat (limited to 'widgets/e-table-header-item.c')
-rw-r--r--widgets/e-table-header-item.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/widgets/e-table-header-item.c b/widgets/e-table-header-item.c
index 796a2e493b..effdbb3f0b 100644
--- a/widgets/e-table-header-item.c
+++ b/widgets/e-table-header-item.c
@@ -136,9 +136,7 @@ ethi_draw (GnomeCanvasItem *item, GdkDrawable *drawable, int x1, int y1, int wid
GTK_STATE_NORMAL, GTK_SHADOW_OUT,
x , -y1, col_width, ETHI_HEIGHT);
- if (ecol->render != NULL)
- (*ecol->render)(ecol, item, drawable, x1, y1, width, height, ecol->render_data);
- else {
+ {
GdkRectangle clip;
GdkFont *font = GTK_WIDGET (canvas)->style->font;
@@ -193,7 +191,7 @@ ethi_class_init (GtkObjectClass *object_class)
item_class->point = ethi_point;
item_class->event = ethi_event;
- gtk_object_add_arg_type ("ETableHeaderItem::ETableColumn", GTK_TYPE_POINTER,
+ gtk_object_add_arg_type ("ETableHeaderItem::ETableHeader", GTK_TYPE_POINTER,
GTK_ARG_WRITABLE, ARG_TABLE_HEADER);
}
@@ -207,7 +205,7 @@ ethi_init (GnomeCanvasItem *item)
}
GtkType
-e_table_header_view_get_type (void)
+e_table_header_item_get_type (void)
{
static GtkType type = 0;
@@ -229,5 +227,3 @@ e_table_header_view_get_type (void)
return type;
}
-
-