GFilterInputStream: close-base-stream should not be construct-only
authorAlexander Larsson <alexl@redhat.com>
Fri, 29 Apr 2011 14:14:17 +0000 (16:14 +0200)
committerAlexander Larsson <alexl@redhat.com>
Fri, 29 Apr 2011 14:14:17 +0000 (16:14 +0200)
This is a runtime changable property (by the methods for it), must
be a cut and paste error.

gio/gfilterinputstream.c

index ec8472c..c39076c 100644 (file)
@@ -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));
 }