aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-09-16 08:04:47 +0800
committerChris Lahey <clahey@src.gnome.org>2000-09-16 08:04:47 +0800
commite1e7952c86079b58f9f2b5840b1d620666aa868a (patch)
tree5e93eab2a27f092ee820537ebe327d5f01c96ee5 /widgets/table/e-table-item.c
parentb3d655a1381ca0a0f7ae70f5ef2d77c1d31f68b2 (diff)
downloadgsoc2013-evolution-e1e7952c86079b58f9f2b5840b1d620666aa868a.tar.gz
gsoc2013-evolution-e1e7952c86079b58f9f2b5840b1d620666aa868a.tar.zst
gsoc2013-evolution-e1e7952c86079b58f9f2b5840b1d620666aa868a.zip
Added some missing #includes.
2000-09-16 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Added some missing #includes. * e-cell-tree.c: Removed an unused variable. * e-table-item.c: Added some missing casts. svn path=/trunk/; revision=5470
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index b1fdfc66d3..ecb5d8a59b 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -1436,7 +1436,7 @@ _do_tooltip (ETableItem *eti)
for (i = 0; i < eti->tooltip->row; i++)
y += ETI_ROW_HEIGHT (eti, i);
eti->tooltip->y = y;
- eti->tooltip->eti = eti;
+ eti->tooltip->eti = GNOME_CANVAS_ITEM(eti);
eti->tooltip->row_height = ETI_ROW_HEIGHT (eti, i);
g_print ("Tooltip at %d,%d\n", x, y);
@@ -1619,7 +1619,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
eti->tooltip->row = row;
eti->tooltip->cx = e->motion.x;
eti->tooltip->cy = e->motion.y;
- eti->tooltip->timer = gtk_timeout_add (1000, _do_tooltip, eti);
+ eti->tooltip->timer = gtk_timeout_add (1000, (GSourceFunc)_do_tooltip, eti);
if (cursor_row == view_to_model_row(eti, row) && cursor_col == view_to_model_col(eti, col)){
ecell_view = eti->cell_views [col];