[libgda] Bad copy & paste correction



commit cf040ec817690900ee004871bc05bf5d9a64dd9c
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Jan 25 21:32:43 2011 +0100

    Bad copy & paste correction

 libgda/gda-meta-struct.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/gda-meta-struct.h b/libgda/gda-meta-struct.h
index 21f0dfa..bd63e0c 100644
--- a/libgda/gda-meta-struct.h
+++ b/libgda/gda-meta-struct.h
@@ -371,7 +371,7 @@ typedef struct {
  *
  * Returns: the policy as a #GdaMetaForeignKeyPolicy
  */
-#define GDA_META_TABLE_FOREIGN_KEY_ON_DELETE_POLICY(fk) (*(((GdaMetaTableForeignKey*)(fk))->on_update_policy))
+#define GDA_META_TABLE_FOREIGN_KEY_ON_DELETE_POLICY(fk) (*(((GdaMetaTableForeignKey*)(fk))->on_delete_policy))
 
 /**
  * GDA_META_TABLE_FOREIGN_KEY_IN_SCHEMA



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