From 0dad07f27d1d21ef0036a7b26e476c75b2fe20ff Mon Sep 17 00:00:00 2001
From: lleyton <lleyton@fyralabs.com>
Date: Sat, 14 Jan 2023 20:51:54 +0000
Subject: [PATCH] why does vala allow this???

---
 lib/Widgets/Banner.vala                   | 2 +-
 lib/Widgets/BottomBar.vala                | 2 +-
 lib/Widgets/ContentBlock.vala             | 2 +-
 lib/Widgets/ContentBlockImage.vala        | 2 +-
 lib/Widgets/ContentBlockImageCluster.vala | 2 +-
 lib/Widgets/ModifierBadge.vala            | 2 +-
 lib/Widgets/OverlayButton.vala            | 2 +-
 lib/Widgets/SettingsPage.vala             | 2 +-
 lib/Widgets/SideBar.vala                  | 2 +-
 lib/Widgets/TabSwitcher.vala              | 2 +-
 lib/Widgets/WelcomeScreen.vala            | 2 +-
 meson.build                               | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/lib/Widgets/Banner.vala b/lib/Widgets/Banner.vala
index 1b6c2aa7..b759186b 100644
--- a/lib/Widgets/Banner.vala
+++ b/lib/Widgets/Banner.vala
@@ -126,9 +126,9 @@ public class He.Banner : He.Bin, Gtk.Buildable {
      * @since 1.0
      */
     public Banner (string title, string description) {
+        base ();
         this.title = title;
         this.description = description;
-        base ();
     }
 
     static construct {
diff --git a/lib/Widgets/BottomBar.vala b/lib/Widgets/BottomBar.vala
index baec3735..33b8469e 100644
--- a/lib/Widgets/BottomBar.vala
+++ b/lib/Widgets/BottomBar.vala
@@ -176,9 +176,9 @@ public class He.BottomBar : He.Bin, Gtk.Buildable {
    * @param description The description of the bottom bar.
    */
   public BottomBar.with_details (string title, string description) {
+    base ();
     this.title = title;
     this.description = description;
-    base ();
   }
 
   /**
diff --git a/lib/Widgets/ContentBlock.vala b/lib/Widgets/ContentBlock.vala
index d57a01df..6a45b809 100644
--- a/lib/Widgets/ContentBlock.vala
+++ b/lib/Widgets/ContentBlock.vala
@@ -139,12 +139,12 @@ public class He.ContentBlock : He.Bin, Gtk.Buildable {
      * @param secondary_button The secondary button of the content block.
      */
     public ContentBlock (string title, string subtitle, string icon, He.Button primary_button, He.Button secondary_button) {
+        base ();
         this.title = title;
         this.subtitle = subtitle;
         this.icon = icon;
         this.primary_button = primary_button;
         this.secondary_button = secondary_button;
-        base ();
     }
 
     /**
diff --git a/lib/Widgets/ContentBlockImage.vala b/lib/Widgets/ContentBlockImage.vala
index 4c082358..b5ee16b2 100644
--- a/lib/Widgets/ContentBlockImage.vala
+++ b/lib/Widgets/ContentBlockImage.vala
@@ -77,7 +77,7 @@ public class He.ContentBlockImage : He.Bin, Gtk.Buildable {
     }
 
     public ContentBlockImage(string file) {
-        this.file = file;
         base ();
+        this.file = file;
     }
 }
diff --git a/lib/Widgets/ContentBlockImageCluster.vala b/lib/Widgets/ContentBlockImageCluster.vala
index 371c1267..cd798f0b 100644
--- a/lib/Widgets/ContentBlockImageCluster.vala
+++ b/lib/Widgets/ContentBlockImageCluster.vala
@@ -119,10 +119,10 @@ public class He.ContentBlockImageCluster : He.Bin {
   }
   
   public ContentBlockImageCluster(string title, string subtitle, string icon) {
+    base ();
     this.title = title;
     this.subtitle = subtitle;
     this.icon = icon;
-    base ();
   }
   
   /**
diff --git a/lib/Widgets/ModifierBadge.vala b/lib/Widgets/ModifierBadge.vala
index 83744ec0..043fd392 100644
--- a/lib/Widgets/ModifierBadge.vala
+++ b/lib/Widgets/ModifierBadge.vala
@@ -89,8 +89,8 @@ public class He.ModifierBadge : He.Bin {
      * @param label The text of the badge.
      */
     public ModifierBadge(string? label) {
-        this.label = label;
         base ();
+        this.label = label;
     }
   
     /** 
diff --git a/lib/Widgets/OverlayButton.vala b/lib/Widgets/OverlayButton.vala
index 76308139..ea29772f 100644
--- a/lib/Widgets/OverlayButton.vala
+++ b/lib/Widgets/OverlayButton.vala
@@ -269,10 +269,10 @@ public class He.OverlayButton : He.Bin, Gtk.Buildable {
      * @since 1.0
      */
     public OverlayButton(string icon, string? label, string? secondary_icon) {
+        base ();
         this.icon = icon;
         if (label != null) this.label = label;
         if (secondary_icon != null) this.secondary_icon = secondary_icon;
-        base ();
     }
 
     static construct {
diff --git a/lib/Widgets/SettingsPage.vala b/lib/Widgets/SettingsPage.vala
index 6b822795..289fbd3f 100644
--- a/lib/Widgets/SettingsPage.vala
+++ b/lib/Widgets/SettingsPage.vala
@@ -53,8 +53,8 @@ public class He.SettingsPage : He.Bin, Gtk.Buildable {
      * @since 1.0
      */
     public SettingsPage (string title) {
-        this.title = title;
         base ();
+        this.title = title;
     }
 
     static construct {
diff --git a/lib/Widgets/SideBar.vala b/lib/Widgets/SideBar.vala
index fe32bb7b..31a0382a 100644
--- a/lib/Widgets/SideBar.vala
+++ b/lib/Widgets/SideBar.vala
@@ -160,9 +160,9 @@ public class He.SideBar : He.Bin, Gtk.Buildable {
     * @param subtitle The subtitle of the SideBar.
     */
     public SideBar(string title, string subtitle) {
+        base ();
         this.title = title;
         this.subtitle = subtitle;
-        base ();
     }
 
     /**
diff --git a/lib/Widgets/TabSwitcher.vala b/lib/Widgets/TabSwitcher.vala
index 18344a3d..c0f3efc6 100644
--- a/lib/Widgets/TabSwitcher.vala
+++ b/lib/Widgets/TabSwitcher.vala
@@ -219,8 +219,8 @@
      * @since 1.0
      */
     public TabSwitcher () {
-        handle_events ();
         base ();
+        handle_events ();
     }
 
     construct {
diff --git a/lib/Widgets/WelcomeScreen.vala b/lib/Widgets/WelcomeScreen.vala
index f6aba922..5165a384 100644
--- a/lib/Widgets/WelcomeScreen.vala
+++ b/lib/Widgets/WelcomeScreen.vala
@@ -73,9 +73,9 @@ public class He.WelcomeScreen : He.Bin {
      * @since 1.0
      */
     public WelcomeScreen (string appname, string description) {
+        base ();
         this.appname = appname;
         this.description = description;
-        base ();
     }
 
     ~WelcomeScreen () {
diff --git a/meson.build b/meson.build
index 32b58c0f..2aba98fb 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
     'vala', 'c',
     license: 'GPL-3-or-later',
     meson_version: '>= 0.56.0',
-    version: '1.2.22',
+    version: '1.2.25',
     default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ],
 )