use correct functions here
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 20 Oct 2011 21:15:06 +0000 (21:15 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 20 Oct 2011 21:15:06 +0000 (21:15 +0000)
SVN revision: 64205

src/lib/elm_toggle.c

index 560e69f..15f5613 100644 (file)
@@ -15,13 +15,13 @@ elm_toggle_add(Evas_Object *parent)
 EAPI void
 elm_toggle_label_set(Evas_Object *obj, const char *label)
 {
-   elm_check_label_set(obj, label);
+   elm_object_text_set(obj, label);
 }
 
 EAPI const char *
 elm_toggle_label_get(const Evas_Object *obj)
 {
-   return elm_check_label_get(obj);
+   return elm_object_text_get(obj);
 }
 
 EAPI void
@@ -51,7 +51,7 @@ elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *
 EAPI void
 elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel)
 {
-   elm_check_states_labels_set(obj, onlabel, offlabel);
+   elm_check_states_labels_get(obj, onlabel, offlabel);
 }
 
 EAPI void