summaryrefslogtreecommitdiff
path: root/legacy/evas/src/lib
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2012-10-22 05:02:53 +0000
committerChunEon Park <hermet@hermet.pe.kr>2012-10-22 05:02:53 +0000
commit533cb57962eb389f1c203bd1ec996cb016efdba5 (patch)
treedfa66fb2dc63b02990c0d40e677052ae18728ba5 /legacy/evas/src/lib
parent916f9ce50c5dd98063811a0c6bdd4c478415ce2e (diff)
evas/events - use Eina_Bool
SVN revision: 78314
Diffstat (limited to 'legacy/evas/src/lib')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_main.c9
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_text.c4
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_textgrid.c4
3 files changed, 12 insertions, 5 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_main.c b/legacy/evas/src/lib/canvas/evas_object_main.c
index b7d9e88..8666760 100644
--- a/legacy/evas/src/lib/canvas/evas_object_main.c
+++ b/legacy/evas/src/lib/canvas/evas_object_main.c
@@ -696,7 +696,9 @@ _position_set(Eo *eo_obj, void *_pd, va_list *list)
696 Evas_Coord y = va_arg(*list, Evas_Coord); 696 Evas_Coord y = va_arg(*list, Evas_Coord);
697 697
698 Evas_Public_Data *evas; 698 Evas_Public_Data *evas;
699 int is, was = 0, pass = 0, freeze = 0, source_invisible = 0; 699 Eina_Bool is, was = EINA_FALSE;
700 Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
701 Eina_Bool source_invisible = EINA_FALSE;
700 int nx = 0, ny = 0; 702 int nx = 0, ny = 0;
701 703
702 if (obj->delete_me) return; 704 if (obj->delete_me) return;
@@ -790,8 +792,9 @@ _size_set(Eo *eo_obj, void *_pd, va_list *list)
790 792
791 Evas_Coord w = va_arg(*list, Evas_Coord); 793 Evas_Coord w = va_arg(*list, Evas_Coord);
792 Evas_Coord h = va_arg(*list, Evas_Coord); 794 Evas_Coord h = va_arg(*list, Evas_Coord);
793 795 Eina_Bool is, was = EINA_FALSE;
794 int is, was = 0, pass = 0, freeze = 0, source_invisible = 0; 796 Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
797 Eina_Bool source_invisible = EINA_FALSE;
795 798
796 if (obj->delete_me) return; 799 if (obj->delete_me) return;
797 if (w < 0) w = 0; if (h < 0) h = 0; 800 if (w < 0) w = 0; if (h < 0) h = 0;
diff --git a/legacy/evas/src/lib/canvas/evas_object_text.c b/legacy/evas/src/lib/canvas/evas_object_text.c
index bb1ed2e..b7b1013 100644
--- a/legacy/evas/src/lib/canvas/evas_object_text.c
+++ b/legacy/evas/src/lib/canvas/evas_object_text.c
@@ -346,7 +346,9 @@ static void
346_text_font_set(Eo *eo_obj, void *_pd, va_list *list) 346_text_font_set(Eo *eo_obj, void *_pd, va_list *list)
347{ 347{
348 Evas_Object_Text *o = _pd; 348 Evas_Object_Text *o = _pd;
349 int is, was = 0, pass = 0, freeze = 0, source_invisible = 0; 349 Eina_Bool is, was = EINA_FALSE;
350 Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
351 Eina_Bool source_invisible = EINA_FALSE;
350 Evas_Font_Description *fdesc; 352 Evas_Font_Description *fdesc;
351 353
352 const char *font = va_arg(*list, const char*); 354 const char *font = va_arg(*list, const char*);
diff --git a/legacy/evas/src/lib/canvas/evas_object_textgrid.c b/legacy/evas/src/lib/canvas/evas_object_textgrid.c
index 3d26d75..1c72bfa 100644
--- a/legacy/evas/src/lib/canvas/evas_object_textgrid.c
+++ b/legacy/evas/src/lib/canvas/evas_object_textgrid.c
@@ -1078,7 +1078,9 @@ _font_set(Eo *eo_obj, void *_pd, va_list *list)
1078 Evas_Object_Protected_Data *obj = eo_data_get(eo_obj, EVAS_OBJ_CLASS); 1078 Evas_Object_Protected_Data *obj = eo_data_get(eo_obj, EVAS_OBJ_CLASS);
1079 const char *font_name = va_arg(*list, const char *); 1079 const char *font_name = va_arg(*list, const char *);
1080 Evas_Font_Size font_size = va_arg(*list, Evas_Font_Size); 1080 Evas_Font_Size font_size = va_arg(*list, Evas_Font_Size);
1081 int is, was = 0, pass = 0, freeze = 0, source_invisible = 0; 1081 Eina_Bool is, was = EINA_FALSE;
1082 Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
1083 Eina_Bool source_invisible = EINA_FALSE;
1082 Evas_Font_Description *font_description; 1084 Evas_Font_Description *font_description;
1083 1085
1084 if ((!font_name) || (!*font_name) || (font_size <= 0)) 1086 if ((!font_name) || (!*font_name) || (font_size <= 0))