Commit bec571dc authored by Dan Winship's avatar Dan Winship

giostream: "closed" property should not be marked writable

https://bugzilla.gnome.org/show_bug.cgi?id=659920
parent 7aa824da
......@@ -147,19 +147,6 @@ g_io_stream_get_property (GObject *object,
}
}
static void
g_io_stream_set_property (GObject *object,
guint prop_id,
const GValue *value,
GParamSpec *pspec)
{
switch (prop_id)
{
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
}
}
static void
g_io_stream_class_init (GIOStreamClass *klass)
{
......@@ -169,7 +156,6 @@ g_io_stream_class_init (GIOStreamClass *klass)
gobject_class->finalize = g_io_stream_finalize;
gobject_class->dispose = g_io_stream_dispose;
gobject_class->set_property = g_io_stream_set_property;
gobject_class->get_property = g_io_stream_get_property;
klass->close_fn = g_io_stream_real_close;
......@@ -181,7 +167,7 @@ g_io_stream_class_init (GIOStreamClass *klass)
P_("Closed"),
P_("Is the stream closed"),
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class, PROP_INPUT_STREAM,
g_param_spec_object ("input-stream",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment