aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-12-15 23:37:05 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-12-16 00:06:51 +0800
commit4be1b9c1a46ea8395128c948e661c7d331f7364a (patch)
treed5530508803e0b5b5ce1b5a577003157697d2a21 /src
parentf6f31ff0994c0c35f60910369f06541930b58f01 (diff)
downloadgsoc2013-epiphany-4be1b9c1a46ea8395128c948e661c7d331f7364a.tar
gsoc2013-epiphany-4be1b9c1a46ea8395128c948e661c7d331f7364a.tar.gz
gsoc2013-epiphany-4be1b9c1a46ea8395128c948e661c7d331f7364a.tar.bz2
gsoc2013-epiphany-4be1b9c1a46ea8395128c948e661c7d331f7364a.tar.lz
gsoc2013-epiphany-4be1b9c1a46ea8395128c948e661c7d331f7364a.tar.xz
gsoc2013-epiphany-4be1b9c1a46ea8395128c948e661c7d331f7364a.tar.zst
gsoc2013-epiphany-4be1b9c1a46ea8395128c948e661c7d331f7364a.zip
ephy-extensions-manager: fix g_variant_builder usage
g_variant_builder_end is not needed at all. Bug #636740
Diffstat (limited to 'src')
-rw-r--r--src/ephy-extensions-manager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index 850de7fa0..c50d25a3c 100644
--- a/src/ephy-extensions-manager.c
+++ b/src/ephy-extensions-manager.c
@@ -665,8 +665,10 @@ sync_loaded_extensions (EphyExtensionsManager *manager)
(EPHY_SETTINGS_MAIN,
EPHY_PREFS_ENABLED_EXTENSIONS);
}
-
- g_variant_builder_end (&builder);
+ else
+ {
+ g_variant_builder_clear (&builder);
+ }
for (l = manager->priv->data; l != NULL; l = l->next)
{