evolution-data-server r8645 - trunk/servers/google/libgdata
- From: ebbyw svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8645 - trunk/servers/google/libgdata
- Date: Wed, 16 Apr 2008 21:28:30 +0100 (BST)
Author: ebbyw
Date: Wed Apr 16 21:28:29 2008
New Revision: 8645
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8645&view=rev
Log:
2008-04-16 Ebby Wiselyn <ebbyw gnome org> ** Fixes Bug 523630
* gdata-service-iface.c: Updated google service API's for error handling
(gdata_service_get_feed),
(gdata_service_insert_entry),
(gdata_service_update_entry),
(gdata_service_get_entry),
(gdata_service_delete_entry):
Modified:
trunk/servers/google/libgdata/gdata-service-iface.c
Modified: trunk/servers/google/libgdata/gdata-service-iface.c
==============================================================================
--- trunk/servers/google/libgdata/gdata-service-iface.c (original)
+++ trunk/servers/google/libgdata/gdata-service-iface.c Wed Apr 16 21:28:29 2008
@@ -29,46 +29,42 @@
gdata_service_set_credentials (GDataService *self, const char *username, const gchar *password)
{
GDATA_SERVICE_GET_IFACE(self)->set_credentials(self, username, password);
- return;
}
GDataFeed*
-gdata_service_get_feed (GDataService *self, const char* feedURL)
+gdata_service_get_feed (GDataService *self, const char* feedURL, GError **error)
{
- return GDATA_SERVICE_GET_IFACE(self)->get_feed(self, feedURL);
+ return GDATA_SERVICE_GET_IFACE(self)->get_feed(self, feedURL, error);
}
GDataEntry*
-gdata_service_insert_entry (GDataService *self, const gchar *feed_postURL, GDataEntry *entry)
+gdata_service_insert_entry (GDataService *self, const gchar *feed_postURL, GDataEntry *entry, GError **error)
{
- return GDATA_SERVICE_GET_IFACE(self)->insert_entry(self, g_strdup(feed_postURL), entry);
+ return GDATA_SERVICE_GET_IFACE(self)->insert_entry(self, feed_postURL, entry, error);
}
GDataEntry*
-gdata_service_get_entry (GDataService *self, const gchar *entry_getURL)
+gdata_service_get_entry (GDataService *self, const gchar *entry_getURL, GError **error)
{
- return GDATA_SERVICE_GET_IFACE(self)->get_entry(self, entry_getURL);
+ return GDATA_SERVICE_GET_IFACE(self)->get_entry(self, entry_getURL, error);
}
GDataEntry*
-gdata_service_update_entry (GDataService *self, GDataEntry *entry)
+gdata_service_update_entry (GDataService *self, GDataEntry *entry, GError **error)
{
- GDATA_SERVICE_GET_IFACE(self)->update_entry(self, entry);
- return NULL;
+ return GDATA_SERVICE_GET_IFACE(self)->update_entry(self, entry, error);
}
GDataEntry*
-gdata_service_update_entry_with_link (GDataService *self, GDataEntry *entry, gchar *link)
+gdata_service_update_entry_with_link (GDataService *self, GDataEntry *entry, gchar *link, GError **error)
{
- GDATA_SERVICE_GET_IFACE(self)->update_entry_with_link(self, entry, link);
- return NULL;
+ return GDATA_SERVICE_GET_IFACE(self)->update_entry_with_link(self, entry, link, error);
}
-void
-gdata_service_delete_entry (GDataService *self, GDataEntry *entry)
+gboolean
+gdata_service_delete_entry (GDataService *self, GDataEntry *entry, GError **error)
{
- GDATA_SERVICE_GET_IFACE(self)->delete_entry (self, entry);
- return;
+ return GDATA_SERVICE_GET_IFACE(self)->delete_entry (self, entry, error);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]