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




commit a337e31106fb01dd5d7d518ba2ee2c94b8dd9117
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 ee9035e..7fd12dd 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -369,9 +369,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]