summaryrefslogtreecommitdiff
path: root/gdata/services/contacts/gdata-contacts-service.h
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2011-06-18 18:31:28 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2011-06-18 18:31:40 +0100
commitfafa68352959512861bcbc8c9d3f0295a70e767c (patch)
tree31bf1d90f4c825f2a280201f8df7d6236180f405 /gdata/services/contacts/gdata-contacts-service.h
parent75ededc68bdc77d522156c3fbcb2b2e4cd93e102 (diff)
downloadlibgdata-fafa68352959512861bcbc8c9d3f0295a70e767c.tar.gz
introspection: Add GDestroyNotify to progress callbacks
All query_async functions that take a progress callback should have a GDestroyNotify parameter for freeing the progress callback data, since there is no suitable (scope) annotation. This breaks API by changing the signatures for: • gdata_access_handler_get_rules_async() • gdata_service_query_async() • gdata_calendar_service_query_all_calendars_async() • gdata_calendar_service_query_own_calendars_async() • gdata_calendar_service_query_events_async() • gdata_contacts_service_query_contacts_async() • gdata_contacts_service_query_groups_async() • gdata_documents_service_query_documents_async() • gdata_picasaweb_service_query_all_albums_async() • gdata_picasaweb_service_query_files_async() • gdata_youtube_service_query_standard_feed_async() • gdata_youtube_service_query_videos_async() • gdata_youtube_service_query_related_async() Closes: bgo#649728
Diffstat (limited to 'gdata/services/contacts/gdata-contacts-service.h')
-rw-r--r--gdata/services/contacts/gdata-contacts-service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdata/services/contacts/gdata-contacts-service.h b/gdata/services/contacts/gdata-contacts-service.h
index 36abbd35..23a4459c 100644
--- a/gdata/services/contacts/gdata-contacts-service.h
+++ b/gdata/services/contacts/gdata-contacts-service.h
@@ -71,6 +71,7 @@ GDataFeed *gdata_contacts_service_query_contacts (GDataContactsService *self, GD
GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;
void gdata_contacts_service_query_contacts_async (GDataContactsService *self, GDataQuery *query, GCancellable *cancellable,
GDataQueryProgressCallback progress_callback, gpointer progress_user_data,
+ GDestroyNotify destroy_progress_user_data,
GAsyncReadyCallback callback, gpointer user_data);
#include <gdata/services/contacts/gdata-contacts-contact.h>
@@ -87,6 +88,7 @@ GDataFeed *gdata_contacts_service_query_groups (GDataContactsService *self, GDat
GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;
void gdata_contacts_service_query_groups_async (GDataContactsService *self, GDataQuery *query, GCancellable *cancellable,
GDataQueryProgressCallback progress_callback, gpointer progress_user_data,
+ GDestroyNotify destroy_progress_user_data,
GAsyncReadyCallback callback, gpointer user_data);
GDataContactsGroup *gdata_contacts_service_insert_group (GDataContactsService *self, GDataContactsGroup *group,