glview: Mark draw_request as eo-only
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 16 Aug 2016 08:06:19 +0000 (17:06 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 16 Aug 2016 08:06:48 +0000 (17:06 +0900)
This is a rename of changed_set, not a new function.

@fix

src/lib/elementary/elm_glview.c
src/lib/elementary/elm_glview.eo

index 84b3f88..4bed446 100644 (file)
@@ -79,7 +79,7 @@ _glview_update_surface(Evas_Object *obj)
    sd->config->options_bits = opt;
    evas_gl_native_surface_get(sd->evasgl, sd->surface, &ns);
    evas_object_image_native_surface_set(wd->resize_obj, &ns);
-   elm_glview_draw_request(obj);
+   elm_obj_glview_draw_request(obj);
 
    // fake a resize event so that clients can reconfigure their viewport
    sd->resized = EINA_TRUE;
@@ -474,7 +474,7 @@ _elm_glview_resize_policy_set(Eo *obj, Elm_Glview_Data *sd, Elm_GLView_Resize_Po
       case ELM_GLVIEW_RESIZE_POLICY_SCALE:
         sd->scale_policy = policy;
         _glview_update_surface(obj);
-        elm_glview_draw_request(obj);
+        elm_obj_glview_draw_request(obj);
         return EINA_TRUE;
 
       default:
@@ -513,7 +513,7 @@ _elm_glview_efl_gfx_view_view_size_set(Eo *obj, Elm_Glview_Data *sd, int w, int
    sd->h = h;
 
    _glview_update_surface(obj);
-   elm_glview_draw_request(obj);
+   elm_obj_glview_draw_request(obj);
 }
 
 EOLIAN static void
@@ -562,7 +562,7 @@ elm_glview_changed_set(Evas_Object *obj)
 {
    ELM_GLVIEW_CHECK(obj);
 
-   elm_glview_draw_request(obj);
+   elm_obj_glview_draw_request(obj);
 }
 
 EAPI void
index 77d2f23..54d8143 100644 (file)
@@ -182,6 +182,7 @@ class Elm.Glview (Elm.Widget, Efl.Gfx.View)
 
            @since 1.18
          ]]
+         legacy: null;
       }
    }
    implements {