aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/templates/templates.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/templates/templates.c')
-rw-r--r--plugins/templates/templates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index 358a683dce..18544c31ef 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -189,9 +189,9 @@ commit_changes (UIData *ui)
valid = gtk_tree_model_iter_next (model, &iter);
}
+ /* A floating GVariant is returned, which is consumed by the g_settings_set_value() */
v = g_variant_builder_end (&b);
g_settings_set_value (ui->settings, CONF_KEY_TEMPLATE_PLACEHOLDERS, v);
- g_variant_unref (v);
}
static void