widget: Remove drag_child_locked APIs (EO)

These are just internal helper functions for the scrollable mixin. I
don't think they need to appear in the external API.

Ref T5363
This commit is contained in:
Jean-Philippe Andre 2017-08-29 16:46:12 +09:00
parent 00862c3c9c
commit ac215dba0f
2 changed files with 8 additions and 16 deletions

View File

@ -4005,15 +4005,19 @@ _elm_widget_drag_lock_y_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
return sd->drag_y_locked;
}
EOLIAN static int
_elm_widget_drag_child_locked_x_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
EAPI int
elm_widget_drag_child_locked_x_get(const Eo *obj)
{
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
if (!sd) return EINA_FALSE;
return sd->child_drag_x_locked;
}
EOLIAN static int
_elm_widget_drag_child_locked_y_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd)
EAPI int
elm_widget_drag_child_locked_y_get(const Eo *obj)
{
Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
if (!sd) return EINA_FALSE;
return sd->child_drag_y_locked;
}

View File

@ -290,18 +290,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
lock: bool; [[$true if the Y axis is locked, $false otherwise]]
}
}
@property drag_child_locked_x {
[[Drag child locked X axis]]
get {
return: int; [[FIXME]]
}
}
@property drag_child_locked_y {
[[Drag child locked Y axis property]]
get {
return: int; [[FIXME]]
}
}
/* Translation & Text API. */
translate @protected {