[gnome-control-center] background: Remove unnecessary initialization



commit 9c25c5ce65a948f89f8811d934061a85bd881a71
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Jun 17 13:37:44 2014 +0200

    background: Remove unnecessary initialization
    
    The entire private struct is initialized to 0 by GObject, so there is
    no need to do that again.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731713

 panels/background/cc-background-chooser-dialog.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/panels/background/cc-background-chooser-dialog.c 
b/panels/background/cc-background-chooser-dialog.c
index c667faa..2c087a8 100644
--- a/panels/background/cc-background-chooser-dialog.c
+++ b/panels/background/cc-background-chooser-dialog.c
@@ -279,9 +279,6 @@ cc_background_chooser_dialog_init (CcBackgroundChooserDialog *chooser)
   priv->pictures_source = bg_pictures_source_new (GTK_WINDOW (chooser));
   priv->colors_source = bg_colors_source_new (GTK_WINDOW (chooser));
 
-  priv->row_inserted_id = 0;
-  priv->row_deleted_id = 0;
-
   gtk_container_set_border_width (GTK_CONTAINER (chooser), 6);
   gtk_window_set_modal (GTK_WINDOW (chooser), TRUE);
   gtk_window_set_resizable (GTK_WINDOW (chooser), FALSE);


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