[gnome-builder] editor-settings: make sure we own a reference to the style scheme.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor-settings: make sure we own a reference to the style scheme.
- Date: Mon, 29 Sep 2014 08:53:38 +0000 (UTC)
commit 4f2cbeb03b9fc696a46feae0588adce44bad652f
Author: Christian Hergert <christian hergert me>
Date: Mon Sep 29 01:51:37 2014 -0700
editor-settings: make sure we own a reference to the style scheme.
src/editor/gb-editor-settings.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/editor/gb-editor-settings.c b/src/editor/gb-editor-settings.c
index ab04d5f..d15506c 100644
--- a/src/editor/gb-editor-settings.c
+++ b/src/editor/gb-editor-settings.c
@@ -653,5 +653,5 @@ gb_editor_settings_init (GbEditorSettings *settings)
settings->priv->tab_width = 2;
settings->priv->indent_width = 2;
settings->priv->font_desc = font_desc;
- settings->priv->style_scheme = scheme;
+ settings->priv->style_scheme = g_object_ref (scheme);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]