[gnome-chess/arnaudb/wip/gtk4: 36/51] Adapt to Label API.




commit 77e672c36d348bd1d2ebe67d77affa5419b90ca2
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 7 10:17:40 2020 +0200

    Adapt to Label API.

 src/gnome-chess.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 78bb503..52cec23 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -134,7 +134,7 @@ Copyright © 2015–2016 Sahil Sareen""";
     private void display_no_engine_info_bar ()
     {
         var label = new Label (_("No chess engine is installed. You will not be able to play against the 
computer."));
-        label.set_line_wrap (true);
+        label.set_wrap (true);
         label.show ();
 
         info_bar.get_content_area ().add (label);


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