aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-02-23 00:08:52 +0800
committerXan Lopez <xan@src.gnome.org>2009-02-23 00:08:52 +0800
commit4258f8b222d90ade63d5dc545ebf52ce6fa208a5 (patch)
tree236c8a1d039167999f61da896a9760cae5d573b6 /src
parentb8a7057f4222ce8136b3d1bcf8656eec0e50a227 (diff)
downloadgsoc2013-epiphany-4258f8b222d90ade63d5dc545ebf52ce6fa208a5.tar
gsoc2013-epiphany-4258f8b222d90ade63d5dc545ebf52ce6fa208a5.tar.gz
gsoc2013-epiphany-4258f8b222d90ade63d5dc545ebf52ce6fa208a5.tar.bz2
gsoc2013-epiphany-4258f8b222d90ade63d5dc545ebf52ce6fa208a5.tar.lz
gsoc2013-epiphany-4258f8b222d90ade63d5dc545ebf52ce6fa208a5.tar.xz
gsoc2013-epiphany-4258f8b222d90ade63d5dc545ebf52ce6fa208a5.tar.zst
gsoc2013-epiphany-4258f8b222d90ade63d5dc545ebf52ce6fa208a5.zip
ephy-window: do not make code conditional on Gecko version.
svn path=/trunk/; revision=8801
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 3f8247d00..adb4c1bb1 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1752,14 +1752,10 @@ sync_tab_security (EphyEmbed *embed,
case EPHY_EMBED_STATE_IS_BROKEN:
state = _("Broken");
stock_id = STOCK_LOCK_BROKEN;
- show_lock = TRUE;
-
-#ifndef HAVE_GECKO_1_8_1
- /* In Gecko 1.8.1/1.9, we get a useful tooltip here */
- g_free (description);
- description = NULL;
-#endif
- break;
+ show_lock = TRUE;
+ g_free (description);
+ description = NULL;
+ break;
case EPHY_EMBED_STATE_IS_SECURE_LOW:
case EPHY_EMBED_STATE_IS_SECURE_MED:
state = _("Low");