[totem/wip/hadess/totem-object-cleanups] main: Remove unused search entry finalize method



commit 029e52e805a01f035321e70949ecddf1c3b8ed30
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Aug 18 15:52:55 2022 +0200

    main: Remove unused search entry finalize method

 src/totem-search-entry.c | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/src/totem-search-entry.c b/src/totem-search-entry.c
index 7174c470b..c33d02081 100644
--- a/src/totem-search-entry.c
+++ b/src/totem-search-entry.c
@@ -44,16 +44,6 @@ struct _TotemSearchEntry {
 
 G_DEFINE_TYPE (TotemSearchEntry, totem_search_entry, GTK_TYPE_BOX)
 
-static void
-totem_search_entry_finalize (GObject *obj)
-{
-       TotemSearchEntry *self = TOTEM_SEARCH_ENTRY (obj);
-
-       /* The popover will be destroyed with its parent (us) */
-
-       G_OBJECT_CLASS (totem_search_entry_parent_class)->finalize (obj);
-}
-
 static void
 entry_activate_cb (GtkEntry *entry,
                   TotemSearchEntry *self)
@@ -215,7 +205,6 @@ totem_search_entry_class_init (TotemSearchEntryClass *klass)
 {
        GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
 
-       gobject_class->finalize = totem_search_entry_finalize;
        gobject_class->set_property = totem_search_entry_set_property;
        gobject_class->get_property = totem_search_entry_get_property;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]