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




commit 04b4f47c52db0d6a1d7c6c8472fd1f8b898f54d1
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]