Enlightenment CVS committal

Author  : davemds
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/gadman


Modified Files:
        e_mod_gadman.c 


Log Message:
Fix a segv If there are no gadget on the desk and you press  'ok' or 'apply' in 
the gadman config.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/gadman/e_mod_gadman.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_mod_gadman.c      24 Jun 2008 21:34:20 -0000      1.8
+++ e_mod_gadman.c      3 Aug 2008 19:29:04 -0000       1.9
@@ -268,7 +268,7 @@
    Man->gc->editing = 0;
    Man->gc_top->editing = 0;
 
-   _save_widget_position(current);
+   if (current) _save_widget_position(current);
 }
 
 void



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to