[couchdb-glib] Remove *Object type for now
- From: Rodrigo Moya <rodrigo src gnome org>
- To: svn-commits-list gnome org
- Subject: [couchdb-glib] Remove *Object type for now
- Date: Fri, 12 Jun 2009 04:53:01 -0400 (EDT)
commit a68cf5b5f8c1dc847d2116b193577431e2ae772c
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Fri Jun 12 10:52:41 2009 +0200
Remove *Object type for now
couchdb-glib/couchdb-glib.h | 4 ++--
couchdb-glib/couchdb-types.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/couchdb-glib/couchdb-glib.h b/couchdb-glib/couchdb-glib.h
index 5d08762..7e8d6a4 100644
--- a/couchdb-glib/couchdb-glib.h
+++ b/couchdb-glib/couchdb-glib.h
@@ -67,8 +67,8 @@ typedef struct {
GObjectClass parent_class;
} CouchDBDocumentClass;
-GSList *couchdb_list_documents (CouchDB *couchdb, const char *dbname, GError **error);
-void couchdb_free_document_list (GSList *doclist);
+GSList *couchdb_list_documents (CouchDB *couchdb, const char *dbname, GError **error);
+void couchdb_free_document_list (GSList *doclist);
CouchDBDocument *couchdb_document_new (CouchDB *couchdb);
CouchDBDocument *couchdb_document_get (CouchDB *couchdb,
diff --git a/couchdb-glib/couchdb-types.h b/couchdb-glib/couchdb-types.h
index a500298..1572950 100644
--- a/couchdb-glib/couchdb-types.h
+++ b/couchdb-glib/couchdb-types.h
@@ -24,18 +24,18 @@
#include <glib-object.h>
-#define COUCHDB_TYPE_OBJECT (couchdb_object_get_type ())
#define COUCHDB_TYPE_DATABASE_INFO (couchdb_database_info_get_type ())
#define COUCHDB_TYPE_DOCUMENT_INFO (couchdb_document_info_get_type ())
-typedef struct _CouchDBObject CouchDBObject;
typedef struct _CouchDBDatabaseInfo CouchDBDatabaseInfo;
typedef struct _CouchDBDocumentInfo CouchDBDocumentInfo;
/*
* CouchDBObject
*/
-GType couchdb_object_get_type (void);
+GType couchdb_object_get_type (void);
+CouchDBObject *couchdb_object_ref (CouchDBObject *object);
+void couchdb_object_unref (CouchDBObject *object);
/*
* CouchDBDatabaseInfo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]