[gnome-builder/gnome-builder-3-30] layout: clear page before unloading
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-30] layout: clear page before unloading
- Date: Wed, 12 Dec 2018 05:03:17 +0000 (UTC)
commit 3cea9be75ab29457d942ff7c5fea4fcfd1512335
Author: Christian Hergert <chergert redhat com>
Date: Tue Dec 11 21:03:01 2018 -0800
layout: clear page before unloading
This simplifies things for addins to only disconnect state in one place.
src/libide/layout/ide-layout-stack.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libide/layout/ide-layout-stack.c b/src/libide/layout/ide-layout-stack.c
index c6533571a..e6602eff4 100644
--- a/src/libide/layout/ide-layout-stack.c
+++ b/src/libide/layout/ide-layout-stack.c
@@ -437,6 +437,7 @@ ide_layout_stack_addin_removed (PeasExtensionSet *set,
g_assert (plugin_info != NULL);
g_assert (IDE_IS_LAYOUT_STACK_ADDIN (addin));
+ ide_layout_stack_addin_set_view (addin, NULL);
ide_layout_stack_addin_unload (addin, self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]