elm_object_text_part_set -> elm_object_part_text_set
authorMike McCormack <mj.mccormack@samsung.com>
Mon, 21 Nov 2011 08:29:06 +0000 (17:29 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Mon, 21 Nov 2011 08:56:31 +0000 (17:56 +0900)
src/lib/Elementary.h.in

index ab910c4..c76b934 100644 (file)
@@ -19797,8 +19797,8 @@ extern "C" {
 
         obj = elm_check_add(parent);
         elm_object_style_set(obj, "toggle");
-        elm_object_text_part_set(obj, "on", "ON");
-        elm_object_text_part_set(obj, "off", "OFF");
+        elm_object_part_text_set(obj, "on", "ON");
+        elm_object_part_text_set(obj, "off", "OFF");
         return obj;
      }
 
@@ -19829,14 +19829,14 @@ extern "C" {
 
    EINA_DEPRECATED EAPI extern inline void elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1)
      {
-        elm_object_text_part_set(obj, "on", onlabel);
-        elm_object_text_part_set(obj, "off", offlabel);
+        elm_object_part_text_set(obj, "on", onlabel);
+        elm_object_part_text_set(obj, "off", offlabel);
      }
 
    EINA_DEPRECATED EAPI extern inline void elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1)
      {
-        if (onlabel) *onlabel = elm_object_text_part_get(obj, "on");
-        if (offlabel) *offlabel = elm_object_text_part_get(obj, "off");
+        if (onlabel) *onlabel = elm_object_part_text_get(obj, "on");
+        if (offlabel) *offlabel = elm_object_part_text_get(obj, "off");
      }
 
    EINA_DEPRECATED EAPI extern inline void elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1)