summaryrefslogtreecommitdiff
path: root/gdata/services/youtube/gdata-youtube-service.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2010-12-17 23:30:28 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2010-12-20 12:11:31 +0000
commitb7974ac2ed3293968cfb0c10c610a0afb0d2abc8 (patch)
tree03f8ed28b3477d33d6eb453d89993eb0ede585dc /gdata/services/youtube/gdata-youtube-service.h
parentc512dd50e0c5c5561dae0ad333cf35e29ff5c1ae (diff)
downloadlibgdata-b7974ac2ed3293968cfb0c10c610a0afb0d2abc8.tar.gz
youtube: Add a cancellable parameter to the upload video method
Add a cancellable parameter to gdata_youtube_service_upload_video() to mirror GDataUploadStream:cancellable. The tests have been updated accordingly. This breaks the following API: • gdata_youtube_service_upload_video() Helps: bgo#637036
Diffstat (limited to 'gdata/services/youtube/gdata-youtube-service.h')
-rw-r--r--gdata/services/youtube/gdata-youtube-service.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdata/services/youtube/gdata-youtube-service.h b/gdata/services/youtube/gdata-youtube-service.h
index 5268640f..f132ec83 100644
--- a/gdata/services/youtube/gdata-youtube-service.h
+++ b/gdata/services/youtube/gdata-youtube-service.h
@@ -133,7 +133,8 @@ void gdata_youtube_service_query_related_async (GDataYouTubeService *self, GData
GAsyncReadyCallback callback, gpointer user_data);
GDataUploadStream *gdata_youtube_service_upload_video (GDataYouTubeService *self, GDataYouTubeVideo *video, const gchar *slug,
- const gchar *content_type, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;
+ const gchar *content_type, GCancellable *cancellable,
+ GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;
GDataYouTubeVideo *gdata_youtube_service_finish_video_upload (GDataYouTubeService *self, GDataUploadStream *upload_stream,
GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC;