projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
And make modest depend on the new package (fix 2/2 for NB#132625)
[modest]
/
src
/
modest-count-stream.c
diff --git
a/src/modest-count-stream.c
b/src/modest-count-stream.c
index
4ad1287
..
fe0270d
100644
(file)
--- 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
}
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;
klass->read = modest_count_stream_read;
klass->write = modest_count_stream_write;
klass->flush = modest_count_stream_flush;
@@
-198,10
+200,9
@@
modest_count_stream_get_type (void)
};
type = g_type_register_static (G_TYPE_OBJECT,
};
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,
&tny_stream_info);
g_type_add_interface_static (type, TNY_TYPE_STREAM,
&tny_stream_info);