[gnome-chess/mcatanzaro/gtk4] Progress
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess/mcatanzaro/gtk4] Progress
- Date: Thu, 24 Dec 2020 03:37:24 +0000 (UTC)
commit 9ed78850181657f07b80f77226e2e585d5893ccd
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Dec 23 21:37:39 2020 -0600
Progress
src/chess-scene.vala | 2 +-
src/gnome-chess.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/chess-scene.vala b/src/chess-scene.vala
index 56264d5..021384c 100644
--- a/src/chess-scene.vala
+++ b/src/chess-scene.vala
@@ -81,7 +81,7 @@ public class ChessScene : Object
public signal void changed ();
public delegate void PromotionTypeCompletionHandler (PieceType? type);
- public signal void choose_promotion_type (PromotionTypeCompletionHandler handler);
+ public signal void choose_promotion_type (owned PromotionTypeCompletionHandler handler);
public int selected_rank = -1;
public int selected_file = -1;
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index fd56220..561121c 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -363,7 +363,7 @@ Copyright © 2015–2016 Sahil Sareen""";
promotion_type_completion_handler = null;
}
- public void show_promotion_type_selector (ChessScene.PromotionTypeCompletionHandler handler)
+ public void show_promotion_type_selector (owned ChessScene.PromotionTypeCompletionHandler handler)
requires (promotion_type_completion_handler == null)
{
if (promotion_type_selector_dialog == null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]