GFilterInputStream: why "close-base-stream" property marked as "construct-only"?

GFilterInputStream documentation (and implementation) clearly states
that "close-base-stream" property is "construct-only".  And
g_object_set() forbids to change it indeed.

But, from another hand, existence of
g_filter_input_stream_set_close_base_stream() and code in
clearly shows that this flag really intended to be changed at
run-time, after construction.

Is there a reason to keep this property to be contruct-only,
preventing g_object_set() from changing it?

Andrew W. Nosenko <andrew w nosenko gmail com>

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