[libgdata/wip/oholy/documents-shared-drives-support] Apply 4 suggestion(s) to 2 file(s)



commit 0f9a899aff7b2c27d5b3fc80bbb090af224bd9f2
Author: Ondrej Holy <oholy redhat com>
Date:   Thu Feb 11 17:01:57 2021 +0000

    Apply 4 suggestion(s) to 2 file(s)

 gdata/services/documents/gdata-documents-entry.c   | 4 ++--
 gdata/services/documents/gdata-documents-service.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdata/services/documents/gdata-documents-entry.c 
b/gdata/services/documents/gdata-documents-entry.c
index d0882447..b9b1ffe2 100644
--- a/gdata/services/documents/gdata-documents-entry.c
+++ b/gdata/services/documents/gdata-documents-entry.c
@@ -1485,9 +1485,9 @@ gdata_documents_entry_remove_documents_property (GDataDocumentsEntry *self, GDat
  * gdata_documents_entry_get_shared_with_me_date:
  * @self: a #GDataDocumentsEntry
  *
- * Gets the #GDataDocumentsEntry:shared-with-me-date property. If the property is unset, -1 will be returned.
+ * Gets the #GDataDocumentsEntry:shared-with-me-date property. If the property is unset, `-1` will be 
returned.
  *
- * Return value: the UNIX timestamp for the time at which this file was shared with the user, or -1
+ * Return value: the UNIX timestamp for the time at which this file was shared with the user, or `-1`
  *
  * Since: 0.18.0
  */
diff --git a/gdata/services/documents/gdata-documents-service.c 
b/gdata/services/documents/gdata-documents-service.c
index 53680ee0..fa0b81ec 100644
--- a/gdata/services/documents/gdata-documents-service.c
+++ b/gdata/services/documents/gdata-documents-service.c
@@ -667,7 +667,7 @@ gdata_documents_service_query_drives (GDataDocumentsService *self, GDataDocument
                                       GError **error)
 {
        GDataFeed *feed;
-       gchar *request_uri = "https://www.googleapis.com/drive/v2/drives";;
+       const gchar *request_uri = "https://www.googleapis.com/drive/v2/drives";;
 
        g_return_val_if_fail (GDATA_IS_DOCUMENTS_SERVICE (self), NULL);
        g_return_val_if_fail (query == NULL || GDATA_IS_DOCUMENTS_DRIVE_QUERY (query), NULL);
@@ -714,7 +714,7 @@ gdata_documents_service_query_drives_async (GDataDocumentsService *self, GDataDo
                                             GDestroyNotify destroy_progress_user_data,
                                             GAsyncReadyCallback callback, gpointer user_data)
 {
-       gchar *request_uri = "https://www.googleapis.com/drive/v2/drives";;
+       const gchar *request_uri = "https://www.googleapis.com/drive/v2/drives";;
 
        g_return_if_fail (GDATA_IS_DOCUMENTS_SERVICE (self));
        g_return_if_fail (query == NULL || GDATA_IS_DOCUMENTS_QUERY (query));


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