discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e60c78635a60319e8e62cd23da55ed9112da1a63

commit e60c78635a60319e8e62cd23da55ed9112da1a63
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Feb 14 21:14:52 2018 -0500

    elm_map: region_bring_in -> map_region_bring_in
---
 src/lib/elementary/elm_map.c  | 2 +-
 src/lib/elementary/elm_map.eo | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/lib/elementary/elm_map.c b/src/lib/elementary/elm_map.c
index c7ec2dac3f..e0ae1b889c 100644
--- a/src/lib/elementary/elm_map.c
+++ b/src/lib/elementary/elm_map.c
@@ -4381,7 +4381,7 @@ _elm_map_zoom_min_get(Eo *obj EINA_UNUSED, Elm_Map_Data 
*sd)
 }
 
 EOLIAN static void
-_elm_map_region_bring_in(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, double lon, 
double lat)
+_elm_map_map_region_bring_in(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, double 
lon, double lat)
 {
    sd->calc_job.bring_in = EINA_TRUE;
    sd->calc_job.lon = lon;
diff --git a/src/lib/elementary/elm_map.eo b/src/lib/elementary/elm_map.eo
index f3ae671305..4f494f562d 100644
--- a/src/lib/elementary/elm_map.eo
+++ b/src/lib/elementary/elm_map.eo
@@ -142,7 +142,7 @@ class Elm.Map (Efl.Ui.Widget, Elm.Interface_Scrollable,
             [[Get the current geographic coordinates of the map.
 
               This gets the current center coordinates of the map object.
-              It can be set by @.region_bring_in and @.region_show.
+              It can be set by @.map_region_bring_in and @.region_show.
             ]]
          }
          values {
@@ -363,7 +363,7 @@ class Elm.Map (Efl.Ui.Widget, Elm.Interface_Scrollable,
            containing the given $lat and $lon, that will be moved to the
            center of the map.
 
-           See @.region_bring_in for a function to move with animation.
+           See @.map_region_bring_in for a function to move with animation.
          ]]
          params {
             @in lon: double; [[Longitude to center at.]]
@@ -406,7 +406,7 @@ class Elm.Map (Efl.Ui.Widget, Elm.Interface_Scrollable,
             @in data: void_ptr @optional; [[The user callback data.]]
          }
       }
-      region_bring_in {
+      map_region_bring_in {
          [[Animatedly bring in given coordinates to the center of the map.
 
            This causes map to jump to the given $lat and $lon coordinates
@@ -416,6 +416,7 @@ class Elm.Map (Efl.Ui.Widget, Elm.Interface_Scrollable,
 
            See @.region_show for a function to avoid animation.
          ]]
+         legacy: elm_map_region_bring_in;
          params {
             @in lon: double; [[Longitude to center at.]]
             @in lat: double; [[Latitude to center at.]]
@@ -429,7 +430,7 @@ class Elm.Map (Efl.Ui.Widget, Elm.Interface_Scrollable,
            to the given $lat and $lon coordinates and show it (by scrolling)
            in the center of the viewport concurrently.
 
-           See also @.region_bring_in.
+           See also @.map_region_bring_in.
 
            @since 1.11
          ]]

-- 


Reply via email to