[gnome-builder] devhelp: Chain up finalize GObject vfunc
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] devhelp: Chain up finalize GObject vfunc
- Date: Fri, 6 Aug 2021 16:21:38 +0000 (UTC)
commit 332a851b4d5bcf16bcd93bc584a77c3c7b64e173
Author: vanadiae <vanadiae35 gmail com>
Date: Fri Aug 6 18:10:03 2021 +0200
devhelp: Chain up finalize GObject vfunc
No idea if that caused a problem, but we need to chain up for GObjects.
src/plugins/devhelp/gbp-devhelp-page.c | 2 ++
src/plugins/devhelp/gbp-devhelp-search.c | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/src/plugins/devhelp/gbp-devhelp-page.c b/src/plugins/devhelp/gbp-devhelp-page.c
index 6631d6254..5d5c52b0d 100644
--- a/src/plugins/devhelp/gbp-devhelp-page.c
+++ b/src/plugins/devhelp/gbp-devhelp-page.c
@@ -223,6 +223,8 @@ gbp_devhelp_page_finalize (GObject *object)
g_assert (GBP_IS_DEVHELP_PAGE (self));
gtk_widget_insert_action_group (GTK_WIDGET (self), "devhelp-view", NULL);
+
+ G_OBJECT_CLASS (gbp_devhelp_page_parent_class)->finalize (object);
}
static void
diff --git a/src/plugins/devhelp/gbp-devhelp-search.c b/src/plugins/devhelp/gbp-devhelp-search.c
index b6a7d093c..6d7dab2ee 100644
--- a/src/plugins/devhelp/gbp-devhelp-search.c
+++ b/src/plugins/devhelp/gbp-devhelp-search.c
@@ -128,6 +128,8 @@ gbp_devhelp_search_finalize (GObject *object)
g_assert (GBP_IS_DEVHELP_SEARCH (self));
gtk_widget_insert_action_group (GTK_WIDGET (self), "devhelp-search", NULL);
+
+ G_OBJECT_CLASS (gbp_devhelp_search_parent_class)->finalize (object);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]