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




commit 78868f03ec7854aeb94d47cf39f78f17cacee098
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]