[gnome-games] aisleriot: Consume button press events
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games] aisleriot: Consume button press events
- Date: Thu, 26 Nov 2009 19:49:21 +0000 (UTC)
commit a82b83913010c5854df7cf1d2cc3e6d0b857a9dc
Author: Christian Persch <chpe gnome org>
Date: Thu Nov 26 16:54:10 2009 +0100
aisleriot: Consume button press events
If we handled the event in any way, consume the event.
aisleriot/board-noclutter.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/aisleriot/board-noclutter.c b/aisleriot/board-noclutter.c
index 0662078..3c2f586 100644
--- a/aisleriot/board-noclutter.c
+++ b/aisleriot/board-noclutter.c
@@ -2745,7 +2745,7 @@ aisleriot_board_button_press (GtkWidget *widget,
/* If we already have a click, ignore this new one */
if (priv->click_status != STATUS_NONE) {
- return FALSE;
+ return TRUE;
}
/* If the game hasn't started yet, start it now */
@@ -2891,7 +2891,7 @@ set_selection:
reveal_card (board, hslot, cardid);
}
- return FALSE;
+ return TRUE;
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]