[latexila/wip/latexila-next: 36/56] BuildToolsDefault: fix GVariant handling
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila/wip/latexila-next: 36/56] BuildToolsDefault: fix GVariant handling
- Date: Sat, 13 Sep 2014 20:57:48 +0000 (UTC)
commit 697d5083694b315561f93a6dd8faaf4553a886d2
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]