* Fixes NB#86569, when there are no more valid messages in the viewer close the...
[modest] / src / widgets / modest-msg-view-window.h
index 6cad5e0..9b1bae7 100644 (file)
@@ -31,6 +31,7 @@
 #define __MODEST_MSG_VIEW_WINDOW_H__
 
 #include <tny-msg.h>
+#include <tny-folder.h>
 #include <widgets/modest-window.h>
 #include <gtk/gtktreemodel.h>
 
@@ -157,17 +158,6 @@ TnyMsg*         modest_msg_view_window_get_message     (ModestMsgViewWindow *win
 const gchar*    modest_msg_view_window_get_message_uid (ModestMsgViewWindow *window);
 
 /**
- * modest_msg_view_window_select_first_message:
- * @window: a #ModestMsgViewWindow instance
- *
- * select the first message obtained from the header view this view 
- * was called from
- *
- * Returns: %TRUE if a new message is shown.
- */
-gboolean        modest_msg_view_window_select_first_message (ModestMsgViewWindow *window);
-
-/**
  * modest_msg_view_window_select_next_message:
  * @window: a #ModestMsgViewWindow instance
  *
@@ -207,18 +197,18 @@ void            modest_msg_view_window_view_attachment (ModestMsgViewWindow *win
  *
  * Get selected attachments from #ModetMsgView private object.  
  */
-GList *         modest_msg_view_window_get_attachments (ModestMsgViewWindow *win);
+TnyList *         modest_msg_view_window_get_attachments (ModestMsgViewWindow *win);
 
 /**
  * modest_msg_view_window_save_attachments:
  * @window: a #ModestMsgViewWindow
- * @mime_parts: a #GList of #TnyMimePart
+ * @mime_parts: a #TnyList of #TnyMimePart
  *
  * Save the #TnyMimePart attachments in @mime_parts, or currently selected attachments
  * if @mime_parts is %NULL, offering a dialog to the user to choose the location.
  */
 void            modest_msg_view_window_save_attachments (ModestMsgViewWindow *window,
-                                                        GList *mime_parts);
+                                                        TnyList *mime_parts);
 
 /**
  * modest_msg_view_window_remove_attachments: