[gnome-calculator] Added new keyword



commit 5d0af753a77e2b93f5125ace8e87e9229ce279a3
Author: Robert Roth <robert roth off gmail com>
Date:   Mon Aug 1 09:48:23 2022 +0300

    Added new keyword

 src/math-function-popover.vala | 4 ++--
 src/math-variable-popover.vala | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/math-function-popover.vala b/src/math-function-popover.vala
index c6bcc070..6a9f8ec8 100644
--- a/src/math-function-popover.vala
+++ b/src/math-function-popover.vala
@@ -41,12 +41,12 @@ public class MathFunctionPopover : MathPopover<MathFunction>
         item_deleted.connect (function_deleted_cb);
     }
     
-    protected Gtk.Entry name_entry ()
+    protected new Gtk.Entry name_entry ()
     {
         return function_name_entry;
     }
     
-    protected Gtk.Button add_button ()
+    protected new Gtk.Button add_button ()
     {
        return add_function_button;
     }
diff --git a/src/math-variable-popover.vala b/src/math-variable-popover.vala
index 41520e86..b005473f 100644
--- a/src/math-variable-popover.vala
+++ b/src/math-variable-popover.vala
@@ -52,12 +52,12 @@ public class MathVariablePopover : MathPopover<MathVariable>
         item_deleted.connect (delete_variable_cb);
     }
 
-    protected Gtk.Entry name_entry ()
+    protected new Gtk.Entry name_entry ()
     {
         return variable_name_entry;
     }
     
-    protected Gtk.Button add_button ()
+    protected new Gtk.Button add_button ()
     {
        return store_variable_button;
     }


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