[glibmm] MemoryOutputStream: Fix the constructor.



commit ece12f405a0663ced37aaea020ee069801f74454
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Feb 6 00:12:14 2010 +0100

    MemoryOutputStream: Fix the constructor.
    
    * gio/src/memoryoutputstream.hg: Constructor and create(): Rename the len
    parameter to size, to match the properties, so the constructor works.
    Bug #605710

 ChangeLog                     |    8 ++++++++
 gio/src/memoryoutputstream.hg |    4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f2e3a2c..68fa312 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-02-06  Krzysztof KosiÅ?ski  <tweenk pl gmail com>
+
+  MemoryOutputStream: Fix the constructor.
+  
+	* gio/src/memoryoutputstream.hg: Constructor and create(): Rename the len 
+	parameter to size, to match the properties, so the constructor works.
+	Bug #605710
+
 2.23.2:
 
 2010-02-05  Murray Cumming  <murrayc murrayc com>
diff --git a/gio/src/memoryoutputstream.hg b/gio/src/memoryoutputstream.hg
index cf6276e..7f092e9 100644
--- a/gio/src/memoryoutputstream.hg
+++ b/gio/src/memoryoutputstream.hg
@@ -45,11 +45,11 @@ class MemoryOutputStream :
   _IMPLEMENTS_INTERFACE(Seekable)
 protected:
   // TODO: more C++-like interface using sigc++
-  _WRAP_CTOR(MemoryOutputStream(gpointer data, gsize len, GReallocFunc realloc_fn, GDestroyNotify destroy), g_memory_output_stream_new)
+  _WRAP_CTOR(MemoryOutputStream(gpointer data, gsize size, GReallocFunc realloc_function, GDestroyNotify destroy_function), g_memory_output_stream_new)
 
 public:
   // TODO: more C++-like interface using sigc++
-  _WRAP_CREATE(gpointer data, gsize len, GReallocFunc realloc_fn, GDestroyNotify destroy)
+  _WRAP_CREATE(gpointer data, gsize size, GReallocFunc realloc_function, GDestroyNotify destroy_function)
   _WRAP_METHOD(gpointer get_data(), g_memory_output_stream_get_data)
   _WRAP_METHOD(gsize get_size() const, g_memory_output_stream_get_size)
   _WRAP_METHOD(gsize get_data_size() const, g_memory_output_stream_get_data_size)



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