X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-tny-stream-gtkhtml.h;h=06b1c566966fd7fffe916a2a2c57a8cbd3d2af04;hb=2c7c0e311cf57d4c11d1666b04533cca6a00a880;hp=e06d17143ae26eb76d255658746079fc00be3f9c;hpb=d40a430dac40ff506c3095b5f94eeec596969588;p=modest diff --git a/src/widgets/modest-tny-stream-gtkhtml.h b/src/widgets/modest-tny-stream-gtkhtml.h index e06d171..06b1c56 100644 --- a/src/widgets/modest-tny-stream-gtkhtml.h +++ b/src/widgets/modest-tny-stream-gtkhtml.h @@ -90,6 +90,16 @@ void modest_tny_stream_gtkhtml_set_max_size (ModestTnyStreamGtkhtml *stream, gss */ gssize modest_tny_stream_gtkhtml_get_max_size (ModestTnyStreamGtkhtml *stream); +/** + * modest_tny_stream_gtkhtml_limit_reached: + * @self: a #ModestTnyStreamGtkhtml + * + * tells if on processing the stream, the max size limit has been hit. + * + * Returns: %TRUE if limit is reached, %FALSE otherwise. + */ +gboolean modest_tny_stream_gtkhtml_limit_reached (ModestTnyStreamGtkhtml *self); + G_END_DECLS #endif /* __MODEST_TNY_STREAM_GTKHTML_H__ */