From fafa68352959512861bcbc8c9d3f0295a70e767c Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sat, 18 Jun 2011 18:31:28 +0100 Subject: introspection: Add GDestroyNotify to progress callbacks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- HACKING | 3 +++ 1 file changed, 3 insertions(+) (limited to 'HACKING') diff --git a/HACKING b/HACKING index ae531dca..9d9f699b 100644 --- a/HACKING +++ b/HACKING @@ -121,6 +121,9 @@ Adding public API See http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html for information about libtool's versioning system. See also the “Versioning” section below. + - Any async function which uses non-async-scope callbacks as well as the async ready callback should provide GDestroyNotify callbacks for destroying + the user data for those callbacks. See https://bugzilla.gnome.org/show_bug.cgi?id=649728 for details. + Choosing function names ======================= -- cgit v1.2.1