evas: rename 'delete' parameter in evas_object_table_clear to 'clear'.
authormickeyl <mickeyl@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 1 Nov 2008 20:55:22 +0000 (20:55 +0000)
committermickeyl <mickeyl@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 1 Nov 2008 20:55:22 +0000 (20:55 +0000)
delete is a reserved keyword in C++.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@37383 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Evas.h
src/lib/canvas/evas_object_table.c

index 2af0d7e..15dd255 100644 (file)
@@ -1063,7 +1063,7 @@ extern "C" {
 
    EAPI Evas_Bool    evas_object_table_pack(Evas_Object *o, Evas_Object *child, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan);
    EAPI Evas_Bool    evas_object_table_unpack(Evas_Object *o, Evas_Object *child);
-   EAPI void         evas_object_table_clear(Evas_Object *o, Evas_Bool delete);
+   EAPI void         evas_object_table_clear(Evas_Object *o, Evas_Bool clear);
 
    EAPI void         evas_object_table_col_row_size_get(const Evas_Object *o, int *cols, int *rows);
 
index 88fea7c..e4bab8d 100644 (file)
@@ -1185,10 +1185,10 @@ evas_object_table_unpack(Evas_Object *o, Evas_Object *child)
 /**
  * Faster way to remove all child objects.
  *
- * @param delete if true, it will delete just removed children.
+ * @param clear if true, it will delete just removed children.
  */
 void
-evas_object_table_clear(Evas_Object *o, Evas_Bool delete)
+evas_object_table_clear(Evas_Object *o, Evas_Bool clear)
 {
    EVAS_OBJECT_TABLE_DATA_GET_OR_RETURN(o, priv);
    Eina_List *l;
@@ -1200,7 +1200,7 @@ evas_object_table_clear(Evas_Object *o, Evas_Bool delete)
        _evas_object_table_child_disconnect(o, opt->obj);
        _evas_object_table_option_del(opt->obj);
        evas_object_smart_member_del(opt->obj);
-       if (delete)
+       if (clear)
          evas_object_del(opt->obj);
        free(opt);
        l = eina_list_remove_list(l, l);