[libgdata] docs: Remove some outdated TODO comments
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] docs: Remove some outdated TODO comments
- Date: Mon, 20 Dec 2010 13:58:20 +0000 (UTC)
commit 3dfd4dedf71fae3481477fb66e199f9d235402fd
Author: Philip Withnall <philip tecnocode co uk>
Date: Mon Dec 20 13:57:40 2010 +0000
docs: Remove some outdated TODO comments
gdata/gdata-service.c | 2 +-
gdata/services/calendar/gdata-calendar-query.c | 4 ++--
gdata/services/contacts/gdata-contacts-contact.c | 1 -
gdata/services/contacts/gdata-contacts-query.c | 4 ++--
gdata/services/picasaweb/gdata-picasaweb-album.c | 1 -
gdata/services/picasaweb/gdata-picasaweb-file.h | 1 -
gdata/services/picasaweb/gdata-picasaweb-service.c | 1 -
7 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index 80a9096..e386127 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -962,7 +962,7 @@ _gdata_service_build_message (GDataService *self, const gchar *method, const gch
}
typedef struct {
- GStaticMutex mutex; /* mutex TODO */
+ GStaticMutex mutex; /* mutex to prevent cancellation before the message has been added to the session's message queue */
SoupSession *session;
SoupMessage *message;
} MessageData;
diff --git a/gdata/services/calendar/gdata-calendar-query.c b/gdata/services/calendar/gdata-calendar-query.c
index 26bbc1e..beb1485 100644
--- a/gdata/services/calendar/gdata-calendar-query.c
+++ b/gdata/services/calendar/gdata-calendar-query.c
@@ -46,11 +46,11 @@ static void get_query_uri (GDataQuery *self, const gchar *feed_uri, GString *que
struct _GDataCalendarQueryPrivate {
gboolean future_events;
- gchar *order_by; /* TODO: enum? #defined values? */
+ gchar *order_by; /* TODO: #defined values */
gint64 recurrence_expansion_start;
gint64 recurrence_expansion_end;
gboolean single_events;
- gchar *sort_order; /* TODO: enum? */
+ gchar *sort_order; /* TODO: #defined values */
gint64 start_min;
gint64 start_max;
gchar *timezone;
diff --git a/gdata/services/contacts/gdata-contacts-contact.c b/gdata/services/contacts/gdata-contacts-contact.c
index 3fa8f4f..f55983f 100644
--- a/gdata/services/contacts/gdata-contacts-contact.c
+++ b/gdata/services/contacts/gdata-contacts-contact.c
@@ -2948,7 +2948,6 @@ gdata_contacts_contact_get_photo (GDataContactsContact *self, GDataContactsServi
guint status;
guint8 *data;
- /* TODO: async version */
g_return_val_if_fail (GDATA_IS_CONTACTS_CONTACT (self), NULL);
g_return_val_if_fail (GDATA_IS_CONTACTS_SERVICE (service), NULL);
g_return_val_if_fail (length != NULL, NULL);
diff --git a/gdata/services/contacts/gdata-contacts-query.c b/gdata/services/contacts/gdata-contacts-query.c
index b1aa7a9..a89503f 100644
--- a/gdata/services/contacts/gdata-contacts-query.c
+++ b/gdata/services/contacts/gdata-contacts-query.c
@@ -46,9 +46,9 @@ static void gdata_contacts_query_set_property (GObject *object, guint property_i
static void get_query_uri (GDataQuery *self, const gchar *feed_uri, GString *query_uri, gboolean *params_started);
struct _GDataContactsQueryPrivate {
- gchar *order_by; /* TODO: enum? #defined values? */
+ gchar *order_by; /* TODO: #defined values */
gboolean show_deleted;
- gchar *sort_order; /* TODO: enum? */
+ gchar *sort_order; /* TODO: #defined values */
gchar *group;
};
diff --git a/gdata/services/picasaweb/gdata-picasaweb-album.c b/gdata/services/picasaweb/gdata-picasaweb-album.c
index f0f5fbe..c33f004 100644
--- a/gdata/services/picasaweb/gdata-picasaweb-album.c
+++ b/gdata/services/picasaweb/gdata-picasaweb-album.c
@@ -806,7 +806,6 @@ get_xml (GDataParsable *parsable, GString *xml_string)
/* TODO:
* - Finish supporting all tags
* - Check all tags here are valid for insertions and updates
- * - add GML support
*/
}
diff --git a/gdata/services/picasaweb/gdata-picasaweb-file.h b/gdata/services/picasaweb/gdata-picasaweb-file.h
index 709f06c..78ec8a2 100644
--- a/gdata/services/picasaweb/gdata-picasaweb-file.h
+++ b/gdata/services/picasaweb/gdata-picasaweb-file.h
@@ -142,7 +142,6 @@ void gdata_picasaweb_file_set_coordinates (GDataPicasaWebFile *self, gdouble lat
/* TODO implement is video */
/* TODO implement get comments */
-/* TODO implement get location */
G_END_DECLS
diff --git a/gdata/services/picasaweb/gdata-picasaweb-service.c b/gdata/services/picasaweb/gdata-picasaweb-service.c
index dacffac..20d5e20 100644
--- a/gdata/services/picasaweb/gdata-picasaweb-service.c
+++ b/gdata/services/picasaweb/gdata-picasaweb-service.c
@@ -376,7 +376,6 @@ GDataFeed *
gdata_picasaweb_service_query_files (GDataPicasaWebService *self, GDataPicasaWebAlbum *album, GDataQuery *query, GCancellable *cancellable,
GDataQueryProgressCallback progress_callback, gpointer progress_user_data, GError **error)
{
- /* TODO: Async variant */
const gchar *uri;
g_return_val_if_fail (GDATA_IS_PICASAWEB_SERVICE (self), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]