[chronojump] Clean warnings
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Clean warnings
- Date: Mon, 20 Dec 2021 09:26:04 +0000 (UTC)
commit fe6998df8804e37b49b8ee14deb315e32e34dda9
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Dec 20 10:25:43 2021 +0100
Clean warnings
src/gui/app1/jump.cs | 4 ++--
src/gui/app1/session/backup.cs | 8 +++++---
src/gui/app1/shortcuts.cs | 2 +-
src/gui/eventExecute.cs | 6 +++---
src/gui/guiTests.cs | 12 ++++++------
src/gui/networks.cs | 2 +-
6 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/src/gui/app1/jump.cs b/src/gui/app1/jump.cs
index e2de140c3..d18301187 100644
--- a/src/gui/app1/jump.cs
+++ b/src/gui/app1/jump.cs
@@ -46,7 +46,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.HBox hbox_extra_window_jumps_weight;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_kg;
[Widget] Gtk.RadioButton extra_window_jumps_radiobutton_weight;
- [Widget] Gtk.Label extra_window_jumps_label_weight;
+ //[Widget] Gtk.Label extra_window_jumps_label_weight;
[Widget] Gtk.CheckButton extra_window_jumps_check_dj_arms;
[Widget] Gtk.Button button_jumps_simple_capture_save_image;
@@ -77,7 +77,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.RadioButton extra_window_jumps_rj_radiobutton_kg;
[Widget] Gtk.RadioButton extra_window_jumps_rj_radiobutton_weight;
[Widget] Gtk.HBox hbox_extra_window_jumps_rj_weight;
- [Widget] Gtk.Label extra_window_jumps_rj_label_weight;
+ //[Widget] Gtk.Label extra_window_jumps_rj_label_weight;
[Widget] Gtk.Label extra_window_jumps_rj_label_fall;
[Widget] Gtk.Label extra_window_jumps_rj_label_cm;
[Widget] Gtk.Label extra_window_jumps_label_rj_start_inside;
diff --git a/src/gui/app1/session/backup.cs b/src/gui/app1/session/backup.cs
index 37f429d67..f5ba84301 100644
--- a/src/gui/app1/session/backup.cs
+++ b/src/gui/app1/session/backup.cs
@@ -27,7 +27,7 @@ using Mono.Unix;
public partial class ChronoJumpWindow
{
- string app1s_fileDB;
+ //string app1s_fileDB;
string app1s_fileCopy; //contains chronojump_datetime
string app1s_parentCopy; //is the dir selected by app1s_fc, before adding chronojump_datetime,
//nice to store in SQL and reuse in next backups
@@ -178,7 +178,7 @@ public partial class ChronoJumpWindow
System.IO.FileInfo file1 = new System.IO.FileInfo(databaseURL);
System.IO.FileInfo file2 = new System.IO.FileInfo(databaseTempURL);
- app1s_fileDB = "";
+ //app1s_fileDB = "";
long length1 = 0;
if(file1.Exists)
@@ -189,10 +189,12 @@ public partial class ChronoJumpWindow
if(length1 == 0 && length2 == 0)
return false;
+ /*
else if(length1 > length2)
app1s_fileDB = databaseURL;
else
app1s_fileDB = databaseTempURL;
+ */
return true;
}
@@ -410,7 +412,7 @@ public partial class ChronoJumpWindow
*/
static long app1s_copyRecursiveElapsedMs;
static bool app1s_copyRecursiveSuccess;
- static int app1s_backupMainDirsDone;
+ //static int app1s_backupMainDirsDone;
private void app1s_copyRecursive()
{
app1s_copyRecursiveElapsedMs = 0;
diff --git a/src/gui/app1/shortcuts.cs b/src/gui/app1/shortcuts.cs
index cad743107..0b27f605b 100644
--- a/src/gui/app1/shortcuts.cs
+++ b/src/gui/app1/shortcuts.cs
@@ -25,7 +25,7 @@ using Mono.Unix;
public partial class ChronoJumpWindow
{
- [Widget] Gtk.Button button_edit_current_person;
+ //[Widget] Gtk.Button button_edit_current_person;
[Widget] Gtk.Button button_edit_current_person_h;
[Widget] Gtk.Button button_run_encoder_analyze_load;
[Widget] Gtk.Button button_encoder_exercise;
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index bd1bb58a6..95a51ffa3 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -55,7 +55,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.VBox vbox_contacts_simple_graph_controls;
[Widget] Gtk.RadioButton radio_contacts_graph_currentTest;
[Widget] Gtk.RadioButton radio_contacts_graph_allTests;
- [Widget] Gtk.RadioButton radio_contacts_graph_currentPerson;
+ //[Widget] Gtk.RadioButton radio_contacts_graph_currentPerson;
[Widget] Gtk.RadioButton radio_contacts_graph_allPersons;
[Widget] Gtk.Image image_radio_contacts_graph_currentPerson;
[Widget] Gtk.Image image_radio_contacts_graph_allPersons;
@@ -106,7 +106,7 @@ public partial class ChronoJumpWindow
//[Widget] Gtk.Alignment event_execute_alignment_drawingarea;
//static Gdk.Pixmap event_execute_pixmap = null;
Gdk.Pixmap event_execute_pixmap = null;
- Gdk.Pixmap event_execute_run_simple_double_contacts_pixmap = null;
+ //Gdk.Pixmap event_execute_run_simple_double_contacts_pixmap = null;
string event_execute_label_simulated;
@@ -139,7 +139,7 @@ public partial class ChronoJumpWindow
Pango.Layout layoutSmallMid;
Pango.Layout layoutMid;
Pango.Layout layoutBig;
- Pango.Layout layoutMid_run_simple;
+ //Pango.Layout layoutMid_run_simple;
static EventGraphConfigureWindow eventGraphConfigureWin;
diff --git a/src/gui/guiTests.cs b/src/gui/guiTests.cs
index bcc0b934d..aded213d4 100644
--- a/src/gui/guiTests.cs
+++ b/src/gui/guiTests.cs
@@ -712,18 +712,18 @@ public partial class ChronoJumpWindow
{
LogB.TestStart("chronojumpWindowTestsEncoderSetSaveReps");
- saveRepsLastI = -1;
- saveRepsBucleDoing = true;
- saveRepsBucleCount = 25;
+ //saveRepsLastI = -1;
+ //saveRepsBucleDoing = true;
+ //saveRepsBucleCount = 25;
//make interval bigger if you cannot see GUI updating
GLib.Timeout.Add(500, new
GLib.TimeoutHandler(chronojumpWindowTestsEncoderSetSaveRepsBucleDo));
LogB.TestEnd("chronojumpWindowTestsEncoderSetSaveReps");
}
- bool saveRepsBucleDoing;
- int saveRepsBucleCount;
- int saveRepsLastI;
+ //bool saveRepsBucleDoing;
+ //int saveRepsBucleCount;
+ //int saveRepsLastI;
private bool chronojumpWindowTestsEncoderSetSaveRepsBucleDo()
{
return false;
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index 022863753..3c72217b0 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -67,7 +67,7 @@ public partial class ChronoJumpWindow
//encoder exercise stuff
[Widget] Gtk.Label label_encoder_exercise_encoder;
- [Widget] Gtk.VSeparator vseparator_encoder_exercise_encoder;
+ //[Widget] Gtk.VSeparator vseparator_encoder_exercise_encoder;
[Widget] Gtk.HBox hbox_encoder_exercise_encoder;
[Widget] Gtk.Button button_encoder_exercise_edit;
[Widget] Gtk.Button button_encoder_exercise_add;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]