[evolution] [win32] #undef some conflicting defines



commit 0e239e555149729fb536d6a48b3640b5462a2e47
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date:   Tue Apr 6 12:21:21 2010 +0200

    [win32] #undef some conflicting defines

 widgets/table/e-table-group.c |    5 +++++
 widgets/table/e-table-item.c  |    4 ++++
 widgets/table/e-table.c       |    4 ++++
 widgets/table/e-tree.c        |    4 ++++
 4 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/widgets/table/e-table-group.c b/widgets/table/e-table-group.c
index 4189ae6..9639f5a 100644
--- a/widgets/table/e-table-group.c
+++ b/widgets/table/e-table-group.c
@@ -38,6 +38,11 @@ G_DEFINE_TYPE (ETableGroup, etg, GNOME_TYPE_CANVAS_GROUP)
 
 #define ETG_CLASS(e) (E_TABLE_GROUP_CLASS(GTK_OBJECT_GET_CLASS(e)))
 
+#ifdef DOUBLE_CLICK
+#undef DOUBLE_CLICK
+#endif
+
+
 enum {
 	CURSOR_CHANGE,
 	CURSOR_ACTIVATED,
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 3c0fa33..5df9ce0 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -69,6 +69,10 @@ static void eti_cancel_drag_due_to_model_change (ETableItem *eti);
    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. */
 
+#ifdef DOUBLE_CLICK
+#undef DOUBLE_CLICK
+#endif
+
 enum {
 	CURSOR_CHANGE,
 	CURSOR_ACTIVATED,
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 5c35eb2..571563e 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -63,6 +63,10 @@
 #define e_table_item_leave_edit_(x) (e_table_item_leave_edit((x)))
 #endif
 
+#ifdef DOUBLE_CLICK
+#undef DOUBLE_CLICK
+#endif
+
 enum {
 	CURSOR_CHANGE,
 	CURSOR_ACTIVATED,
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index c093255..1a46628 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -62,6 +62,10 @@
 #define e_table_item_leave_edit_(x) (e_table_item_leave_edit((x)))
 #endif
 
+#ifdef DOUBLE_CLICK
+#undef DOUBLE_CLICK
+#endif
+
 enum {
 	CURSOR_CHANGE,
 	CURSOR_ACTIVATED,



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