[gnome-builder/wip/gtk4-port] plugins/grep: release group during shutdown



commit 8227eb26cd6037aafdfbdf97bbc889e74e8def84
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 22 17:25:30 2022 -0700

    plugins/grep: release group during shutdown

 src/plugins/grep/gbp-grep-tree-addin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/grep/gbp-grep-tree-addin.c b/src/plugins/grep/gbp-grep-tree-addin.c
index f1638006c..60af7bbaf 100644
--- a/src/plugins/grep/gbp-grep-tree-addin.c
+++ b/src/plugins/grep/gbp-grep-tree-addin.c
@@ -107,7 +107,7 @@ gbp_grep_tree_addin_unload (IdeTreeAddin *addin,
   g_assert (IDE_IS_TREE_MODEL (model));
 
   gtk_widget_insert_action_group (GTK_WIDGET (tree), "grep", NULL);
-
+  g_clear_object (&self->group);
   self->tree = NULL;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]