[gnome-clocks] Fix typo in variable name.
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Fix typo in variable name.
- Date: Sat, 22 Apr 2017 19:20:32 +0000 (UTC)
commit 5ac422a10ec074a9b14b9eaa8fbf19731a763a9e
Author: Gordon P. Hemsley <me gphemsley org>
Date: Sat Apr 15 21:15:14 2017 -0400
Fix typo in variable name.
https://bugzilla.gnome.org/show_bug.cgi?id=739021
src/world.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/world.vala b/src/world.vala
index 90be49b..54f7300 100644
--- a/src/world.vala
+++ b/src/world.vala
@@ -37,8 +37,8 @@ public class Item : Object, ContentItem {
get {
// We store it in a _name member even if we overwrite it every time
// since the abstract name property does not return an owned string
- if (contry_name != null) {
- _name = "%s, %s".printf (city_name, contry_name);
+ if (country_name != null) {
+ _name = "%s, %s".printf (city_name, country_name);
} else {
_name = city_name;
}
@@ -56,7 +56,7 @@ public class Item : Object, ContentItem {
}
}
- public string? contry_name {
+ public string? country_name {
owned get {
return location.get_country_name ();
}
@@ -462,7 +462,7 @@ public class Face : Gtk.Stack, Clocks.Clock {
break;
case HeaderBar.Mode.STANDALONE:
header_bar.title = standalone_location.city_name;
- header_bar.subtitle = standalone_location.contry_name;
+ header_bar.subtitle = standalone_location.country_name;
back_button.show ();
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]