[gnome-builder] editor-settings: release our pango font description on finalize.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor-settings: release our pango font description on finalize.
- Date: Mon, 29 Sep 2014 08:53:43 +0000 (UTC)
commit 376dad94af973ef8af449c71e7bf9346f7b48aaa
Author: Christian Hergert <christian hergert me>
Date: Mon Sep 29 01:52:02 2014 -0700
editor-settings: release our pango font description on finalize.
src/editor/gb-editor-settings.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-settings.c b/src/editor/gb-editor-settings.c
index d15506c..e4af2de 100644
--- a/src/editor/gb-editor-settings.c
+++ b/src/editor/gb-editor-settings.c
@@ -351,6 +351,7 @@ gb_editor_settings_finalize (GObject *object)
priv = GB_EDITOR_SETTINGS (object)->priv;
g_clear_object (&priv->style_scheme);
+ g_clear_pointer (&priv->font_desc, pango_font_description_free);
G_OBJECT_CLASS (gb_editor_settings_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]