[epiphany] ephy-extensions-manager: remove an always-true check
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-extensions-manager: remove an always-true check
- Date: Sun, 10 Oct 2010 23:14:43 +0000 (UTC)
commit 4bdb490a0b722c58db30b2ecfcf9be9af7f9f4ab
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Sun Oct 10 17:16:39 2010 -0500
ephy-extensions-manager: remove an always-true check
It's not really a needed check anyway.
src/ephy-extensions-manager.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index c626635..df06b97 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]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]