aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-08-08 19:34:42 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-08-09 20:50:27 +0800
commit833d2ba2b1f1c08c73f47c0bb3ef843fa94c7055 (patch)
tree6d1c5a0849d1a99f6efd8e81a18e0aebd625e0f0 /src
parent216d0ceabf0c1e74f0d6f55fcf7bc67e82b7844e (diff)
downloadgsoc2013-epiphany-833d2ba2b1f1c08c73f47c0bb3ef843fa94c7055.tar.gz
gsoc2013-epiphany-833d2ba2b1f1c08c73f47c0bb3ef843fa94c7055.tar.zst
gsoc2013-epiphany-833d2ba2b1f1c08c73f47c0bb3ef843fa94c7055.zip
ephy-web-view: Return the certificate and TLS errors in ephy_web_view_get_security_level
Remove the unused description parameter an return the TLS certificte and errors instead.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 10bff56b2..bf91d30b6 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -774,13 +774,12 @@ sync_tab_security (EphyWebView *view,
{
EphyWindowPrivate *priv = window->priv;
EphyWebViewSecurityLevel level;
- char *description = NULL;
const char *stock_id = STOCK_LOCK_INSECURE;
gboolean show_lock = FALSE;
if (priv->closing) return;
- ephy_web_view_get_security_level (view, &level, &description);
+ ephy_web_view_get_security_level (view, &level, NULL, NULL);
switch (level)
{