Commit fdfc7436 authored by Bruno Coudoin's avatar Bruno Coudoin Committed by Bruno Coudoin

Fixed crash bug when changing level while dragging an item (2 click drag mode)

svn path=/trunk/; revision=3710
parent fdec4175
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.
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment