gcompris r3710 - in trunk: . src/boards
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3710 - in trunk: . src/boards
- Date: Fri, 30 Jan 2009 23:41:14 +0000 (UTC)
Author: bcoudoin
Date: Fri Jan 30 23:41:14 2009
New Revision: 3710
URL: http://svn.gnome.org/viewvc/gcompris?rev=3710&view=rev
Log:
Fixed crash bug when changing level while dragging an item (2 click drag mode)
Modified:
trunk/ChangeLog
trunk/src/boards/shapegame.c
Modified: trunk/src/boards/shapegame.c
==============================================================================
--- trunk/src/boards/shapegame.c (original)
+++ trunk/src/boards/shapegame.c Fri Jan 30 23:41:14 2009
@@ -434,6 +434,7 @@
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 @@
read_xml_file(filename);
+
+ gc_drag_start(gnome_canvas_root(gcomprisBoard->canvas), (gc_Drag_Func) item_event_drag, drag_mode);
g_free(filename);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]