[couchdb-glib] Corrected type of database signal parameters



commit 6c3579da86dda899c5d581718eb1b4ddb300976f
Author: Moses PalmÃr <mosespalmer gmail com>
Date:   Sat Aug 20 22:23:04 2011 +0200

    Corrected type of database signal parameters

 couchdb-glib/couchdb-database.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/couchdb-glib/couchdb-database.c b/couchdb-glib/couchdb-database.c
index f6f9296..113e2eb 100644
--- a/couchdb-glib/couchdb-database.c
+++ b/couchdb-glib/couchdb-database.c
@@ -150,7 +150,7 @@ couchdb_database_class_init (CouchdbDatabaseClass *klass)
 			      NULL, NULL,
 			      g_cclosure_marshal_VOID__OBJECT,
 			      G_TYPE_NONE, 1,
-			      G_TYPE_OBJECT);
+			      COUCHDB_TYPE_DOCUMENT);
 	couchdb_database_signals[DOCUMENT_UPDATED] =
 		g_signal_new ("document_updated",
 			      G_OBJECT_CLASS_TYPE (object_class),
@@ -159,7 +159,7 @@ couchdb_database_class_init (CouchdbDatabaseClass *klass)
 			      NULL, NULL,
 			      g_cclosure_marshal_VOID__OBJECT,
 			      G_TYPE_NONE, 1,
-			      G_TYPE_OBJECT);
+			      COUCHDB_TYPE_DOCUMENT);
 	couchdb_database_signals[DOCUMENT_DELETED] =
 		g_signal_new ("document_deleted",
 			      G_OBJECT_CLASS_TYPE (object_class),



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