[glibmm] Gio::FilterOutputStream: Fix property_base_stream()



commit 61e68709a70e713c20a1e257a70a794f34ff9170
Author: Krzysztof KosiƄski <tweenk pl gmail com>
Date:   Thu Jun 2 09:39:59 2016 +0200

    Gio::FilterOutputStream: Fix property_base_stream()
    
    Change return type from RefPtr<InputStream> to the correct RefPtr<OutputStream>.
    This change does not break ABI, but it breaks API. That should be acceptable.
    The property has probably been useless with the wrong declared return type.
    Part of a large patch, split by Kjell Ahlstedt. Bug #572471

 gio/src/filteroutputstream.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/src/filteroutputstream.hg b/gio/src/filteroutputstream.hg
index 0ac953a..6af0821 100644
--- a/gio/src/filteroutputstream.hg
+++ b/gio/src/filteroutputstream.hg
@@ -53,7 +53,7 @@ public:
   _WRAP_METHOD(bool get_close_base_stream() const, g_filter_output_stream_get_close_base_stream)
   _WRAP_METHOD(void set_close_base_stream(bool close_base = true), 
g_filter_output_stream_set_close_base_stream)
 
-  _WRAP_PROPERTY("base-stream", Glib::RefPtr<InputStream>)
+  _WRAP_PROPERTY("base-stream", Glib::RefPtr<OutputStream>)
   _WRAP_PROPERTY("close-base-stream", bool)
 };
 


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