[gnome-chess/arnaudb/wip/gtk4: 16/21] Tmp Replace icon_size_lookup().
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 16/21] Tmp Replace icon_size_lookup().
- Date: Wed, 8 Apr 2020 18:07:17 +0000 (UTC)
commit 5a894df8719587cc52b95ecdd88fdc7297d44a3e
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 9404383..709ecad 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -370,9 +370,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]