[libpanel] save-delegate: use dispose instead of finalize
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpanel] save-delegate: use dispose instead of finalize
- Date: Tue, 13 Sep 2022 22:22:59 +0000 (UTC)
commit 40486aa43832ae39e6cfacf1bc808806b73af208
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 13 15:20:43 2022 -0700
save-delegate: use dispose instead of finalize
src/panel-save-delegate.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/panel-save-delegate.c b/src/panel-save-delegate.c
index 5a89ce6..1a16ec2 100644
--- a/src/panel-save-delegate.c
+++ b/src/panel-save-delegate.c
@@ -123,7 +123,7 @@ panel_save_delegate_real_save (PanelSaveDelegate *self,
}
static void
-panel_save_delegate_finalize (GObject *object)
+panel_save_delegate_dispose (GObject *object)
{
PanelSaveDelegate *self = (PanelSaveDelegate *)object;
PanelSaveDelegatePrivate *priv = panel_save_delegate_get_instance_private (self);
@@ -133,7 +133,7 @@ panel_save_delegate_finalize (GObject *object)
g_clear_pointer (&priv->icon_name, g_free);
g_clear_object (&priv->icon);
- G_OBJECT_CLASS (panel_save_delegate_parent_class)->finalize (object);
+ G_OBJECT_CLASS (panel_save_delegate_parent_class)->dispose (object);
}
static void
@@ -219,7 +219,7 @@ panel_save_delegate_class_init (PanelSaveDelegateClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- object_class->finalize = panel_save_delegate_finalize;
+ object_class->dispose = panel_save_delegate_dispose;
object_class->get_property = panel_save_delegate_get_property;
object_class->set_property = panel_save_delegate_set_property;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]