From 4be1b9c1a46ea8395128c948e661c7d331f7364a Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Wed, 15 Dec 2010 10:37:05 -0500 Subject: ephy-extensions-manager: fix g_variant_builder usage g_variant_builder_end is not needed at all. Bug #636740 --- src/ephy-extensions-manager.c | 6 ++++-- 1 file 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) { -- cgit v1.2.3