remove commented code now.
authorraster <raster>
Sat, 19 Nov 2011 05:02:00 +0000 (05:02 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 19 Nov 2011 05:02:00 +0000 (05:02 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@65404 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_message_queue.c

index 2a761d9..3ba4fd5 100644 (file)
@@ -27,34 +27,6 @@ edje_object_message_send(Evas_Object *obj, Edje_Message_Type type, int id, void
      {
         edje_object_message_send(o, type, id, msg);
      }
-/* old manual part walking code to send messages to children - should all
- * be in subobjs if we care
-   unsigned int i;
-
-   for (i = 0; i < ed->table_parts_size; i++)
-     {
-       Edje_Real_Part *rp = ed->table_parts[i];
-        
-       if ((rp->part->type == EDJE_PART_TYPE_GROUP) && (rp->swallowed_object))
-          {
-             Edje *edj2 = _edje_fetch(rp->swallowed_object);
-             if (!edj2) continue;
-             edje_object_message_send(rp->swallowed_object, type, id, msg);
-          }
-        else if (((rp->part->type == EDJE_PART_TYPE_BOX) ||
-                  (rp->part->type == EDJE_PART_TYPE_TABLE)) && (rp->items))
-          {
-             Eina_List *itr;
-             Evas_Object *o;
-             EINA_LIST_FOREACH(rp->items, itr, o)
-               {
-                  Edje *edj2 = _edje_fetch(o);
-                  if (!edj2) continue;
-                  edje_object_message_send(o, type, id, msg);
-               }
-          }
-     }
- */
 }
 
 
@@ -227,33 +199,6 @@ _edje_message_cb_set(Edje *ed, void (*func) (void *data, Evas_Object *obj, Edje_
         if (!edj2) continue;
         _edje_message_cb_set(edj2, func, data);
      }
-/* old manual part walking code to send messages to children - should all
- * be in subobjs if we care
-   unsigned int i;
-   
-   for (i = 0; i < ed->table_parts_size; i++)
-     {
-        Edje_Real_Part *rp = ed->table_parts[i];
-        if ((rp->part->type == EDJE_PART_TYPE_GROUP) && (rp->swallowed_object))
-          {
-             Edje *edj2 = _edje_fetch(rp->swallowed_object);
-             if (!edj2) continue;
-             _edje_message_cb_set(edj2, func, data);
-          }
-        else if (((rp->part->type == EDJE_PART_TYPE_BOX) ||
-                  (rp->part->type == EDJE_PART_TYPE_TABLE)) && (rp->items))
-          {
-             Eina_List *itr;
-             Evas_Object *obj;
-             EINA_LIST_FOREACH(rp->items, itr, obj)
-               {
-                  Edje *edj2 = _edje_fetch(obj);
-                  if (!edj2) continue;
-                  _edje_message_cb_set(edj2, func, data);
-               }
-          }
-     }
- */
 }
 
 Edje_Message *