diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-17 05:53:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-17 06:03:54 +0800 |
commit | 6faf671382518db3a81af23bd67a5f5b41ab3b2e (patch) | |
tree | f05f4eb81bf648e9f8ee7ce2fffc0c91b2e2c999 /e-util/e-passwords.h | |
parent | f1ca58d40a5a005aa5fa751959edbe4ec5f2d22f (diff) | |
download | gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.gz gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.bz2 gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.lz gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.xz gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.zst gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.zip |
e-passwords: Remove unused function parameters.
Diffstat (limited to 'e-util/e-passwords.h')
-rw-r--r-- | e-util/e-passwords.h | 44 |
1 files changed, 21 insertions, 23 deletions
diff --git a/e-util/e-passwords.h b/e-util/e-passwords.h index 2fa345839e..1c884bb62e 100644 --- a/e-util/e-passwords.h +++ b/e-util/e-passwords.h @@ -26,26 +26,13 @@ #ifndef EDS_DISABLE_DEPRECATED -#ifndef _E_PASSWORD_H_ -#define _E_PASSWORD_H_ +#ifndef E_PASSWORDS_H +#define E_PASSWORDS_H #include <gtk/gtk.h> G_BEGIN_DECLS -/* - * initialization is now implicit when you call any of the functions - * below, although this is only correct if the functions are called - * from the main thread. - */ -void e_passwords_init (void); - -void e_passwords_set_online (gint state); -void e_passwords_remember_password (const gchar *unused, const gchar *key); -void e_passwords_add_password (const gchar *key, const gchar *passwd); -gchar *e_passwords_get_password (const gchar *unused, const gchar *key); -void e_passwords_forget_password (const gchar *unused, const gchar *key); - typedef enum { E_PASSWORDS_REMEMBER_NEVER, E_PASSWORDS_REMEMBER_SESSION, @@ -60,16 +47,27 @@ typedef enum { E_PASSWORDS_PASSPHRASE = 1<<12 /* We are asking a passphrase */ } EPasswordsRememberType; -gchar * e_passwords_ask_password (const gchar *title, - const gchar *unused, - const gchar *key, - const gchar *prompt, - EPasswordsRememberType remember_type, - gboolean *remember, - GtkWindow *parent); +/* + * initialization is now implicit when you call any of the functions + * below, although this is only correct if the functions are called + * from the main thread. + */ +void e_passwords_init (void); +void e_passwords_set_online (gint state); +void e_passwords_remember_password (const gchar *key); +void e_passwords_add_password (const gchar *key, + const gchar *passwd); +gchar * e_passwords_get_password (const gchar *key); +void e_passwords_forget_password (const gchar *key); +gchar * e_passwords_ask_password (const gchar *title, + const gchar *key, + const gchar *prompt, + EPasswordsRememberType remember_type, + gboolean *remember, + GtkWindow *parent); G_END_DECLS -#endif /* _E_PASSWORD_H_ */ +#endif /* E_PASSWORDS_H */ #endif /* EDS_DISABLE_DEPRECATED */ |