[couchdb-glib] Use correct signatures for CouchdbDatabase class' signals
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [couchdb-glib] Use correct signatures for CouchdbDatabase class' signals
- Date: Wed, 7 Jul 2010 10:11:17 +0000 (UTC)
commit afff7b51cc54b9a8537e35e4002671dfde1a4191
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Wed Jul 7 12:11:09 2010 +0200
Use correct signatures for CouchdbDatabase class' signals
couchdb-glib/couchdb-database.c | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/couchdb-glib/couchdb-database.c b/couchdb-glib/couchdb-database.c
index 2436aa7..82e2aae 100644
--- a/couchdb-glib/couchdb-database.c
+++ b/couchdb-glib/couchdb-database.c
@@ -154,9 +154,8 @@ couchdb_database_class_init (CouchdbDatabaseClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (CouchdbDatabaseClass, document_created),
NULL, NULL,
- _couchdb_marshal_VOID__STRING_OBJECT,
- G_TYPE_NONE, 2,
- G_TYPE_STRING,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
G_TYPE_OBJECT);
couchdb_database_signals[DOCUMENT_UPDATED] =
g_signal_new ("document_updated",
@@ -164,9 +163,8 @@ couchdb_database_class_init (CouchdbDatabaseClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (CouchdbDatabaseClass, document_updated),
NULL, NULL,
- _couchdb_marshal_VOID__STRING_OBJECT,
- G_TYPE_NONE, 2,
- G_TYPE_STRING,
+ g_cclosure_marshal_VOID__OBJECT,
+ G_TYPE_NONE, 1,
G_TYPE_OBJECT);
couchdb_database_signals[DOCUMENT_DELETED] =
g_signal_new ("document_deleted",
@@ -174,9 +172,8 @@ couchdb_database_class_init (CouchdbDatabaseClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (CouchdbDatabaseClass, document_deleted),
NULL, NULL,
- _couchdb_marshal_VOID__STRING_STRING,
- G_TYPE_NONE, 2,
- G_TYPE_STRING,
+ g_cclosure_marshal_VOID__STRING,
+ G_TYPE_NONE, 1,
G_TYPE_STRING);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]