[libgda] Correctly initialize the GdaDataModel::access-changed signal



commit 7eb529bf8ba3a0b427ab09ac96a9a80300d2d63e
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 2a1c3c1..e955b4e 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]