summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael BOUCHAUD <michael.bouchaud@gmail.com>2012-06-29 14:28:13 +0000
committerMichael BOUCHAUD <michael.bouchaud@gmail.com>2012-06-29 14:28:13 +0000
commitcfe72dc5bc3f4a2537da2e9b04f87254f23bbec3 (patch)
tree5dd0346e4d9db960cc53ea2f82d0f4608cfb4784
parent957c18566a04c395f3cde89c43e9f0e8c6660487 (diff)
ekbd: warn --
SVN revision: 73039
-rw-r--r--src/lib/Ekbd.h.in2
-rw-r--r--src/lib/ekbd_layout.h3
-rw-r--r--src/lib/ekbd_smart.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/Ekbd.h.in b/src/lib/Ekbd.h.in
index 1b66ac5..9295496 100644
--- a/src/lib/Ekbd.h.in
+++ b/src/lib/Ekbd.h.in
@@ -52,6 +52,8 @@ typedef struct _Ekbd_Layout Ekbd_Layout;
52EAPI int ekbd_init(void); 52EAPI int ekbd_init(void);
53EAPI int ekbd_shutdown(void); 53EAPI int ekbd_shutdown(void);
54EAPI Evas_Object * ekbd_object_add(Evas *evas); 54EAPI Evas_Object * ekbd_object_add(Evas *evas);
55EAPI void ekbd_object_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed);
56EAPI Eina_Bool ekbd_object_aspect_fixed_get(const Evas_Object *obj);
55EAPI void ekbd_object_layout_add(Evas_Object *obj, const char *path); 57EAPI void ekbd_object_layout_add(Evas_Object *obj, const char *path);
56EAPI void ekbd_object_layout_clear(Evas_Object *obj); 58EAPI void ekbd_object_layout_clear(Evas_Object *obj);
57EAPI void ekbd_object_layout_select(Evas_Object *obj, Ekbd_Layout *layout); 59EAPI void ekbd_object_layout_select(Evas_Object *obj, Ekbd_Layout *layout);
diff --git a/src/lib/ekbd_layout.h b/src/lib/ekbd_layout.h
index 0bc5cb0..01f75c8 100644
--- a/src/lib/ekbd_layout.h
+++ b/src/lib/ekbd_layout.h
@@ -9,4 +9,7 @@ void ekbd_layout_select(Smart_Data *sd, Ekbd_Layout *kil);
9Evas_Object *ekbd_layout_theme_obj_new(Evas *e, const char *custom_file, const char *group); 9Evas_Object *ekbd_layout_theme_obj_new(Evas *e, const char *custom_file, const char *group);
10void ekbd_layout_keys_calc(Smart_Data *sd); 10void ekbd_layout_keys_calc(Smart_Data *sd);
11Ekbd_Layout *ekbd_layout_add(Smart_Data *sdc, const char *path); 11Ekbd_Layout *ekbd_layout_add(Smart_Data *sdc, const char *path);
12void ekbd_layout_aspect_fixed_set(Smart_Data *sd, Eina_Bool fixed);
13Eina_Bool ekbd_layout_aspect_fixed_get(const Smart_Data *sd);
14
12#endif /* EVKB_LAYOUT_H */ 15#endif /* EVKB_LAYOUT_H */
diff --git a/src/lib/ekbd_smart.c b/src/lib/ekbd_smart.c
index 054d523..43ce6be 100644
--- a/src/lib/ekbd_smart.c
+++ b/src/lib/ekbd_smart.c
@@ -59,7 +59,7 @@ EAPI Eina_Bool
59ekbd_object_aspect_fixed_get(const Evas_Object *obj) 59ekbd_object_aspect_fixed_get(const Evas_Object *obj)
60{ 60{
61 Smart_Data *sd = evas_object_smart_data_get(obj); 61 Smart_Data *sd = evas_object_smart_data_get(obj);
62 if (!sd) return; 62 if (!sd) return EINA_FALSE;
63 return ekbd_layout_aspect_fixed_get(sd); 63 return ekbd_layout_aspect_fixed_get(sd);
64} 64}
65 65