[gnome-break-timer] Remove unused attributes



commit a9dd8ecf75094fbb59776935c3de2f1aa4402f9e
Author: Mathieu Bridon <bochecha fedoraproject org>
Date:   Sat Aug 30 18:02:05 2014 -0700

    Remove unused attributes
    
    This removes some build warnings.

 helper/activity-monitor/ActivityMonitor.vala |    4 +---
 settings/SettingsApplication.vala            |    3 +--
 settings/TimeChooser.vala                    |    4 +---
 3 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/helper/activity-monitor/ActivityMonitor.vala b/helper/activity-monitor/ActivityMonitor.vala
index d5ecb31..a8ea48f 100644
--- a/helper/activity-monitor/ActivityMonitor.vala
+++ b/helper/activity-monitor/ActivityMonitor.vala
@@ -185,8 +185,6 @@ public abstract class ActivityMonitorBackend : Object {
        private int64 last_real_time = 0;
        private int64 last_monotonic_time = 0;
 
-       private int? last_idle_time;
-       
        public virtual Json.Object serialize () {
                Json.Object json_root = new Json.Object ();
                json_root.set_int_member ("last_real_time", this.last_real_time);
@@ -228,4 +226,4 @@ public abstract class ActivityMonitorBackend : Object {
 
                return sleep_time;
        }
-}
\ No newline at end of file
+}
diff --git a/settings/SettingsApplication.vala b/settings/SettingsApplication.vala
index 3b4108c..d6a7eb9 100644
--- a/settings/SettingsApplication.vala
+++ b/settings/SettingsApplication.vala
@@ -107,7 +107,6 @@ public class SettingsApplication : Gtk.Application {
                this.break_manager.load_breaks ();
        }
 
-       private uint delay_start_timeout_id;
        private void delayed_start () {
                // Delay up to 500ms waiting for break_manager to initialize
                this.break_manager.break_status_available.connect (this.delayed_start_cb);
@@ -124,4 +123,4 @@ public class SettingsApplication : Gtk.Application {
        private void on_about_activate_cb () {
                this.main_window.show_about_dialog ();
        }
-}
\ No newline at end of file
+}
diff --git a/settings/TimeChooser.vala b/settings/TimeChooser.vala
index 8072b69..c21defd 100644
--- a/settings/TimeChooser.vala
+++ b/settings/TimeChooser.vala
@@ -18,7 +18,6 @@
 public class TimeChooser : Gtk.ComboBox {
        private Gtk.ListStore list_store;
        
-       private Gtk.TreeIter other_item;
        private Gtk.TreeIter? custom_item;
        
        private const int OPTION_OTHER = -1;
@@ -43,7 +42,6 @@ public class TimeChooser : Gtk.ComboBox {
                        string label = NaturalTime.instance.get_label_for_seconds (time);
                        this.add_option (label, time);
                }
-               // this.other_item = this.add_option ( _("Other…"), OPTION_OTHER);
                this.custom_item = null;
                
                this.changed.connect (this.on_changed);
@@ -120,4 +118,4 @@ public class TimeChooser : Gtk.ComboBox {
        private void start_custom_input () {
                GLib.warning("Custom time input is not implemented");
        }
-}
\ No newline at end of file
+}


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