[gnome-notes] item: Don't override finalize method
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes] item: Don't override finalize method
- Date: Tue, 1 Feb 2022 13:15:13 +0000 (UTC)
commit e5f9e8274f1c16314fc072eeca8b13b629f58b06
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Sun Apr 18 10:17:19 2021 +0530
item: Don't override finalize method
as we don't do anything with finalize()
src/libbiji/biji-item.c | 11 -----------
1 file changed, 11 deletions(-)
---
diff --git a/src/libbiji/biji-item.c b/src/libbiji/biji-item.c
index c5acc07f..505387b2 100644
--- a/src/libbiji/biji-item.c
+++ b/src/libbiji/biji-item.c
@@ -47,8 +47,6 @@ typedef struct
BijiManager *manager;
} BijiItemPrivate;
-static void biji_item_finalize (GObject *object);
-
G_DEFINE_TYPE_WITH_PRIVATE (BijiItem, biji_item, G_TYPE_OBJECT)
static gboolean
@@ -111,7 +109,6 @@ biji_item_class_init (BijiItemClass *klass)
g_object_class->get_property = biji_item_get_property;
g_object_class->set_property = biji_item_set_property;
- g_object_class->finalize = biji_item_finalize;
klass->has_color = biji_item_real_has_color;
klass->is_collectable = biji_item_real_is_collectable;
@@ -161,14 +158,6 @@ biji_item_class_init (BijiItemClass *klass)
G_TYPE_STRING);
}
-
-static void
-biji_item_finalize (GObject *object)
-{
- G_OBJECT_CLASS (biji_item_parent_class)->finalize (object);
-}
-
-
static void
biji_item_init (BijiItem *self)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]