[gnome-control-center] background: Remove empty finalize functions



commit a2872ff12357c86174486c99ee2c37297c642a79
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Sep 5 22:02:03 2013 -0300

    background: Remove empty finalize functions
    
    They were just chaining up.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707602

 panels/background/bg-flickr-source.c             |    7 -------
 panels/background/bg-source.c                    |    7 -------
 panels/background/bg-wallpapers-source.c         |    7 -------
 panels/background/cc-background-chooser-dialog.c |    8 --------
 4 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/panels/background/bg-flickr-source.c b/panels/background/bg-flickr-source.c
index 6c60eef..75ad255 100644
--- a/panels/background/bg-flickr-source.c
+++ b/panels/background/bg-flickr-source.c
@@ -53,12 +53,6 @@ bg_flickr_source_dispose (GObject *object)
 }
 
 static void
-bg_flickr_source_finalize (GObject *object)
-{
-  G_OBJECT_CLASS (bg_flickr_source_parent_class)->finalize (object);
-}
-
-static void
 bg_flickr_source_class_init (BgFlickrSourceClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
@@ -66,7 +60,6 @@ bg_flickr_source_class_init (BgFlickrSourceClass *klass)
   g_type_class_add_private (klass, sizeof (BgFlickrSourcePrivate));
 
   object_class->dispose = bg_flickr_source_dispose;
-  object_class->finalize = bg_flickr_source_finalize;
 }
 
 static void
diff --git a/panels/background/bg-source.c b/panels/background/bg-source.c
index 6a230a4..a9ab993 100644
--- a/panels/background/bg-source.c
+++ b/panels/background/bg-source.c
@@ -81,12 +81,6 @@ bg_source_dispose (GObject *object)
 }
 
 static void
-bg_source_finalize (GObject *object)
-{
-  G_OBJECT_CLASS (bg_source_parent_class)->finalize (object);
-}
-
-static void
 bg_source_class_init (BgSourceClass *klass)
 {
   GParamSpec *pspec;
@@ -97,7 +91,6 @@ bg_source_class_init (BgSourceClass *klass)
   object_class->get_property = bg_source_get_property;
   object_class->set_property = bg_source_set_property;
   object_class->dispose = bg_source_dispose;
-  object_class->finalize = bg_source_finalize;
 
   pspec = g_param_spec_object ("liststore",
                                "Liststore",
diff --git a/panels/background/bg-wallpapers-source.c b/panels/background/bg-wallpapers-source.c
index b2f0139..d95b333 100644
--- a/panels/background/bg-wallpapers-source.c
+++ b/panels/background/bg-wallpapers-source.c
@@ -79,12 +79,6 @@ bg_wallpapers_source_dispose (GObject *object)
 }
 
 static void
-bg_wallpapers_source_finalize (GObject *object)
-{
-  G_OBJECT_CLASS (bg_wallpapers_source_parent_class)->finalize (object);
-}
-
-static void
 bg_wallpapers_source_class_init (BgWallpapersSourceClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
@@ -94,7 +88,6 @@ bg_wallpapers_source_class_init (BgWallpapersSourceClass *klass)
   object_class->get_property = bg_wallpapers_source_get_property;
   object_class->set_property = bg_wallpapers_source_set_property;
   object_class->dispose = bg_wallpapers_source_dispose;
-  object_class->finalize = bg_wallpapers_source_finalize;
 }
 
 static void
diff --git a/panels/background/cc-background-chooser-dialog.c 
b/panels/background/cc-background-chooser-dialog.c
index f36fd9a..0af61c5 100644
--- a/panels/background/cc-background-chooser-dialog.c
+++ b/panels/background/cc-background-chooser-dialog.c
@@ -131,13 +131,6 @@ cc_background_chooser_dialog_dispose (GObject *object)
 }
 
 static void
-cc_background_chooser_dialog_finalize (GObject *object)
-{
-
-  G_OBJECT_CLASS (cc_background_chooser_dialog_parent_class)->finalize (object);
-}
-
-static void
 ensure_iconview_shown (CcBackgroundChooserDialog *chooser)
 {
   gtk_widget_hide (chooser->priv->empty_pictures_box);
@@ -456,7 +449,6 @@ cc_background_chooser_dialog_class_init (CcBackgroundChooserDialogClass *klass)
 
   object_class = G_OBJECT_CLASS (klass);
   object_class->dispose = cc_background_chooser_dialog_dispose;
-  object_class->finalize = cc_background_chooser_dialog_finalize;
 
   widget_class = GTK_WIDGET_CLASS (klass);
   widget_class->realize = cc_background_chooser_dialog_realize;


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