[gnome-weather/wip/ewlsh/gtk4] Formatting.



commit 1bde6b628dc88ceea3a85a2637de48c6a71d66ae
Author: Evan Welsh <contact evanwelsh com>
Date:   Mon Dec 28 01:00:12 2020 -0600

    Formatting.

 data/day-entry.ui         | 2 +-
 data/places-popover.ui    | 2 +-
 data/weather-widget.ui    | 4 ++--
 src/app/hourlyForecast.js | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/day-entry.ui b/data/day-entry.ui
index 3e7766c..e1ab7cf 100644
--- a/data/day-entry.ui
+++ b/data/day-entry.ui
@@ -32,7 +32,7 @@
           </object>
         </child>
         <child>
-          <object class="GtkLabel">  
+          <object class="GtkLabel">
             <property name="halign">end</property>
             <property name="label" translatable="yes">Afternoon</property>
             <layout>
diff --git a/data/places-popover.ui b/data/places-popover.ui
index 2dfc286..9a2d3ab 100644
--- a/data/places-popover.ui
+++ b/data/places-popover.ui
@@ -126,7 +126,7 @@
                 </child>
           </object>
         </child>
-        <child>     
+        <child>
           <object class="GtkGrid" id="locations-grid">
                 <property name="name">locations-grid</property>
                 <property name="orientation">vertical</property>
diff --git a/data/weather-widget.ui b/data/weather-widget.ui
index 58daf09..69a79ff 100644
--- a/data/weather-widget.ui
+++ b/data/weather-widget.ui
@@ -132,14 +132,14 @@
                   </object>
                 </child>
                 <child>
-                  <object class="GtkBox" id="temperatureBox">   
+                  <object class="GtkBox" id="temperatureBox">
                     <property name="halign">start</property>
                     <property name="valign">start</property>
                     <property name="spacing">8</property>
                     <property name="baseline_position">bottom</property>
                     <child>
                       <object class="GtkLabel" id="temperatureLabel">
-                        <property name="name">temperature-label</property>                   
+                        <property name="name">temperature-label</property>
                         <property name="halign">start</property>
                         <property name="valign">baseline</property>
                       </object>
diff --git a/src/app/hourlyForecast.js b/src/app/hourlyForecast.js
index abcb079..ed761ba 100644
--- a/src/app/hourlyForecast.js
+++ b/src/app/hourlyForecast.js
@@ -140,7 +140,7 @@ var HourlyForecastFrame = GObject.registerClass(class ForecastFrame extends Gtk.
         const allocation = this.get_allocation();
         
         const rect = new Graphene.Rect();
-        rect.init(0,0,allocation.width, allocation.height);
+        rect.init(0, 0, allocation.width, allocation.height);
         
         let cr = snapshot.append_cairo(rect);
         const temps = this._hourlyInfo.map(info => Math.round(Util.getTemp(info)));


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