[gnome-builder] editor: remove actions when destroying view
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] editor: remove actions when destroying view
- Date: Wed, 19 Jul 2017 11:12:35 +0000 (UTC)
commit 0d862fa16c8d352848207cb843940ddd3ca43de1
Author: Christian Hergert <chergert redhat com>
Date: Thu Jul 6 16:10:08 2017 -0700
editor: remove actions when destroying view
libide/editor/ide-editor-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libide/editor/ide-editor-view.c b/libide/editor/ide-editor-view.c
index 624ec1f..7703984 100644
--- a/libide/editor/ide-editor-view.c
+++ b/libide/editor/ide-editor-view.c
@@ -492,6 +492,8 @@ ide_editor_view_destroy (GtkWidget *widget)
ide_clear_source (&self->toggle_map_source);
+ gtk_widget_insert_action_group (widget, "editor-view", NULL);
+
g_clear_object (&self->addins);
g_clear_object (&self->editor_settings);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]