Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : proto

Dir     : e17/proto/entropy/src/dialogs


Modified Files:
        etk_location_add_dialog.c 


Log Message:
* Yay! widget_destroy for windows no longer causes a crash

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/proto/entropy/src/dialogs/etk_location_add_dialog.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- etk_location_add_dialog.c   26 Feb 2006 02:33:25 -0000      1.5
+++ etk_location_add_dialog.c   1 Mar 2006 09:34:48 -0000       1.6
@@ -32,8 +32,7 @@
 void _entropy_etk_location_cancel_cb(Etk_Object *object, void *data) {
        entropy_etk_location_add_dialog* dialog = data;
        
-       etk_widget_hide(ETK_WIDGET(dialog->window));
-       //etk_object_destroy(ETK_OBJECT(dialog->window));
+       etk_object_destroy(ETK_OBJECT(dialog->window));
 }
 
 void _entropy_etk_location_radio_cb(Etk_Object *object, void *data)
@@ -124,7 +123,7 @@
                entropy_config_standard_structures_add (dialog->instance, 
(char*)name, buffer);
                (*dialog->add_callback)(dialog->instance, (char*)name, buffer);
 
-               etk_widget_hide(ETK_WIDGET(dialog->window));
+               etk_widget_destroy(ETK_WIDGET(dialog->window));
        }
 }
 




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to