[gnome-calculator] Fixed compile error
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Fixed compile error
- Date: Mon, 1 Aug 2022 07:01:38 +0000 (UTC)
commit e49150122b89b5646663fd7a45e64717c5a3d272
Author: Robert Roth <robert roth off gmail com>
Date: Mon Aug 1 10:01:27 2022 +0300
Fixed compile error
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 6a9f8ec8..79649024 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 new Gtk.Entry name_entry ()
+ protected override Gtk.Entry name_entry ()
{
return function_name_entry;
}
- protected new Gtk.Button add_button ()
+ protected override Gtk.Button add_button ()
{
return add_function_button;
}
diff --git a/src/math-variable-popover.vala b/src/math-variable-popover.vala
index b005473f..0514a121 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 new Gtk.Entry name_entry ()
+ protected override Gtk.Entry name_entry ()
{
return variable_name_entry;
}
- protected new Gtk.Button add_button ()
+ protected override Gtk.Button add_button ()
{
return store_variable_button;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]