[couchdb-glib] Added missing GType argument to signal installation code



commit 189989da57ef6114b12b50caeb22bab3663e2054
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Fri Jun 4 11:08:24 2010 +0200

    Added missing GType argument to signal installation code

 couchdb-glib/couchdb-document.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/couchdb-glib/couchdb-document.c b/couchdb-glib/couchdb-document.c
index b7eae34..5aa098d 100644
--- a/couchdb-glib/couchdb-document.c
+++ b/couchdb-glib/couchdb-document.c
@@ -25,6 +25,7 @@
 #include <libsoup/soup-session-async.h>
 #include <libsoup/soup-gnome.h>
 #include <json-glib/json-glib.h>
+#include "couchdb-database.h"
 #include "couchdb-document.h"
 #include "utils.h"
 
@@ -108,7 +109,7 @@ couchdb_document_class_init (CouchdbDocumentClass *klass)
 					 g_param_spec_object ("database",
 							      "Database object",
 							      "Database from which this document was retrieved/saved",
-							      NULL,
+							      COUCHDB_TYPE_DATABASE,
 							      G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
 }
 



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