[gnome-session] manager: Remove chained-up finalize function



commit bea1d1674c6a0b3c3ce7a565595c3f8e36c8ccca
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 23 15:19:58 2013 +0100

    manager: Remove chained-up finalize function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692393

 gnome-session/gsm-manager.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 348ff67..fe34e77 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -196,7 +196,6 @@ static guint signals [LAST_SIGNAL] = { 0 };
 
 static void     gsm_manager_class_init  (GsmManagerClass *klass);
 static void     gsm_manager_init        (GsmManager      *manager);
-static void     gsm_manager_finalize    (GObject         *object);
 
 static gboolean auto_save_is_enabled (GsmManager *manager);
 static void     maybe_save_session   (GsmManager *manager);
@@ -2501,7 +2500,6 @@ gsm_manager_class_init (GsmManagerClass *klass)
         object_class->get_property = gsm_manager_get_property;
         object_class->set_property = gsm_manager_set_property;
         object_class->constructor = gsm_manager_constructor;
-        object_class->finalize = gsm_manager_finalize;
         object_class->dispose = gsm_manager_dispose;
 
         signals [PHASE_CHANGED] =
@@ -2748,21 +2746,6 @@ gsm_manager_init (GsmManager *manager)
         manager->priv->shell = gsm_get_shell ();
 }
 
-static void
-gsm_manager_finalize (GObject *object)
-{
-        GsmManager *manager;
-
-        g_return_if_fail (object != NULL);
-        g_return_if_fail (GSM_IS_MANAGER (object));
-
-        manager = GSM_MANAGER (object);
-
-        g_return_if_fail (manager->priv != NULL);
-
-        G_OBJECT_CLASS (gsm_manager_parent_class)->finalize (object);
-}
-
 GsmManager *
 gsm_manager_get (void)
 {



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