[gnome-builder/wip/gtk4-port] plugins/grep: dont clean up action muxer
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/grep: dont clean up action muxer
- Date: Sat, 23 Apr 2022 01:38:37 +0000 (UTC)
commit 99f7f517926b943c6585b02489ed9993f6f36e9d
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 126919ddf..36cb8f1a6 100644
--- a/src/plugins/grep/gbp-grep-panel.c
+++ b/src/plugins/grep/gbp-grep-panel.c
@@ -554,7 +554,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;
@@ -566,7 +566,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
@@ -615,7 +615,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]