widget: Remove hover_object from EO
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 23 Aug 2017 08:54:49 +0000 (17:54 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 23 Aug 2017 11:53:20 +0000 (20:53 +0900)
Internal

Ref T5363

src/lib/elementary/elm_widget.c
src/lib/elementary/elm_widget.eo

index 19744a8..f4c7688 100644 (file)
@@ -1654,9 +1654,12 @@ _elm_widget_resize_object_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eo *sobj)
  * exchanging a hover object, of cleaning the old hover "target"
  * before
  */
-EOLIAN static void
-_elm_widget_hover_object_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, Evas_Object *sobj)
+EAPI void
+elm_widget_hover_object_set(Eo *obj, Evas_Object *sobj)
 {
+   Elm_Widget_Smart_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
+   if (!sd) return;
+
    if (sd->hover_obj)
      {
         _callbacks_del(sd->hover_obj, obj);
index 55a885e..79ca3e9 100644 (file)
@@ -326,14 +326,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
             wstyle: string; [[Widget style]]
          }
       }
-      @property hover_object {
-        [[Hover object property]]
-         set {
-         }
-         values {
-            sobj: Efl.Canvas.Object @nullable; [[Hover sub object]]
-         }
-      }
       /* this is a part api */
       @property domain_part_text_translatable {
         [[Translate domain text part property]]