[chronojump] Clean warnings



commit d1ca04d8ba7642e3d01bd1bcc40114a5d0f1f856
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Dec 15 16:02:03 2021 +0100

    Clean warnings

 src/gui/app1/chronojumpPersons.cs |  4 ++--
 src/gui/person/addModify.cs       | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gui/app1/chronojumpPersons.cs b/src/gui/app1/chronojumpPersons.cs
index f3c03610a..61bdbd1bc 100644
--- a/src/gui/app1/chronojumpPersons.cs
+++ b/src/gui/app1/chronojumpPersons.cs
@@ -167,7 +167,7 @@ public partial class ChronoJumpWindow
                personAddModifyWin = PersonAddModifyWindow.Show(app1,
                                currentSession, new Person(-1), 
                                //preferences.digitsNumber, checkbutton_video, configChronojump.UseVideo,
-                               preferences.digitsNumber, checkbutton_video_contacts,
+                               preferences.digitsNumber,// checkbutton_video_contacts,
                                preferences.videoDevice, preferences.videoDevicePixelFormat, 
preferences.videoDeviceResolution, preferences.videoDeviceFramerate,
                                configChronojump.Compujump, preferences.units == Preferences.UnitsEnum.METRIC
                                );
@@ -300,7 +300,7 @@ public partial class ChronoJumpWindow
 
                personAddModifyWin = PersonAddModifyWindow.Show(app1, currentSession, currentPerson, 
                                //preferences.digitsNumber, checkbutton_video, configChronojump.UseVideo,
-                               preferences.digitsNumber, checkbutton_video_contacts,
+                               preferences.digitsNumber,// checkbutton_video_contacts,
                                preferences.videoDevice, preferences.videoDevicePixelFormat, 
preferences.videoDeviceResolution, preferences.videoDeviceFramerate,
                                configChronojump.Compujump, preferences.units == Preferences.UnitsEnum.METRIC
                                ); 
diff --git a/src/gui/person/addModify.cs b/src/gui/person/addModify.cs
index fbb5773ae..8ed18bcf8 100644
--- a/src/gui/person/addModify.cs
+++ b/src/gui/person/addModify.cs
@@ -53,8 +53,8 @@ public class PersonAddModifyWindow
        [Widget] Gtk.Button button_delete_photo_file;
        [Widget] Gtk.Image image_photo_delete;
 
-       [Widget] Gtk.Button button_add_photo_file;
-       [Widget] Gtk.Button button_take_photo_do;
+       //[Widget] Gtk.Button button_add_photo_file;
+       //[Widget] Gtk.Button button_take_photo_do;
        [Widget] Gtk.HBox hbox_camera;
        
        [Widget] Gtk.Label label_date;
@@ -143,7 +143,7 @@ public class PersonAddModifyWindow
        private string sex = Constants.M;
        private double weightIniMetric;
        int pDN;
-       Gtk.CheckButton app1_checkbutton_video_contacts;
+       //Gtk.CheckButton app1_checkbutton_video_contacts;
        
        private int serverUniqueID;
 
@@ -527,7 +527,7 @@ public class PersonAddModifyWindow
        static public PersonAddModifyWindow Show (Gtk.Window parent, 
                        Session mySession, Person currentPerson, int pDN, 
                        //Gtk.CheckButton app1_checkbutton_video, bool showCapturePhoto,
-                       Gtk.CheckButton app1_checkbutton_video_contacts,
+                       //Gtk.CheckButton app1_checkbutton_video_contacts,
                        string videoDevice, string videoDevicePixelFormat, string videoDeviceResolution, 
string videoDeviceFramerate,
                        bool compujump, bool metric)
        {
@@ -537,7 +537,7 @@ public class PersonAddModifyWindow
                }
 
                PersonAddModifyWindowBox.pDN = pDN;
-               PersonAddModifyWindowBox.app1_checkbutton_video_contacts = app1_checkbutton_video_contacts;
+               ///PersonAddModifyWindowBox.app1_checkbutton_video_contacts = app1_checkbutton_video_contacts;
                PersonAddModifyWindowBox.videoDevice = videoDevice;
                PersonAddModifyWindowBox.videoDevicePixelFormat = videoDevicePixelFormat;
                PersonAddModifyWindowBox.videoDeviceResolution = videoDeviceResolution;


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