projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Set the edit and delete buttons as insensitive only if there is no account selected
[modest]
/
src
/
widgets
/
modest-account-view.h
diff --git
a/src/widgets/modest-account-view.h
b/src/widgets/modest-account-view.h
index
c3f476c
..
aa16dd2
100644
(file)
--- a/
src/widgets/modest-account-view.h
+++ b/
src/widgets/modest-account-view.h
@@
-48,20
+48,34
@@
typedef struct _ModestAccountViewClass ModestAccountViewClass;
struct _ModestAccountView {
GtkTreeView parent;
struct _ModestAccountView {
GtkTreeView parent;
- /* insert public members, if any */
};
struct _ModestAccountViewClass {
GtkTreeViewClass parent_class;
};
struct _ModestAccountViewClass {
GtkTreeViewClass parent_class;
- /* insert signal callback declarations, eg. */
- /* void (* my_event) (ModestAccountView* obj); */
};
};
-/* member functions */
+
+/**
+ * modest_account_view_get_type
+ *
+ * Gets the #GType for the account view class
+ *
+ * Returns: the #GType
+ **/
GType modest_account_view_get_type (void) G_GNUC_CONST;
GType modest_account_view_get_type (void) G_GNUC_CONST;
+
+/**
+ * modest_account_view_new:
+ * @account_view: a #ModestAccountView
+ *
+ * Create a new acccount view widget = ie, a list with accounts
+ *
+ * Returns: a new account view widget, or NULL in case of error
+ **/
ModestAccountView* modest_account_view_new (ModestAccountMgr *account_mgr);
ModestAccountView* modest_account_view_new (ModestAccountMgr *account_mgr);
+
/**
* modest_account_view_get_selected_account:
* @account_view: a #ModestAccountView
/**
* modest_account_view_get_selected_account:
* @account_view: a #ModestAccountView
@@
-71,7
+85,7
@@
ModestAccountView* modest_account_view_new (ModestAccountMgr *account_
* Returns: the name of the selected account or NULL if none is
* selected
**/
* Returns: the name of the selected account or NULL if none is
* selected
**/
-const gchar* modest_account_view_get_selected_account (ModestAccountView *account_view);
+gchar* modest_account_view_get_selected_account (ModestAccountView *account_view);
G_END_DECLS
G_END_DECLS