X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-count-stream.c;h=d0aba978e57138a0b8794804bc28755fab4ada6c;hp=4ad128797cdf43427279207e1dbcb18fe6f13d42;hb=bd40bdfd7bd5ae772566e0e05b5ff4e9126bdb9f;hpb=47ce1972da46c8ae2c8df7aba4141f75b688e219 diff --git a/src/modest-count-stream.c b/src/modest-count-stream.c index 4ad1287..d0aba97 100644 --- a/src/modest-count-stream.c +++ b/src/modest-count-stream.c @@ -147,8 +147,10 @@ modest_count_stream_instance_init (GTypeInstance *instance, gpointer g_class) } static void -tny_stream_init (TnyStreamIface *klass) +tny_stream_init (gpointer g_iface, gpointer iface_data) { + TnyStreamIface *klass = (TnyStreamIface *) g_iface; + klass->read = modest_count_stream_read; klass->write = modest_count_stream_write; klass->flush = modest_count_stream_flush; @@ -198,8 +200,8 @@ modest_count_stream_get_type (void) }; type = g_type_register_static (G_TYPE_OBJECT, - "ModestCountStream", - &info, 0); + "ModestCountStream", + &info, 0); /* TODO? : FIX THIS (ADD _TYPE): */ g_type_add_interface_static (type, TNY_TYPE_STREAM,