Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:
Make sure a deleted message is sent.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- e_apps.c    19 Apr 2005 09:05:09 -0000      1.30
+++ e_apps.c    19 Apr 2005 09:05:53 -0000      1.31
@@ -857,23 +857,15 @@
            }
        if (a2)
          {
-            if (a2->deleted)
-              {
-                 /* Just unref it, so it will be deleted */
-                 e_object_unref(E_OBJECT(a2));
-              }
-            else
-              {
-                 a2->deleted = 1;
-                 ch = calloc(1, sizeof(E_App_Change_Info));
-                 ch->app = a2;
-                 ch->change = E_APP_DEL;
-                 /* We don't need to ref this,
-                  * it has an extra ref
-                  e_object_ref(E_OBJECT(ch->app));
-                  */
-                 changes = evas_list_append(changes, ch);
-              }
+            a2->deleted = 1;
+            ch = calloc(1, sizeof(E_App_Change_Info));
+            ch->app = a2;
+            ch->change = E_APP_DEL;
+            /* We don't need to ref this,
+             * it has an extra ref
+             e_object_ref(E_OBJECT(ch->app));
+             */
+            changes = evas_list_append(changes, ch);
          }
      }
    /* FIXME: We only need to tell about order changes if there are! */




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to