From c7b6cac1e8d49f1b5d3fd3921cc518f8210b77b6 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 15 Dec 2009 11:29:46 +0100 Subject: ephy-embed-single: cache form auth data Otherwise we need to query keyring all the time to figure out if we have to prefill forms. --- lib/ephy-profile-migration.c | 3 --- lib/ephy-profile-migration.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/ephy-profile-migration.c b/lib/ephy-profile-migration.c index 335927d3d..ee57aed89 100644 --- a/lib/ephy-profile-migration.c +++ b/lib/ephy-profile-migration.c @@ -425,9 +425,6 @@ store_form_password_cb (GnomeKeyringResult result, /* FIXME: should we do anything if the operation failed? */ } -#define FORM_USERNAME_KEY "form_username" -#define FORM_PASSWORD_KEY "form_password" - void _ephy_profile_store_form_auth_data (const char *uri, const char *form_username, diff --git a/lib/ephy-profile-migration.h b/lib/ephy-profile-migration.h index d48849bab..7fe4945c7 100644 --- a/lib/ephy-profile-migration.h +++ b/lib/ephy-profile-migration.h @@ -20,6 +20,9 @@ #ifndef EPHY_PROFILE_MIGRATION_H #define EPHY_PROFILE_MIGRATION_H +#define FORM_USERNAME_KEY "form_username" +#define FORM_PASSWORD_KEY "form_password" + void _ephy_profile_migrate (void); void _ephy_profile_store_form_auth_data (const char *uri, -- cgit v1.2.3