tytest: those functions must return Eina_Bool
This commit is contained in:
parent
7881e66b98
commit
76687b2ea2
|
@ -17,13 +17,13 @@ Evas_Textgrid_Cell *
|
||||||
tytest_textgrid_cellrow_get(Evas_Object *obj, int y);
|
tytest_textgrid_cellrow_get(Evas_Object *obj, int y);
|
||||||
|
|
||||||
#define edje_object_color_class_get tytest_edje_object_color_class_get
|
#define edje_object_color_class_get tytest_edje_object_color_class_get
|
||||||
int
|
Eina_Bool
|
||||||
tytest_edje_object_color_class_get(Evas_Object *termio EINA_UNUSED, const char *key,
|
tytest_edje_object_color_class_get(Evas_Object *termio EINA_UNUSED, const char *key,
|
||||||
int *r, int *g, int *b, int *a,
|
int *r, int *g, int *b, int *a,
|
||||||
int *r1 EINA_UNUSED, int *g1 EINA_UNUSED, int *b1 EINA_UNUSED, int *a1 EINA_UNUSED,
|
int *r1 EINA_UNUSED, int *g1 EINA_UNUSED, int *b1 EINA_UNUSED, int *a1 EINA_UNUSED,
|
||||||
int *r2 EINA_UNUSED, int *g2 EINA_UNUSED, int *b2 EINA_UNUSED, int *a2 EINA_UNUSED);
|
int *r2 EINA_UNUSED, int *g2 EINA_UNUSED, int *b2 EINA_UNUSED, int *a2 EINA_UNUSED);
|
||||||
#define edje_object_color_class_set tytest_edje_object_color_class_set
|
#define edje_object_color_class_set tytest_edje_object_color_class_set
|
||||||
int
|
Eina_Bool
|
||||||
tytest_edje_object_color_class_set(Evas_Object *termio EINA_UNUSED, const char *key,
|
tytest_edje_object_color_class_set(Evas_Object *termio EINA_UNUSED, const char *key,
|
||||||
int r, int g, int b, int a,
|
int r, int g, int b, int a,
|
||||||
int r1 EINA_UNUSED, int g1 EINA_UNUSED, int b1 EINA_UNUSED, int a1 EINA_UNUSED,
|
int r1 EINA_UNUSED, int g1 EINA_UNUSED, int b1 EINA_UNUSED, int a1 EINA_UNUSED,
|
||||||
|
|
|
@ -276,7 +276,7 @@ termio_set_cursor_shape(Evas_Object *obj EINA_UNUSED,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
Eina_Bool
|
||||||
tytest_edje_object_color_class_get(Evas_Object *termio EINA_UNUSED, const char *key,
|
tytest_edje_object_color_class_get(Evas_Object *termio EINA_UNUSED, const char *key,
|
||||||
int *r, int *g, int *b, int *a,
|
int *r, int *g, int *b, int *a,
|
||||||
int *r1 EINA_UNUSED, int *g1 EINA_UNUSED, int *b1 EINA_UNUSED, int *a1 EINA_UNUSED,
|
int *r1 EINA_UNUSED, int *g1 EINA_UNUSED, int *b1 EINA_UNUSED, int *a1 EINA_UNUSED,
|
||||||
|
@ -292,7 +292,7 @@ tytest_edje_object_color_class_get(Evas_Object *termio EINA_UNUSED, const char *
|
||||||
*b = _bg.b;
|
*b = _bg.b;
|
||||||
if (a)
|
if (a)
|
||||||
*a = _bg.a;
|
*a = _bg.a;
|
||||||
return 0;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
if (strncmp(key, "CURSOR", strlen("CURSOR")) == 0)
|
if (strncmp(key, "CURSOR", strlen("CURSOR")) == 0)
|
||||||
{
|
{
|
||||||
|
@ -304,12 +304,12 @@ tytest_edje_object_color_class_get(Evas_Object *termio EINA_UNUSED, const char *
|
||||||
*b = _cursor.b;
|
*b = _cursor.b;
|
||||||
if (a)
|
if (a)
|
||||||
*a = _cursor.a;
|
*a = _cursor.a;
|
||||||
return 0;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
return -1;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
Eina_Bool
|
||||||
tytest_edje_object_color_class_set(Evas_Object *termio EINA_UNUSED, const char *key,
|
tytest_edje_object_color_class_set(Evas_Object *termio EINA_UNUSED, const char *key,
|
||||||
int r, int g, int b, int a,
|
int r, int g, int b, int a,
|
||||||
int r1 EINA_UNUSED, int g1 EINA_UNUSED, int b1 EINA_UNUSED, int a1 EINA_UNUSED,
|
int r1 EINA_UNUSED, int g1 EINA_UNUSED, int b1 EINA_UNUSED, int a1 EINA_UNUSED,
|
||||||
|
@ -321,7 +321,7 @@ tytest_edje_object_color_class_set(Evas_Object *termio EINA_UNUSED, const char *
|
||||||
_bg.g = g;
|
_bg.g = g;
|
||||||
_bg.b = b;
|
_bg.b = b;
|
||||||
_bg.a = a;
|
_bg.a = a;
|
||||||
return 0;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
if (strncmp(key, "CURSOR", strlen("CURSOR")) == 0)
|
if (strncmp(key, "CURSOR", strlen("CURSOR")) == 0)
|
||||||
{
|
{
|
||||||
|
@ -329,9 +329,9 @@ tytest_edje_object_color_class_set(Evas_Object *termio EINA_UNUSED, const char *
|
||||||
_cursor.g = g;
|
_cursor.g = g;
|
||||||
_cursor.b = b;
|
_cursor.b = b;
|
||||||
_cursor.a = a;
|
_cursor.a = a;
|
||||||
return 0;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
return -1;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue