[gnome-builder/wip/chergert/bug1: 62/101] debugger: protect against disposal
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/bug1: 62/101] debugger: protect against disposal
- Date: Sat, 2 Sep 2017 01:35:35 +0000 (UTC)
commit 815f135fa9f9d47c314d6150b77204957ebd950a
Author: Christian Hergert <chergert redhat com>
Date: Mon Aug 28 16:18:20 2017 -0700
debugger: protect against disposal
libide/debugger/ide-debugger-locals-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libide/debugger/ide-debugger-locals-view.c b/libide/debugger/ide-debugger-locals-view.c
index 64c645b..d801e6d 100644
--- a/libide/debugger/ide-debugger-locals-view.c
+++ b/libide/debugger/ide-debugger-locals-view.c
@@ -353,6 +353,10 @@ ide_debugger_locals_view_load_params_cb (GObject *object,
return;
}
+ /* Disposal check */
+ if (self->tree_store == NULL)
+ return;
+
gtk_tree_store_append (self->tree_store, &parent, NULL);
gtk_tree_store_set (self->tree_store, &parent, 1, _("Parameters"), -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]