[gnome-chess/arnaudb/wip/gtk4: 23/31] Tmp Replace icon_size_lookup().
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/arnaudb/wip/gtk4: 23/31] Tmp Replace icon_size_lookup().
- Date: Thu, 23 Apr 2020 10:00:19 +0000 (UTC)
commit 9c4a5b4bcfb84b21761fc03758ef75ec192336b9
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]