talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit e4eb5e4f7d55621df39fe3de4171a9aa0aea5f02
parent b7b6d42af5b9cac5991991820e05e390a889cc6b
Author: Colin Leroy <colin@colino.net>
Date:   Sat, 27 Sep 2008 16:31:13 +0000

2008-09-27 [colin]	3.5.0cvs136

	* src/account.c
	* src/account.h
		Add accessor for cur_account

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/account.c | 5+++++
Msrc/account.h | 1+
5 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-27 [colin] 3.5.0cvs136 + + * src/account.c + * src/account.h + Add accessor for cur_account + 2008-09-27 [colin] 3.5.0cvs135 * src/imap.c diff --git a/PATCHSETS b/PATCHSETS @@ -3547,3 +3547,4 @@ ( cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/plugins/pgpcore/claws.def; ) > 3.5.0cvs133.patchset ( cvs diff -u -r 1.60.2.54 -r 1.60.2.55 po/es.po; ) > 3.5.0cvs134.patchset ( cvs diff -u -r 1.179.2.230 -r 1.179.2.231 src/imap.c; ) > 3.5.0cvs135.patchset +( cvs diff -u -r 1.61.2.88 -r 1.61.2.89 src/account.c; cvs diff -u -r 1.11.2.12 -r 1.11.2.13 src/account.h; ) > 3.5.0cvs136.patchset diff --git a/configure.ac b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=5 MICRO_VERSION=0 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=135 +EXTRA_VERSION=136 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/account.c b/src/account.c @@ -1836,3 +1836,8 @@ gchar *account_get_signature_str(PrefsAccount *account) return utf8_sig_str; } + +PrefsAccount *account_get_cur_account (void) +{ + return cur_account; +} diff --git a/src/account.h b/src/account.h @@ -31,6 +31,7 @@ typedef gint (*AccountFunc) (PrefsAccount *ac_prefs, extern PrefsAccount *cur_account; +PrefsAccount *account_get_cur_account (void); void account_read_config_all (void); void account_write_config_all (void);