[gnome-mahjongg/arnaudb/wip/gtk4: 18/23] Adapt set_alignment.



commit bbf56c76639da0a52db3246793ead4f1f0f5784f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Mar 27 19:54:48 2020 +0100

    Adapt set_alignment.

 src/gnome-mahjongg.vala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index bd87aa0..87598c5 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -440,7 +440,7 @@ public class Mahjongg : Gtk.Application
         grid.set_column_spacing (18);
 
         var label = new Gtk.Label.with_mnemonic (_("_Theme:"));
-        label.set_alignment (0, 0.5f);
+        label.halign = Gtk.Align.START;
         grid.attach (label, 0, 0, 1, 1);
 
         var themes = load_themes ();
@@ -468,7 +468,7 @@ public class Mahjongg : Gtk.Application
         label.set_mnemonic_widget (theme_combo);
 
         label = new Gtk.Label.with_mnemonic (_("_Layout:"));
-        label.set_alignment (0, 0.5f);
+        label.halign = Gtk.Align.START;
         grid.attach (label, 0, 1, 1, 1);
 
         var map_combo = new Gtk.ComboBox ();
@@ -494,7 +494,7 @@ public class Mahjongg : Gtk.Application
         label.set_mnemonic_widget (map_combo);
 
         label = new Gtk.Label.with_mnemonic (_("_Background color:"));
-        label.set_alignment (0, 0.5f);
+        label.halign = Gtk.Align.START;
         grid.attach (label, 0, 2, 1, 1);
 
         var widget = new Gtk.ColorButton ();


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