Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_gadcon.c Log Message: Check that we actually have gadcon_layout_data before trying to access it. This fixes bug #196. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_gadcon.c,v retrieving revision 1.79 retrieving revision 1.80 diff -u -3 -r1.79 -r1.80 --- e_gadcon.c 4 Aug 2007 13:12:41 -0000 1.79 +++ e_gadcon.c 10 Sep 2007 20:07:14 -0000 1.80 @@ -3459,7 +3459,8 @@ gcc = l->data; _e_gadcon_client_save(gcc); } -} +} + static void _e_gadcon_client_current_position_sync(E_Gadcon_Client *gcc) { @@ -3468,7 +3469,8 @@ o = gcc->o_frame ? gcc->o_frame : gcc->o_base; bi = evas_object_data_get(o, "e_gadcon_layout_data"); - + if (!bi) return; + gcc->state_info.prev_pos = gcc->config.pos; gcc->state_info.prev_size = gcc->config.size; if (e_gadcon_layout_orientation_get(gcc->gadcon->o_container)) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs