[glib] GFilterInputStream: close-base-stream should not be construct-only



commit 9eba49a982e94196f90c79c5eac4a00cc437b12e
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Apr 29 16:14:17 2011 +0200

    GFilterInputStream: close-base-stream should not be construct-only
    
    This is a runtime changable property (by the methods for it), must
    be a cut and paste error.

 gio/gfilterinputstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gfilterinputstream.c b/gio/gfilterinputstream.c
index ec8472c..c39076c 100644
--- a/gio/gfilterinputstream.c
+++ b/gio/gfilterinputstream.c
@@ -113,7 +113,7 @@ g_filter_input_stream_class_init (GFilterInputStreamClass *klass)
                                    g_param_spec_boolean ("close-base-stream",
                                                          P_("Close Base Stream"),
                                                          P_("If the base stream should be closed when the filter stream is closed."),
-                                                         TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | 
+                                                         TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
                                                          G_PARAM_STATIC_NAME|G_PARAM_STATIC_NICK|G_PARAM_STATIC_BLURB));
 }
 



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