aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-extensions-manager.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-10-11 06:16:39 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-10-11 06:16:39 +0800
commit4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab (patch)
tree49878d5395c68e989de179949f0b26b2cacf7698 /src/ephy-extensions-manager.c
parent7582bfeff255dea5e465d1117cdeac5abd96f845 (diff)
downloadgsoc2013-epiphany-4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab.tar
gsoc2013-epiphany-4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab.tar.gz
gsoc2013-epiphany-4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab.tar.bz2
gsoc2013-epiphany-4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab.tar.lz
gsoc2013-epiphany-4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab.tar.xz
gsoc2013-epiphany-4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab.tar.zst
gsoc2013-epiphany-4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab.zip
ephy-extensions-manager: remove an always-true check
It's not really a needed check anyway.
Diffstat (limited to 'src/ephy-extensions-manager.c')
-rw-r--r--src/ephy-extensions-manager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index c626635b3..df06b97dd 100644
--- a/src/ephy-extensions-manager.c
+++ b/src/ephy-extensions-manager.c
@@ -648,8 +648,7 @@ sync_loaded_extensions (EphyExtensionsManager *manager)
/* Make sure the extensions-manager-ui is always loaded. */
for (i = 0; extensions[i]; i++)
{
- if (!has_ui && g_strcmp0 (extensions[i],
- "extensions-manager-ui") == 0)
+ if (g_strcmp0 (extensions[i], "extensions-manager-ui") == 0)
has_ui = TRUE;
g_variant_builder_add (&builder, "s", extensions[i]);