The former test was giving false positives.
authorglima <glima@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Feb 2010 14:00:31 +0000 (14:00 +0000)
committerglima <glima@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Feb 2010 14:00:31 +0000 (14:00 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@46113 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_edit.c

index d1c8fe4..6ed74c3 100644 (file)
@@ -768,8 +768,10 @@ edje_edit_group_del(Evas_Object *obj, const char *group_name)
 
    GET_ED_OR_RETURN(EINA_FALSE);
 
-   if (eina_hash_find(ed->file->collection_hash, group_name))
-     return EINA_FALSE;
+   /* if (eina_hash_find(ed->file->collection_hash, group_name)) */
+   /*   return EINA_FALSE; */
+
+   if (strcmp(ed->group, group_name) == 0) return EINA_FALSE;
 
    EINA_LIST_FOREACH(ed->file->collection_dir->entries, l, e)
      {