[gnome-calendar/calendar-management] source-manager: remove dead code



commit 36774b404c08442ca3c8a68c7f911b91178d7bbd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Feb 5 12:23:46 2015 -0200

    source-manager: remove dead code

 src/gcal-source-manager-dialog.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-source-manager-dialog.c b/src/gcal-source-manager-dialog.c
index 3fd82b6..4c64531 100644
--- a/src/gcal-source-manager-dialog.c
+++ b/src/gcal-source-manager-dialog.c
@@ -719,7 +719,7 @@ update_action_states (GcalSourceManagerDialog *dialog,
                       ESource                 *source)
 {
   GcalSourceManagerDialogPrivate *priv;
-  gboolean is_enabled, is_default;
+  gboolean is_default;
   ESource *default_source;
   GAction *action;
 
@@ -732,7 +732,6 @@ update_action_states (GcalSourceManagerDialog *dialog,
     return;
 
   default_source = gcal_manager_get_default_source (priv->manager);
-  is_enabled = gcal_manager_is_source_enabled (priv->manager, source);
   is_default = (source == default_source);
 
   action = g_action_map_lookup_action (G_ACTION_MAP (priv->action_group), "default");


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