[gcompris/gcomprixogoo] Fixed crash bug when changing level while dragging an item (2 click drag mode)
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [gcompris/gcomprixogoo] Fixed crash bug when changing level while dragging an item (2 click drag mode)
- Date: Sat, 20 Jun 2009 12:13:54 -0400 (EDT)
commit fdfc74363e3879651632d6f16736a23b9064046a
Author: Bruno Coudoin <bcoudoin src gnome org>
Date: Fri Jan 30 23:41:14 2009 +0000
Fixed crash bug when changing level while dragging an item (2 click drag mode)
svn path=/trunk/; revision=3710
ChangeLog | 14 ++++++++++++++
src/babymatch-activity/shapegame.c | 4 +++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e4abe75..4831c65 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-01-31 Bruno coudoin <bruno coudoin free fr>
+
+ Vitali Perchonok is com gmail from vitali.pe
+ Fixed crash bug when changing level while dragging an item (2 click drag mode)
+
+ * src/boards/shapegame.c: (shapegame_next_level):
+
+2009-06-20 Bruno coudoin <bruno coudoin free fr>
+
+ From trunk
+ Vitali Perchonok is com gmail from vitali.pe
+ Fixed for RTL.
+ * src/boards/wordsgame.c: (wordsgame_create_item):
+
2009-06-20 Bruno coudoin <bruno coudoin free fr>
From trunk.
diff --git a/src/babymatch-activity/shapegame.c b/src/babymatch-activity/shapegame.c
index 08e5611..bc7a4e7 100644
--- a/src/babymatch-activity/shapegame.c
+++ b/src/babymatch-activity/shapegame.c
@@ -429,6 +429,7 @@ static void shapegame_next_level()
char *filename;
gamewon = FALSE;
+ gc_drag_stop(goo_canvas_get_root_item(gcomprisBoard->canvas));
shapegame_destroy_all_items();
next_shapelist_item = previous_shapelist_item = NULL;
@@ -453,7 +454,8 @@ static void shapegame_next_level()
gc_bar_set_level(gcomprisBoard);
read_xml_file(filename);
-
+ gc_drag_start(goo_canvas_get_root_item(gcomprisBoard->canvas),
+ (GcDragFunc) item_event_drag, drag_mode);
g_free(filename);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]