diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2010-03-31 00:22:07 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2010-03-31 00:28:59 +0100 |
commit | a0742d438ac0cca989e3eb4756d9985596e5479a (patch) | |
tree | 55f1630f5f5dc9c6c000cb969299d040b0774b55 /gdata/services/youtube/gdata-youtube-service.h | |
parent | 4e36bb3457f45828c79f9f9794307f1205d9e59d (diff) | |
download | libgdata-a0742d438ac0cca989e3eb4756d9985596e5479a.tar.gz |
[core] Unify queries for single entries
Add a new gdata_service_query_single_entry() function (and async variant)
to serve as the main function to call for retrieving a single entry from
any service.
As a consequence of this, the GDataQuery:entry-id property has been removed,
as it's now redundant (and never worked well anyway).
ABI has been broken apart from the API removals due to adding a new member
to GDataEntryClass.
Note that this includes the removal of:
* gdata_youtube_service_query_single_video() (and async variant)
* gdata_documents_service_query_single_document()
* gdata_query_new_for_id()
* gdata_query_[get|set]_entry_id()
Diffstat (limited to 'gdata/services/youtube/gdata-youtube-service.h')
-rw-r--r-- | gdata/services/youtube/gdata-youtube-service.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gdata/services/youtube/gdata-youtube-service.h b/gdata/services/youtube/gdata-youtube-service.h index 28bf9cab..8d32b075 100644 --- a/gdata/services/youtube/gdata-youtube-service.h +++ b/gdata/services/youtube/gdata-youtube-service.h @@ -123,13 +123,6 @@ void gdata_youtube_service_query_videos_async (GDataYouTubeService *self, GDataQ GCancellable *cancellable, GDataQueryProgressCallback progress_callback, gpointer progress_user_data, GAsyncReadyCallback callback, gpointer user_data); -GDataYouTubeVideo *gdata_youtube_service_query_single_video (GDataYouTubeService *self, GDataQuery *query, const gchar *video_id, - GCancellable *cancellable, GError **error) G_GNUC_WARN_UNUSED_RESULT; -void gdata_youtube_service_query_single_video_async (GDataYouTubeService *self, GDataQuery *query, const gchar *video_id, - GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); -GDataYouTubeVideo *gdata_youtube_service_query_single_video_finish (GDataYouTubeService *self, GAsyncResult *async_result, - GError **error); - GDataFeed *gdata_youtube_service_query_related (GDataYouTubeService *self, GDataYouTubeVideo *video, GDataQuery *query, GCancellable *cancellable, GDataQueryProgressCallback progress_callback, gpointer progress_user_data, GError **error) G_GNUC_WARN_UNUSED_RESULT; |