[gnome-calculator] GCalc: renamed GPlus to Plus
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] GCalc: renamed GPlus to Plus
- Date: Thu, 17 Oct 2019 19:09:18 +0000 (UTC)
commit 50f36849233c8859064f8c0db91dd3a6e866485f
Author: Daniel Espinosa <esodan gmail com>
Date: Thu Oct 17 12:24:27 2019 -0500
GCalc: renamed GPlus to Plus
gcalc/gcalc-parser.vala | 2 +-
gcalc/{gcalc-gplus.vala => gcalc-plus.vala} | 4 ++--
gcalc/meson.build | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gcalc/gcalc-parser.vala b/gcalc/gcalc-parser.vala
index b34ea988..ae87425b 100644
--- a/gcalc/gcalc-parser.vala
+++ b/gcalc/gcalc-parser.vala
@@ -170,7 +170,7 @@ public class GCalc.Parser : Object {
process_term_operator (op, eq);
break;
case TokenType.PLUS:
- var opp = new GPlus ();
+ var opp = new Plus ();
process_operator (opp, eq);
break;
case TokenType.DIV:
diff --git a/gcalc/gcalc-gplus.vala b/gcalc/gcalc-plus.vala
similarity index 89%
rename from gcalc/gcalc-gplus.vala
rename to gcalc/gcalc-plus.vala
index 9b2195f3..2d2e36be 100644
--- a/gcalc/gcalc-gplus.vala
+++ b/gcalc/gcalc-plus.vala
@@ -1,4 +1,4 @@
-/* gcalc-gplus.vala
+/* gcalc-plus.vala
*
* Copyright (C) 2018 Daniel Espinosa <esodan gmail com>
*
@@ -18,7 +18,7 @@
* Authors:
* Daniel Espinosa <esodan gmail com>
*/
-public class GCalc.GPlus : Expression, MathOperator, MathBinaryOperator, MathPlus {
+public class GCalc.Plus : Expression, MathOperator, MathBinaryOperator, MathPlus {
internal override string to_string () {
return "+";
}
diff --git a/gcalc/meson.build b/gcalc/meson.build
index c0f84018..7cf61ce8 100644
--- a/gcalc/meson.build
+++ b/gcalc/meson.build
@@ -82,7 +82,6 @@ gcalc_sources = files([
'gcalc-function-tan.vala',
'gcalc-function-tanh.vala',
'gcalc-group.vala',
- 'gcalc-gplus.vala',
'gcalc-gpow.vala',
'gcalc-gresult.vala',
'gcalc-gsolver.vala',
@@ -109,6 +108,7 @@ gcalc_sources = files([
'gcalc-multiply.vala',
'gcalc-parameter.vala',
'gcalc-parser.vala',
+ 'gcalc-plus.vala',
'gcalc-polynomial.vala',
'gcalc-pow.vala',
'gcalc-result.vala',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]