summaryrefslogtreecommitdiff
path: root/gdata/gdata-service.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2009-04-19 08:08:47 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2009-04-19 08:09:58 +0100
commit47def37a7238f9454efd3120e5dbda09c90301d7 (patch)
treea7473fd6c64e7d24b75cf082a71cb083fd278224 /gdata/gdata-service.h
parenta3ab634d90395ee6a143da96c3c248e9748ed728 (diff)
downloadlibgdata-47def37a7238f9454efd3120e5dbda09c90301d7.tar.gz
Removed redundant parameters from insert and update functions
Removed the entry_type parameters from _insert_entry and _update_entry, as the entry's type can be acquired from the entry being inserted or updated itself.
Diffstat (limited to 'gdata/gdata-service.h')
-rw-r--r--gdata/gdata-service.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdata/gdata-service.h b/gdata/gdata-service.h
index ce2afdf0..f135a960 100644
--- a/gdata/gdata-service.h
+++ b/gdata/gdata-service.h
@@ -163,12 +163,10 @@ void gdata_service_query_async (GDataService *self, const gchar *feed_uri, GData
GAsyncReadyCallback callback, gpointer user_data);
GDataFeed *gdata_service_query_finish (GDataService *self, GAsyncResult *async_result, GError **error);
-GDataEntry *gdata_service_insert_entry (GDataService *self, const gchar *upload_uri, GDataEntry *entry, GType entry_type,
- GCancellable *cancellable, GError **error);
+GDataEntry *gdata_service_insert_entry (GDataService *self, const gchar *upload_uri, GDataEntry *entry, GCancellable *cancellable, GError **error);
/* TODO: async version */
-GDataEntry *gdata_service_update_entry (GDataService *self, GDataEntry *entry, GType entry_type,
- GCancellable *cancellable, GError **error);
+GDataEntry *gdata_service_update_entry (GDataService *self, GDataEntry *entry, GCancellable *cancellable, GError **error);
/* TODO: async version */
gboolean gdata_service_delete_entry (GDataService *self, GDataEntry *entry, GCancellable *cancellable, GError **error);