pull: Drop usage of 2.36 symbol

Really need deprecation warnings while using RHEL6.4...maybe Software
Collections will save me.
This commit is contained in:
Colin Walters 2013-09-13 16:45:43 -04:00
parent a9e82e71fa
commit 94e42c521c
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ fetch_uri_contents_utf8_sync (OtPullData *pull_data,
if (!fetch_data.result_stream) if (!fetch_data.result_stream)
goto out; goto out;
buf = (GMemoryOutputStream*)g_memory_output_stream_new_resizable (); buf = (GMemoryOutputStream*)g_memory_output_stream_new (NULL, 0, g_realloc, g_free);
if (g_output_stream_splice ((GOutputStream*)buf, fetch_data.result_stream, if (g_output_stream_splice ((GOutputStream*)buf, fetch_data.result_stream,
G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE, G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE,
cancellable, error) < 0) cancellable, error) < 0)