[gnome-session] inhibit-dialog: Remove chained-up finalize function



commit 8b2b17d88322c7da9a170cdf2528d6179822ccdb
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 23 15:19:38 2013 +0100

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

 gnome-session/gsm-inhibit-dialog.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/gnome-session/gsm-inhibit-dialog.c b/gnome-session/gsm-inhibit-dialog.c
index 5860061..b8c8a63 100644
--- a/gnome-session/gsm-inhibit-dialog.c
+++ b/gnome-session/gsm-inhibit-dialog.c
@@ -88,7 +88,6 @@ enum {
 
 static void     gsm_inhibit_dialog_class_init  (GsmInhibitDialogClass *klass);
 static void     gsm_inhibit_dialog_init        (GsmInhibitDialog      *inhibit_dialog);
-static void     gsm_inhibit_dialog_finalize    (GObject               *object);
 
 G_DEFINE_TYPE (GsmInhibitDialog, gsm_inhibit_dialog, GTK_TYPE_DIALOG)
 
@@ -899,7 +898,6 @@ gsm_inhibit_dialog_class_init (GsmInhibitDialogClass *klass)
         object_class->set_property = gsm_inhibit_dialog_set_property;
         object_class->constructor = gsm_inhibit_dialog_constructor;
         object_class->dispose = gsm_inhibit_dialog_dispose;
-        object_class->finalize = gsm_inhibit_dialog_finalize;
 
         g_object_class_install_property (object_class,
                                          PROP_ACTION,
@@ -966,23 +964,6 @@ gsm_inhibit_dialog_init (GsmInhibitDialog *dialog)
                       NULL);
 }
 
-static void
-gsm_inhibit_dialog_finalize (GObject *object)
-{
-        GsmInhibitDialog *dialog;
-
-        g_return_if_fail (object != NULL);
-        g_return_if_fail (GSM_IS_INHIBIT_DIALOG (object));
-
-        dialog = GSM_INHIBIT_DIALOG (object);
-
-        g_return_if_fail (dialog->priv != NULL);
-
-        g_debug ("GsmInhibitDialog: finalizing");
-
-        G_OBJECT_CLASS (gsm_inhibit_dialog_parent_class)->finalize (object);
-}
-
 GtkWidget *
 gsm_inhibit_dialog_new (GsmStore *inhibitors,
                         GsmStore *clients,



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