felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=4e369975a1d5449305cc354949a2e32a4f783f95

commit 4e369975a1d5449305cc354949a2e32a4f783f95
Author: Larry <larry....@gmail.com>
Date:   Fri Feb 12 20:35:00 2016 -0200

    elm_layout: moved Elm_Layout_Part_Alias_Description to elm_layout.eo
---
 src/lib/elm_image.eo        |  2 +-
 src/lib/elm_layout.eo       | 17 +++++++++++++++++
 src/lib/elm_widget_layout.h | 23 -----------------------
 3 files changed, 18 insertions(+), 24 deletions(-)

diff --git a/src/lib/elm_image.eo b/src/lib/elm_image.eo
index dada8c5..b458872 100644
--- a/src/lib/elm_image.eo
+++ b/src/lib/elm_image.eo
@@ -21,7 +21,7 @@ enum Elm.Image_Orient
    flip_transverse =  Evas.Image_Orient.flip_transverse
 }
 
-struct Elm.Image.Progress
+struct Elm.Image_Progress
 {
    [[
      Structure associated with smart callback 'download,progress'.
diff --git a/src/lib/elm_layout.eo b/src/lib/elm_layout.eo
index 11b7cef..50f4e88 100644
--- a/src/lib/elm_layout.eo
+++ b/src/lib/elm_layout.eo
@@ -1,3 +1,20 @@
+struct Elm.Layout_Part_Alias_Description
+{
+   [[
+     Elementary Layout-based widgets may declare part proxies, i.e., aliases
+     for real theme part names to expose to the API calls:
+     - elm_layout_text_set()
+     - elm_layout_text_get()
+     - elm_layout_content_set()
+     - elm_layout_content_get()
+     - elm_layout_content_unset()
+     and their equivalents. This list must be set on the "_smart_set_user()" 
function of inheriting widgets,
+     so that part aliasing is handled automatically for them.
+   ]]
+   alias: const(char)*; [[Alternate name for a given (real) part. Calls 
receiving this string as a part name will be translated to the string at 
Elm.Layout_Part_Proxies_Description::real_part]]
+   real_part: const(char)*; [[Target part name for the alias set on 
Elm.Layout_Part_Proxies_Description::real_part. An example of usage would be 
"default" on that field, with "elm.content.swallow" on this one]]
+}
+
 class Elm.Layout (Elm.Container, Efl.File)
 {
    eo_prefix: elm_obj_layout;
diff --git a/src/lib/elm_widget_layout.h b/src/lib/elm_widget_layout.h
index a8c5e17..ded10f3 100644
--- a/src/lib/elm_widget_layout.h
+++ b/src/lib/elm_widget_layout.h
@@ -45,29 +45,6 @@
  */
 
 /**
- * @struct _Elm_Layout_Part_Alias_Description
- *
- * Elementary Layout-based widgets may declare part proxies, i.e., aliases
- * for real theme part names to expose to the API calls:
- * - elm_layout_text_set()
- * - elm_layout_text_get()
- * - elm_layout_content_set()
- * - elm_layout_content_get()
- * - elm_layout_content_unset()
- * and their equivalents. This list must be set on the
- * @c "_smart_set_user()" function of inheriting widgets, so that part
- * aliasing is handled automatically for them.
- *
- * @ingroup Widget
- */
-struct _Elm_Layout_Part_Alias_Description
-{
-   const char *alias; /**< Alternate name for a given (real) part. Calls 
receiving this string as a part name will be translated to the string at 
_Elm_Layout_Part_Proxies_Description::real_part */
-
-   const char *real_part; /**< Target part name for the alias set on @ref 
_Elm_Layout_Part_Proxies_Description::real_part. An example of usage would be 
@c "default" on that field, with @c "elm.content.swallow" on this one */
-};
-
-/**
  * Base widget smart data extended with layout instance data.
  */
 typedef struct _Elm_Layout_Smart_Data

-- 


Reply via email to