[gnome-builder] libide: add missing dispose chain-up
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: add missing dispose chain-up
- Date: Sun, 17 Dec 2017 10:15:49 +0000 (UTC)
commit a8e9f8d7bfe88bdd026d4acc965788202363b78c
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 17 02:11:58 2017 -0800
libide: add missing dispose chain-up
src/libide/snippets/ide-source-snippet.c | 2 ++
src/libide/sourceview/ide-cursor.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libide/snippets/ide-source-snippet.c b/src/libide/snippets/ide-source-snippet.c
index 5e9210b..9c96e86 100644
--- a/src/libide/snippets/ide-source-snippet.c
+++ b/src/libide/snippets/ide-source-snippet.c
@@ -1108,6 +1108,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/src/libide/sourceview/ide-cursor.c b/src/libide/sourceview/ide-cursor.c
index bc16f88..7d22bb3 100644
--- a/src/libide/sourceview/ide-cursor.c
+++ b/src/libide/sourceview/ide-cursor.c
@@ -114,6 +114,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]