Commit a9dd8ecf authored by Mathieu Bridon's avatar Mathieu Bridon Committed by Dylan McCall

Remove unused attributes

This removes some build warnings.
parent 831f5483
......@@ -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
}
......@@ -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
}
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment