summaryrefslogtreecommitdiff
path: root/gdata/services/documents/gdata-documents-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdata/services/documents/gdata-documents-service.c')
-rw-r--r--gdata/services/documents/gdata-documents-service.c59
1 files changed, 0 insertions, 59 deletions
diff --git a/gdata/services/documents/gdata-documents-service.c b/gdata/services/documents/gdata-documents-service.c
index 0de0aec6..07c4062c 100644
--- a/gdata/services/documents/gdata-documents-service.c
+++ b/gdata/services/documents/gdata-documents-service.c
@@ -270,17 +270,6 @@ gdata_documents_service_error_quark (void)
static void append_query_headers (GDataService *self, GDataAuthorizationDomain *domain, SoupMessage *message);
static GList *get_authorization_domains (void);
-static GDataFeed *
-parse_feed (GDataService *self,
- GDataAuthorizationDomain *domain,
- GDataQuery *query,
- GType entry_type,
- SoupMessage *message,
- GCancellable *cancellable,
- GDataQueryProgressCallback progress_callback,
- gpointer progress_user_data,
- GError **error);
-
static gchar *_get_upload_uri_for_query_and_folder (GDataDocumentsUploadQuery *query,
GDataDocumentsFolder *folder) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;
@@ -296,7 +285,6 @@ gdata_documents_service_class_init (GDataDocumentsServiceClass *klass)
service_class->append_query_headers = append_query_headers;
service_class->get_authorization_domains = get_authorization_domains;
- service_class->parse_feed = parse_feed;
service_class->api_version = "3";
}
@@ -361,53 +349,6 @@ get_authorization_domains (void)
return authorization_domains;
}
-static GDataFeed *
-parse_feed (GDataService *self,
- GDataAuthorizationDomain *domain,
- GDataQuery *query,
- GType entry_type,
- SoupMessage *message,
- GCancellable *cancellable,
- GDataQueryProgressCallback progress_callback,
- gpointer progress_user_data,
- GError **error)
-{
- GDataServiceClass *klass; /* unowned */
- GDataFeed *feed = NULL; /* owned */
-
- klass = GDATA_SERVICE_CLASS (gdata_documents_service_parent_class);
-
- /* Parse the feed. */
- feed = klass->parse_feed (self, domain, query, entry_type, message,
- cancellable, progress_callback,
- progress_user_data, error);
-
- /* Update the query with the next and previous URIs from the feed. If
- * they are not present, we are on the first or final page of the
- * feed. (This behaviour is specific to Google Docs.) */
- if (query != NULL && feed != NULL) {
- GDataLink *_link;
-
- _link = gdata_feed_look_up_link (feed, "http://www.iana.org/assignments/relation/next");
-
- if (_link != NULL) {
- _gdata_query_set_next_uri (query, gdata_link_get_uri (_link));
- } else {
- _gdata_query_set_next_uri_end (query);
- }
-
- _link = gdata_feed_look_up_link (feed, "http://www.iana.org/assignments/relation/previous");
-
- if (_link != NULL) {
- _gdata_query_set_previous_uri (query, gdata_link_get_uri (_link));
- } else {
- _gdata_query_set_previous_uri_end (query);
- }
- }
-
- return feed;
-}
-
/**
* gdata_documents_service_new:
* @authorizer: (allow-none): a #GDataAuthorizer to authorize the service's requests, or %NULL