[gnome-control-center] background: Remove unused variables



commit 2f57847381980bb103c8ed04cc7b583a415e6987
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Nov 20 14:42:08 2019 +1300

    background: Remove unused variables

 panels/background/cc-background-panel.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index 926239dbc..9d5aa92a0 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -61,9 +61,6 @@ struct _CcBackgroundPanel
   CcBackgroundChooser *background_chooser;
   GtkWidget *add_picture_button;
   CcBackgroundPreview *desktop_preview;
-
-  GtkWidget *spinner;
-  GtkWidget *chooser;
 };
 
 CC_PANEL_REGISTER (CcBackgroundPanel, cc_background_panel)
@@ -245,8 +242,6 @@ cc_background_panel_dispose (GObject *object)
   g_clear_object (&panel->lock_settings);
   g_clear_object (&panel->thumb_factory);
 
-  g_clear_pointer (&panel->chooser, gtk_widget_destroy);
-
   G_OBJECT_CLASS (cc_background_panel_parent_class)->dispose (object);
 }
 


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