[gnome-chess/arnaudb/wip/gtk4: 12/27] Adapt to Label API.




commit 7dc273f4006c3ed0bed103b8eb6c5e64559902c8
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]