[epiphany] e-web-view: use ephy_string_get_host_name
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] e-web-view: use ephy_string_get_host_name
- Date: Wed, 10 Aug 2011 21:14:18 +0000 (UTC)
commit cb17bdeb2aa48c3d9d47027fa94a53e010421f89
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Wed Aug 3 13:37:56 2011 +0200
e-web-view: use ephy_string_get_host_name
Bug #655899
embed/ephy-web-view.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 19ff7d4..6f78d4f 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -680,7 +680,7 @@ store_password (GtkInfoBar *info_bar, gint response_id, gpointer data)
char *name_field_value = store_data->name_value;
char *password_field_name = store_data->password_field;
char *password_field_value = store_data->password_value;
- SoupURI *soup_uri;
+ char *host;
/* We are no longer showing a store password infobar */
web_view->priv->password_info_bar = NULL;
@@ -700,14 +700,14 @@ store_password (GtkInfoBar *info_bar, gint response_id, gpointer data)
password_field_value);
/* Update internal caching */
- soup_uri = soup_uri_new (uri);
+ host = ephy_string_get_host_name (uri);
ephy_embed_single_add_form_auth (EPHY_EMBED_SINGLE (ephy_embed_shell_get_embed_single (embed_shell)),
- soup_uri->host,
+ host,
name_field_name,
password_field_name,
name_field_value);
- soup_uri_free (soup_uri);
+ g_free (host);
store_password_data_free (store_data);
gtk_widget_destroy (GTK_WIDGET (info_bar));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]