Eolian: fix elm_widget.eo
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Tue, 29 Apr 2014 05:45:10 +0000 (08:45 +0300)
committerDaniel Zaoui <daniel.zaoui@samsung.com>
Tue, 29 Apr 2014 05:45:51 +0000 (08:45 +0300)
part_text has to be an extra property, not a method.

src/lib/elm_widget.eo

index 1656af2..8eb1d44 100644 (file)
@@ -421,6 +421,20 @@ abstract Elm_Widget (Evas_Smart, Elm_Interface_Atspi_Widget)
             Evas_Object *parent;
          }
       }
+      part_text {
+         set {
+            /*@ No description supplied by the EAPI. */
+         }
+         get {
+            /*@ No description supplied by the EAPI. */
+         }
+         keys {
+            const char *part;
+         }
+         values {
+            const char *label;
+         }
+      }
    }
    methods {
       newest_focus_order_get {
@@ -729,21 +743,6 @@ abstract Elm_Widget (Evas_Smart, Elm_Interface_Atspi_Widget)
          /*@ No description supplied by the EAPI. */
          legacy null;
       }
-      part_text_set {
-         /*@ No description supplied by the EAPI. */
-         params {
-            @in const char *part;
-            @in const char *label;
-         }
-      }
-      part_text_get {
-         /*@ No description supplied by the EAPI. */
-         const;
-         return const char *;
-         params {
-            @in const char *part;
-         }
-      }
       theme_apply {
          /*@ 'Virtual' function on the widget being re-themed. */
          return Eina_Bool;