From 94e42c521c00a33ff4efff03b806107ba29cacd3 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 13 Sep 2013 16:45:43 -0400 Subject: [PATCH] pull: Drop usage of 2.36 symbol Really need deprecation warnings while using RHEL6.4...maybe Software Collections will save me. --- src/libostree/ostree-repo-pull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index ca9b017c..306bfe99 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -370,7 +370,7 @@ fetch_uri_contents_utf8_sync (OtPullData *pull_data, if (!fetch_data.result_stream) 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, G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE, cancellable, error) < 0)