Fixed some reference leaks of attachments. I also moved from using
[modest] / src / widgets / modest-gtkhtml-msg-view.h
index 30888b2..7dbd256 100644 (file)
@@ -88,8 +88,8 @@ struct _ModestGtkhtmlMsgViewClass {
        GtkShadowType (*get_shadow_type_func) (ModestMsgView *self);
        TnyHeaderFlags (*get_priority_func) (ModestMsgView *self);
        void (*set_priority_func) (ModestMsgView *self, TnyHeaderFlags flags);
-       GList * (*get_selected_attachments_func) (ModestMsgView *self);
-       GList * (*get_attachments_func) (ModestMsgView *self);
+       TnyList * (*get_selected_attachments_func) (ModestMsgView *self);
+       TnyList * (*get_attachments_func) (ModestMsgView *self);
        void (*grab_focus_func) (ModestMsgView *self);
        void (*remove_attachment_func) (ModestMsgView *view, TnyMimePart *attachment);