From 4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Sun, 10 Oct 2010 17:16:39 -0500 Subject: ephy-extensions-manager: remove an always-true check It's not really a needed check anyway. --- src/ephy-extensions-manager.c | 3 +-- 1 file changed, 1 insertion(+), 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]); -- cgit v1.2.3