g_utf8_pointer_to_offset returns offsets in char units and not in byte units.
[modest] / src / widgets / modest-header-view.h
index be9b88c..11a118f 100644 (file)
@@ -467,6 +467,12 @@ TnyHeader* modest_header_view_get_header_at_pos (ModestHeaderView *header_view,
                                                 gint initial_x,
                                                 gint initial_y);
 
+void modest_header_view_set_show_latest (ModestHeaderView *header_view,
+                                        gint show_latest);
+
+gint modest_header_view_get_show_latest (ModestHeaderView *header_view);
+gint modest_header_view_get_not_latest (ModestHeaderView *header_view);
+
 G_END_DECLS