diff --git a/gio/giostream.c b/gio/giostream.c index b892c8422..593eedafd 100644 --- a/gio/giostream.c +++ b/gio/giostream.c @@ -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",