summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_table.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-11-07 11:16:01 +0000
committerTom Hacohen <tom@stosb.com>2013-11-07 11:17:52 +0000
commitc7addf40839c85cf2568f322a34220e8082d26f0 (patch)
tree95d5255483016c941fdbdd8b1028c04d6b4712a5 /src/lib/evas/canvas/evas_object_table.c
parent1b9d5f9a3e827ef74225be781824c6a76484a014 (diff)
Changed Eo class names to be consistent.
All the class names are now of the format: Lib_Type_Subtype_Extra.
Diffstat (limited to 'src/lib/evas/canvas/evas_object_table.c')
-rw-r--r--src/lib/evas/canvas/evas_object_table.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c
index efe3240..2377669 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -8,7 +8,8 @@ EAPI Eo_Op EVAS_OBJ_TABLE_BASE_ID = EO_NOOP;
8 8
9#define MY_CLASS EVAS_OBJ_TABLE_CLASS 9#define MY_CLASS EVAS_OBJ_TABLE_CLASS
10 10
11#define MY_CLASS_NAME "Evas_Object_Table" 11#define MY_CLASS_NAME "Evas_Table"
12#define MY_CLASS_NAME_LEGACY "Evas_Object_Table"
12 13
13typedef struct _Evas_Object_Table_Data Evas_Object_Table_Data; 14typedef struct _Evas_Object_Table_Data Evas_Object_Table_Data;
14typedef struct _Evas_Object_Table_Option Evas_Object_Table_Option; 15typedef struct _Evas_Object_Table_Option Evas_Object_Table_Option;
@@ -964,7 +965,7 @@ static void
964_constructor(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED) 965_constructor(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED)
965{ 966{
966 eo_do_super(obj, MY_CLASS, eo_constructor()); 967 eo_do_super(obj, MY_CLASS, eo_constructor());
967 eo_do(obj, evas_obj_type_set(MY_CLASS_NAME)); 968 eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY));
968} 969}
969 970
970EAPI Evas_Object * 971EAPI Evas_Object *
@@ -1593,7 +1594,7 @@ _class_constructor(Eo_Class *klass)
1593 }; 1594 };
1594 eo_class_funcs_set(klass, func_desc); 1595 eo_class_funcs_set(klass, func_desc);
1595 1596
1596 evas_smart_legacy_type_register(MY_CLASS_NAME, klass); 1597 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
1597} 1598}
1598static const Eo_Op_Description op_desc[] = { 1599static const Eo_Op_Description op_desc[] = {
1599 EO_OP_DESCRIPTION(EVAS_OBJ_TABLE_SUB_ID_ADD_TO, "Create a table that is child of a given element parent."), 1600 EO_OP_DESCRIPTION(EVAS_OBJ_TABLE_SUB_ID_ADD_TO, "Create a table that is child of a given element parent."),
@@ -1617,7 +1618,7 @@ static const Eo_Op_Description op_desc[] = {
1617}; 1618};
1618static const Eo_Class_Description class_desc = { 1619static const Eo_Class_Description class_desc = {
1619 EO_VERSION, 1620 EO_VERSION,
1620 "Evas_Object_Table", 1621 MY_CLASS_NAME,
1621 EO_CLASS_TYPE_REGULAR, 1622 EO_CLASS_TYPE_REGULAR,
1622 EO_CLASS_DESCRIPTION_OPS(&EVAS_OBJ_TABLE_BASE_ID, op_desc, EVAS_OBJ_TABLE_SUB_ID_LAST), 1623 EO_CLASS_DESCRIPTION_OPS(&EVAS_OBJ_TABLE_BASE_ID, op_desc, EVAS_OBJ_TABLE_SUB_ID_LAST),
1623 NULL, 1624 NULL,