projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes NB#131351, crash when exiting modest if there are new connection attempts
[modest]
/
src
/
modest-address-book.h
diff --git
a/src/modest-address-book.h
b/src/modest-address-book.h
index
cdd231c
..
f0d5690
100644
(file)
--- a/
src/modest-address-book.h
+++ b/
src/modest-address-book.h
@@
-51,7
+51,8
@@
modest_address_book_init (void);
* launches the UI for adding @address to the addressbook
*/
void
* launches the UI for adding @address to the addressbook
*/
void
-modest_address_book_add_address (const gchar *address);
+modest_address_book_add_address (const gchar *address,
+ GtkWindow *parent);
/**
* modest_address_book_select_addresses:
/**
* modest_address_book_select_addresses:
@@
-67,15
+68,17
@@
modest_address_book_select_addresses (ModestRecptEditor *editor,
/**
* modest_address_book_check_names:
* @editor: a #ModestRecptEditor
/**
* modest_address_book_check_names:
* @editor: a #ModestRecptEditor
- * @update_addressbook: if TRUE, add valid addresses to the addressbook, recent list
- *
+ * @address_list: if it is not NULL, this list is filled with the
+ * valid addresses ready to be added to the address book
+ *
* Performs verification of addresses in a recipient editor.
*
* Returns: %TRUE if all recipients are valid or there are
* no recipients, %FALSE otherwise.
*/
gboolean
* Performs verification of addresses in a recipient editor.
*
* Returns: %TRUE if all recipients are valid or there are
* no recipients, %FALSE otherwise.
*/
gboolean
-modest_address_book_check_names (ModestRecptEditor *editor, gboolean update_addressbook);
+modest_address_book_check_names (ModestRecptEditor *editor,
+ GSList **address_list);
/**
* modest_address_book_has_address:
/**
* modest_address_book_has_address:
@@
-99,4
+102,13
@@
modest_address_book_has_address (const gchar *address);
const gchar *
modest_address_book_get_my_name ();
const gchar *
modest_address_book_get_my_name ();
+/**
+ * modest_address_book_add_address_list:
+ * @address_list: a list of email addresses to add to the addressbook
+ *
+ * Inserts a list of addresses in the addressbook
+ **/
+void
+modest_address_book_add_address_list (GSList *address_list);
+
#endif /* __MODEST_ADDRESS_BOOK_H__ */
#endif /* __MODEST_ADDRESS_BOOK_H__ */