[gnome-builder/gnome-builder-3-26] libide: fix missing chain-up for dispose
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-26] libide: fix missing chain-up for dispose
- Date: Sun, 17 Dec 2017 10:15:32 +0000 (UTC)
commit 02d8f33b0766da3c512592a5bfeca4b9af81797b
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 17 02:14:55 2017 -0800
libide: fix missing chain-up for dispose
libide/snippets/ide-source-snippet.c | 2 ++
libide/sourceview/ide-cursor.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libide/snippets/ide-source-snippet.c b/libide/snippets/ide-source-snippet.c
index 57602f0..2aaf1f6 100644
--- a/libide/snippets/ide-source-snippet.c
+++ b/libide/snippets/ide-source-snippet.c
@@ -1035,6 +1035,8 @@ ide_source_snippet_dispose (GObject *object)
g_clear_object (&self->buffer);
g_clear_object (&self->snippet_context);
+
+ G_OBJECT_CLASS (ide_source_snippet_parent_class)->dispose (object);
}
static void
diff --git a/libide/sourceview/ide-cursor.c b/libide/sourceview/ide-cursor.c
index 3672f4b..a219b5b 100644
--- a/libide/sourceview/ide-cursor.c
+++ b/libide/sourceview/ide-cursor.c
@@ -116,6 +116,8 @@ ide_cursor_dispose (GObject *object)
}
g_clear_pointer (&self->cursors, g_list_free);
+
+ G_OBJECT_CLASS (ide_cursor_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]