[gnome-builder/wip/libide] libide: release focus-buffer weak pointer during dispose
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: release focus-buffer weak pointer during dispose
- Date: Fri, 13 Mar 2015 05:37:05 +0000 (UTC)
commit 49e830d8ff2188ad136e7cdfc089fadca7c098d8
Author: Christian Hergert <christian hergert me>
Date: Thu Mar 12 22:36:46 2015 -0700
libide: release focus-buffer weak pointer during dispose
libide/ide-buffer-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-buffer-manager.c b/libide/ide-buffer-manager.c
index 3a7b578..8d26eeb 100644
--- a/libide/ide-buffer-manager.c
+++ b/libide/ide-buffer-manager.c
@@ -781,6 +781,8 @@ ide_buffer_manager_dispose (GObject *object)
{
IdeBufferManager *self = (IdeBufferManager *)object;
+ ide_clear_weak_pointer (&self->focus_buffer);
+
while (self->buffers->len)
{
IdeBuffer *buffer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]