[gnome-builder] plugins/grep: dont clean up action muxer
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/grep: dont clean up action muxer
- Date: Sat, 23 Apr 2022 01:39:24 +0000 (UTC)
commit 7dbc9b08a7f32c87c246bda4c1868ea70032602b
Author: Christian Hergert <chergert redhat com>
Date: Fri Apr 22 18:38:31 2022 -0700
plugins/grep: dont clean up action muxer
There is no need to do it. Also, this wasn't chaining up to finalize
which should probably be fixed on main too.
src/plugins/grep/gbp-grep-panel.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/grep/gbp-grep-panel.c b/src/plugins/grep/gbp-grep-panel.c
index aedd5ad88..477324918 100644
--- a/src/plugins/grep/gbp-grep-panel.c
+++ b/src/plugins/grep/gbp-grep-panel.c
@@ -551,7 +551,7 @@ gbp_grep_panel_grab_focus (GtkWidget *widget)
}
static void
-gbp_grep_panel_finalize (GObject *object)
+gbp_grep_panel_dispose (GObject *object)
{
GbpGrepPanel *self = (GbpGrepPanel *)object;
@@ -563,7 +563,7 @@ gbp_grep_panel_finalize (GObject *object)
g_clear_object (&self->cancellable);
}
- gtk_widget_insert_action_group (GTK_WIDGET (self), "grep", NULL);
+ G_OBJECT_CLASS (gbp_grep_panel_parent_class)->dispose (object);
}
static void
@@ -612,7 +612,7 @@ gbp_grep_panel_class_init (GbpGrepPanelClass *klass)
object_class->get_property = gbp_grep_panel_get_property;
object_class->set_property = gbp_grep_panel_set_property;
- object_class->finalize = gbp_grep_panel_finalize;
+ object_class->dispose = gbp_grep_panel_dispose;
widget_class->grab_focus = gbp_grep_panel_grab_focus;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]