Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/boards/shapegame.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c27b8af..f98be4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
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-01-31 Bruno coudoin <bruno.coudoin@free.fr>
+
+ Vitali Perchonok is com gmail from vitali.pe
Added RTL support.
* src/boards/reading.c: (start_board), (reading_next_level),
diff --git a/src/boards/shapegame.c b/src/boards/shapegame.c
index 8e41a99..f25a679 100644
--- a/src/boards/shapegame.c
+++ b/src/boards/shapegame.c
@@ -434,6 +434,7 @@ static void shapegame_next_level()
char *filename;
gamewon = FALSE;
+ gc_drag_stop(gnome_canvas_root(gcomprisBoard->canvas));
shapegame_destroy_all_items();
next_shapelist_item = previous_shapelist_item = NULL;
@@ -456,6 +457,8 @@ static void shapegame_next_level()
read_xml_file(filename);
+
+ gc_drag_start(gnome_canvas_root(gcomprisBoard->canvas), (gc_Drag_Func) item_event_drag, drag_mode);
g_free(filename);
}