aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-11 10:13:05 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-11 10:13:05 +0800
commit6905c1b233e61f46a573ad56126e024bf0b9d3bd (patch)
tree4cee0b55680f819973530bc1c40f9343cbcc2893 /widgets/table
parent69dfa6b30b0f9e31c6b31b6c2e47a52456728548 (diff)
downloadgsoc2013-evolution-6905c1b233e61f46a573ad56126e024bf0b9d3bd.tar
gsoc2013-evolution-6905c1b233e61f46a573ad56126e024bf0b9d3bd.tar.gz
gsoc2013-evolution-6905c1b233e61f46a573ad56126e024bf0b9d3bd.tar.bz2
gsoc2013-evolution-6905c1b233e61f46a573ad56126e024bf0b9d3bd.tar.lz
gsoc2013-evolution-6905c1b233e61f46a573ad56126e024bf0b9d3bd.tar.xz
gsoc2013-evolution-6905c1b233e61f46a573ad56126e024bf0b9d3bd.tar.zst
gsoc2013-evolution-6905c1b233e61f46a573ad56126e024bf0b9d3bd.zip
Put debugging stuff in d().
2001-04-10 Christopher James Lahey <clahey@ximian.com> * e-table-item.c: Put debugging stuff in d(). svn path=/trunk/; revision=9220
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-item.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 8408a5805a..c11a41712e 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -31,6 +31,8 @@
#define FOCUSED_BORDER 2
+#define d(x)
+
/* FIXME: Do an analysis of which cell functions are needed before
realize and make sure that all of them are doable by all the cells
and that all of the others are only done after realization. */
@@ -1717,7 +1719,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
return_val = eti_e_cell_event (eti, ecell_view, (GdkEvent *) &button, button.time,
view_to_model_col(eti, col), col, row, E_CELL_EDITING);
}
- g_print("Single click\n");
+ d(g_print("Single click\n"));
break;
case 3:
@@ -1779,7 +1781,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
return_val = eti_e_cell_event (eti, ecell_view, e, e->button.time,
view_to_model_col(eti, col), col, row, E_CELL_EDITING);
}
- g_print ("Release\n");
+ d(g_print ("Release\n"));
break;
case 3:
case 4:
@@ -1818,7 +1820,7 @@ eti_event (GnomeCanvasItem *item, GdkEvent *e)
gtk_signal_emit (GTK_OBJECT (eti), eti_signals [DOUBLE_CLICK],
row, col, &button);
- g_print("Double click\n");
+ d(g_print("Double click\n"));
break;
}
case GDK_MOTION_NOTIFY: {