[ostree] pull: Drop usage of 2.36 symbol



commit 94e42c521c00a33ff4efff03b806107ba29cacd3
Author: Colin Walters <walters verbum org>
Date:   Fri Sep 13 16:45:43 2013 -0400

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c
index ca9b017..306bfe9 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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]