[libgdata/wip/rishi/drive: 7/7] documents: Deprecate document-id
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/wip/rishi/drive: 7/7] documents: Deprecate document-id
- Date: Mon, 20 Apr 2015 15:40:30 +0000 (UTC)
commit 5d4b4da6b720d99889ef66dd7baf942af4cc238b
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Apr 17 15:14:08 2015 +0200
documents: Deprecate document-id
The corresponding getter was already marked as deprecated, and in
Drive v2 document-id is identical to GDataEntry:id. There is no reason
to use document-id any more.
https://bugzilla.gnome.org/show_bug.cgi?id=684920
gdata/services/documents/gdata-documents-entry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/services/documents/gdata-documents-entry.c
b/gdata/services/documents/gdata-documents-entry.c
index fbe196b..5ff5f96 100644
--- a/gdata/services/documents/gdata-documents-entry.c
+++ b/gdata/services/documents/gdata-documents-entry.c
@@ -261,7 +261,7 @@ gdata_documents_entry_class_init (GDataDocumentsEntryClass *klass)
g_param_spec_string ("document-id",
"Document ID", "The document ID of the
document.",
NULL,
- G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS |
G_PARAM_DEPRECATED));
/**
* GDataDocumentsEntry:last-modified-by:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]