summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-02-22 05:22:35 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-02-22 05:22:35 +0900
commitb4ed4daa178e68a35d5bf2fe04ee94da0d02ab63 (patch)
tree0426ca102ed9e33979510b4f529a8625c756c690
parent9bfa62cc1b7c52c416507bfc5524871afb41df2f (diff)
tooltip: Fixed wrong API names. elm_tooltip -> elm_object_tooltip.
This was added in 1.9, so it should be changed before 1.9 release. Thank god I found this out just right before the release.
-rw-r--r--src/bin/test_tooltip.c6
-rw-r--r--src/lib/elm_tooltip.h12
-rw-r--r--src/lib/els_tooltip.c6
3 files changed, 12 insertions, 12 deletions
diff --git a/src/bin/test_tooltip.c b/src/bin/test_tooltip.c
index 82c046572..5d70380e1 100644
--- a/src/bin/test_tooltip.c
+++ b/src/bin/test_tooltip.c
@@ -204,14 +204,14 @@ _tt_move_freeze(void *data EINA_UNUSED,
204 Evas_Object *obj, 204 Evas_Object *obj,
205 void *event_info EINA_UNUSED) 205 void *event_info EINA_UNUSED)
206{ 206{
207 if (elm_tooltip_move_freeze_get(obj) == 0) 207 if (elm_object_tooltip_move_freeze_get(obj) == 0)
208 { 208 {
209 elm_tooltip_move_freeze_push(obj); 209 elm_object_tooltip_move_freeze_push(obj);
210 elm_object_tooltip_text_set(obj, "Fronzen"); 210 elm_object_tooltip_text_set(obj, "Fronzen");
211 } 211 }
212 else 212 else
213 { 213 {
214 elm_tooltip_move_freeze_pop(obj); 214 elm_object_tooltip_move_freeze_pop(obj);
215 elm_object_tooltip_text_set(obj, "Free"); 215 elm_object_tooltip_text_set(obj, "Free");
216 } 216 }
217} 217}
diff --git a/src/lib/elm_tooltip.h b/src/lib/elm_tooltip.h
index f6ffb2dad..ea9da6a5d 100644
--- a/src/lib/elm_tooltip.h
+++ b/src/lib/elm_tooltip.h
@@ -39,11 +39,11 @@ typedef enum
39 * @param obj The tooltip's anchor object 39 * @param obj The tooltip's anchor object
40 * 40 *
41 * @ingroup Tooltips 41 * @ingroup Tooltips
42 * @see elm_tooltip_move_freeze_pop() 42 * @see elm_object_tooltip_move_freeze_pop()
43 * @see elm_tooltio_move_freeze_get() 43 * @see elm_tooltio_move_freeze_get()
44 * @since 1.9 44 * @since 1.9
45 */ 45 */
46EAPI void elm_tooltip_move_freeze_push(Evas_Object *obj); 46EAPI void elm_object_tooltip_move_freeze_push(Evas_Object *obj);
47 47
48/** 48/**
49 * This decrements the tooltip freeze count by one. 49 * This decrements the tooltip freeze count by one.
@@ -51,10 +51,10 @@ EAPI void elm_tooltip_move_freeze_push(Evas_Object *obj);
51 * @param obj The tooltip's anchor object 51 * @param obj The tooltip's anchor object
52 * 52 *
53 * @ingroup Tooltips 53 * @ingroup Tooltips
54 * @see elm_tooltip_move_freeze_push() 54 * @see elm_object_tooltip_move_freeze_push()
55 * @since 1.9 55 * @since 1.9
56 */ 56 */
57EAPI void elm_tooltip_move_freeze_pop(Evas_Object *obj); 57EAPI void elm_object_tooltip_move_freeze_pop(Evas_Object *obj);
58 58
59/** 59/**
60 * Get the movement freeze by 1 60 * Get the movement freeze by 1
@@ -65,10 +65,10 @@ EAPI void elm_tooltip_move_freeze_pop(Evas_Object *obj);
65 * @return The movement freeze count 65 * @return The movement freeze count
66 * 66 *
67 * @ingroup Tooltips 67 * @ingroup Tooltips
68 * @see elm_tooltip_move_freeze_push() 68 * @see elm_object_tooltip_move_freeze_push()
69 * @since 1.9 69 * @since 1.9
70 */ 70 */
71EAPI int elm_tooltip_move_freeze_get(const Evas_Object *obj); 71EAPI int elm_object_tooltip_move_freeze_get(const Evas_Object *obj);
72 72
73/** 73/**
74 * @def elm_object_tooltip_orient_set 74 * @def elm_object_tooltip_orient_set
diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c
index cdc7c989e..4ea4a4863 100644
--- a/src/lib/els_tooltip.c
+++ b/src/lib/els_tooltip.c
@@ -728,7 +728,7 @@ _elm_tooltip_data_clean(Elm_Tooltip *tt)
728} 728}
729 729
730EAPI void 730EAPI void
731elm_tooltip_move_freeze_push(Evas_Object *obj) 731elm_object_tooltip_move_freeze_push(Evas_Object *obj)
732{ 732{
733 ELM_TOOLTIP_GET_OR_RETURN(tt, obj); 733 ELM_TOOLTIP_GET_OR_RETURN(tt, obj);
734 734
@@ -736,7 +736,7 @@ elm_tooltip_move_freeze_push(Evas_Object *obj)
736} 736}
737 737
738EAPI void 738EAPI void
739elm_tooltip_move_freeze_pop(Evas_Object *obj) 739elm_object_tooltip_move_freeze_pop(Evas_Object *obj)
740{ 740{
741 ELM_TOOLTIP_GET_OR_RETURN(tt, obj); 741 ELM_TOOLTIP_GET_OR_RETURN(tt, obj);
742 742
@@ -745,7 +745,7 @@ elm_tooltip_move_freeze_pop(Evas_Object *obj)
745} 745}
746 746
747EAPI int 747EAPI int
748elm_tooltip_move_freeze_get(const Evas_Object *obj) 748elm_object_tooltip_move_freeze_get(const Evas_Object *obj)
749{ 749{
750 ELM_TOOLTIP_GET_OR_RETURN(tt, obj, 0); 750 ELM_TOOLTIP_GET_OR_RETURN(tt, obj, 0);
751 751