[libgdata] calendar: Update GDataCalendarService to GDataEntry:content-uri



commit b1199dfc2952ac776485f5822d77ff4fe7845c93
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Aug 23 21:31:38 2010 +0100

    calendar: Update GDataCalendarService to GDataEntry:content-uri

 gdata/services/calendar/gdata-calendar-service.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdata/services/calendar/gdata-calendar-service.c b/gdata/services/calendar/gdata-calendar-service.c
index 2126acc..d16b936 100644
--- a/gdata/services/calendar/gdata-calendar-service.c
+++ b/gdata/services/calendar/gdata-calendar-service.c
@@ -286,11 +286,11 @@ gdata_calendar_service_query_events (GDataCalendarService *self, GDataCalendarCa
 	}
 
 	/* Use the calendar's content src */
-	uri = gdata_entry_get_content (GDATA_ENTRY (calendar));
+	uri = gdata_entry_get_content_uri (GDATA_ENTRY (calendar));
 	if (uri == NULL) {
 		/* Erroring out is probably the safest thing to do */
 		g_set_error_literal (error, GDATA_SERVICE_ERROR, GDATA_SERVICE_ERROR_PROTOCOL_ERROR,
-		                     _("The calendar did not have a content source."));
+		                     _("The calendar did not have a content URI."));
 		return NULL;
 	}
 



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