Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir     : e17/proto/etk/src/lib


Modified Files:
        etk_button.c 


Log Message:
this was destroying the image, lok's test app caught it.

===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_button.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- etk_button.c        15 Aug 2006 20:56:19 -0000      1.25
+++ etk_button.c        16 Aug 2006 22:04:29 -0000      1.26
@@ -324,7 +324,10 @@
    if (button->box)
    {  
       if (button->image)
+      {
+        etk_signal_disconnect("child_removed", ETK_OBJECT(button->box), 
ETK_CALLBACK(_etk_button_image_removed_cb));
         etk_container_remove(ETK_CONTAINER(button->box), 
ETK_WIDGET(button->image));
+      }
       if (button->label)
         etk_container_remove(ETK_CONTAINER(button->box), 
ETK_WIDGET(button->label));
       etk_object_destroy(ETK_OBJECT(button->box));



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to