contenttype tests: better assertions
[platform/upstream/glib.git] / gio / giostream.c
index 4a535d9..98f2247 100644 (file)
@@ -108,7 +108,7 @@ g_io_stream_dispose (GObject *object)
 static void
 g_io_stream_init (GIOStream *stream)
 {
-  stream->priv = g_io_stream_get_private (stream);
+  stream->priv = g_io_stream_get_instance_private (stream);
 }
 
 static void