[gnome-control-center] shell: Remove dead code



commit de2b8f305a4dfe2540cedfe095f1baa04c639ac9
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Feb 10 11:18:27 2020 +1300

    shell: Remove dead code

 shell/cc-panel.c | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/shell/cc-panel.c b/shell/cc-panel.c
index e14bd0f5c..df9a7f385 100644
--- a/shell/cc-panel.c
+++ b/shell/cc-panel.c
@@ -42,12 +42,6 @@
 
 typedef struct
 {
-  gchar    *id;
-  gchar    *display_name;
-  gchar    *category;
-  gchar    *current_location;
-
-  gboolean      is_active;
   CcShell      *shell;
   GCancellable *cancellable;
 } CcPanelPrivate;
@@ -146,9 +140,6 @@ cc_panel_finalize (GObject *object)
 {
   CcPanelPrivate *priv = cc_panel_get_instance_private (CC_PANEL (object));
 
-  g_clear_pointer (&priv->id, g_free);
-  g_clear_pointer (&priv->display_name, g_free);
-
   g_cancellable_cancel (priv->cancellable);
   g_clear_object (&priv->cancellable);
 


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