projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* all:
[modest]
/
src
/
widgets
/
modest-msg-view.h
diff --git
a/src/widgets/modest-msg-view.h
b/src/widgets/modest-msg-view.h
index
2bc48f1
..
78360d6
100644
(file)
--- a/
src/widgets/modest-msg-view.h
+++ b/
src/widgets/modest-msg-view.h
@@
-30,11
+30,10
@@
#ifndef __MODEST_MSG_VIEW_H__
#define __MODEST_MSG_VIEW_H__
#ifndef __MODEST_MSG_VIEW_H__
#define __MODEST_MSG_VIEW_H__
-#include <gtk/gtk.h>
#include <tny-stream.h>
#include <tny-msg.h>
#include <tny-mime-part.h>
#include <tny-stream.h>
#include <tny-msg.h>
#include <tny-mime-part.h>
-#include <modest-conf.h>
+#include <tny-msg-view.h>
G_BEGIN_DECLS
G_BEGIN_DECLS
@@
-66,6
+65,7
@@
struct _ModestMsgViewClass {
/**
/**
+ *
* modest_msg_view_get_type
*
* get the GType for the this class
* modest_msg_view_get_type
*
* get the GType for the this class
@@
-98,15
+98,19
@@
GtkWidget* modest_msg_view_new (TnyMsg *tny_msg);
* */
void modest_msg_view_set_message (ModestMsgView *self, TnyMsg *tny_msg);
* */
void modest_msg_view_set_message (ModestMsgView *self, TnyMsg *tny_msg);
+
+
/**
/**
- * modest_msg_view_get_selected_text:
+ * modest_msg_view_set_message
* @self: a ModestMsgView instance
* @self: a ModestMsgView instance
- *
- * get the user selected part of the message
- *
- * Returns: a newly allocated string of the user's selection or NULL if nothing is selected
+ *
+ * get the @tny_msg e-mail message.
+ *
+ * Returns: the message or NULL
*/
*/
-gchar * modest_msg_view_get_selected_text (ModestMsgView *self);
+TnyMsg* modest_msg_view_get_message (ModestMsgView *self);
+
+
G_END_DECLS
G_END_DECLS