[latexila/wip/latexila-next: 32/50] BuildToolsDefault: fix GVariant handling
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila/wip/latexila-next: 32/50] BuildToolsDefault: fix GVariant handling
- Date: Mon, 18 Aug 2014 20:04:18 +0000 (UTC)
commit 9a1349d4747bf85a07465351ba281e4d9e895ba2
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed May 7 21:33:56 2014 +0200
BuildToolsDefault: fix GVariant handling
The GVariant here has a floating reference taken by GSettings, so no
need to unref the GVariant.
src/liblatexila/latexila-build-tools-default.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/liblatexila/latexila-build-tools-default.c b/src/liblatexila/latexila-build-tools-default.c
index 326bdee..6f3f1a0 100644
--- a/src/liblatexila/latexila-build-tools-default.c
+++ b/src/liblatexila/latexila-build-tools-default.c
@@ -152,8 +152,6 @@ save_settings (LatexilaBuildToolsDefault *build_tools)
g_settings_set_value (settings, "enabled-default-build-tools", enabled_tools);
g_settings_set_value (settings, "disabled-default-build-tools", disabled_tools);
- g_variant_unref (enabled_tools);
- g_variant_unref (disabled_tools);
g_object_unref (settings);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]