From 47def37a7238f9454efd3120e5dbda09c90301d7 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Sun, 19 Apr 2009 08:08:47 +0100 Subject: 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. --- gdata/gdata-service.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gdata/gdata-service.h') 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); -- cgit v1.2.1