[epiphany] ephy-extensions-manager: fix g_variant_builder usage
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-extensions-manager: fix g_variant_builder usage
- Date: Wed, 15 Dec 2010 16:08:31 +0000 (UTC)
commit 4be1b9c1a46ea8395128c948e661c7d331f7364a
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Wed Dec 15 10:37:05 2010 -0500
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 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index 850de7f..c50d25a 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]