[libgda/LIBGDA_4.2] Correctly initialize the GdaDataModel::access-changed signal



commit 4769971d20fc0e9e2ee06b491631b054394fcd34
Author: Vivien Malerba <malerba gnome-db org>
Date:   Wed Jul 27 22:28:04 2011 +0200

    Correctly initialize the GdaDataModel::access-changed signal

 libgda/gda-data-model.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgda/gda-data-model.c b/libgda/gda-data-model.c
index de95566..17acb03 100644
--- a/libgda/gda-data-model.c
+++ b/libgda/gda-data-model.c
@@ -73,6 +73,7 @@ enum {
 	ROW_UPDATED,
 	ROW_REMOVED,
 	RESET,
+	ACCESS_CHANGED,
 	LAST_SIGNAL
 };
 
@@ -205,7 +206,7 @@ gda_data_model_class_init (G_GNUC_UNUSED gpointer g_class)
 		 * Gets emitted when @model's access flags have changed. Use
 		 * gda_data_model_get_access_flags() to get the access flags.
 		 */
-		gda_data_model_signals[RESET] =
+		gda_data_model_signals[ACCESS_CHANGED] =
 			g_signal_new ("access-changed",
 				      GDA_TYPE_DATA_MODEL,
 				      G_SIGNAL_RUN_LAST,



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