[gnome-chess/arnaudb/wip/gtk4: 46/54] Tmp Replace icon_size_lookup().




commit dec6c65b1036b0437dedb1dc3b400d82f2834ffd
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 7 10:44:00 2020 +0200

    Tmp Replace icon_size_lookup().

 src/gnome-chess.vala | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index c84c528..adfdde5 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -371,9 +371,11 @@ Copyright © 2015–2016 Sahil Sareen""";
 
     private void set_piece_image (Image image, string filename)
     {
-        int width, height;
-        if (!icon_size_lookup (IconSize.DIALOG, out width, out height))
-            return;
+//        int width, height;
+//        if (!icon_size_lookup (IconSize.DIALOG, out width, out height))
+//            return;
+        int width = 100;
+        int height = 100;
 
         try
         {


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