summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdata/services/documents/gdata-documents-entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/services/documents/gdata-documents-entry.c b/gdata/services/documents/gdata-documents-entry.c
index 20a61f3e..40050c42 100644
--- a/gdata/services/documents/gdata-documents-entry.c
+++ b/gdata/services/documents/gdata-documents-entry.c
@@ -646,7 +646,7 @@ _gdata_documents_entry_download_document (GDataDocumentsEntry *self, GDataServic
/* Synchronously splice the data from the download stream to the file stream (network -> disk) */
src_stream = gdata_download_stream_new (GDATA_SERVICE (service), src_uri);
if (content_type != NULL)
- g_signal_connect (src_stream, "notify::content-type", (GCallback) notify_content_type_cb, content_type);
+ content_type_signal = g_signal_connect (src_stream, "notify::content-type", (GCallback) notify_content_type_cb, content_type);
g_output_stream_splice (G_OUTPUT_STREAM (dest_stream), src_stream,
G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE | G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET, cancellable, &child_error);