From: Daniel Juyung Seo Date: Sat, 3 Mar 2012 06:12:09 +0000 (+0000) Subject: elm conform: Reviewed conformant. X-Git-Tag: v1.0.0~712 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=857d6bd1df13e612d48efae419454a68bd5c2989;p=platform%2Fupstream%2Felementary.git elm conform: Reviewed conformant. Signed-off-by: Daniel Juyung Seo SVN revision: 68643 --- diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index ffdad9c..9da5102 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -187,7 +187,7 @@ EAPI extern Elm_Version *elm_version; #include // XXX: comments in elm_cnp.h #include // OK #include -#include +#include // XXX: comments in elm_conform.h #include // XXX: comments in elm_cursor.h. review was not finished. #include // OK #include diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c index 802dbc6..97cfb38 100644 --- a/src/lib/elm_conform.c +++ b/src/lib/elm_conform.c @@ -605,6 +605,7 @@ elm_conformant_add(Evas_Object *parent) elm_widget_resize_object_set(obj, wd->base); _swallow_conformant_parts(obj); + #ifdef HAVE_ELEMENTARY_X Evas_Object *top = elm_widget_top_get(obj); Ecore_X_Window xwin = elm_win_xwindow_get(top); @@ -616,8 +617,8 @@ elm_conformant_add(Evas_Object *parent) wd->vkb_state = ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF; } // FIXME: get kbd region prop - #endif + evas_object_event_callback_add(obj, EVAS_CALLBACK_RESIZE, _conformant_move_resize_event_cb, obj); evas_object_event_callback_add(obj, EVAS_CALLBACK_MOVE, @@ -630,19 +631,19 @@ elm_conformant_add(Evas_Object *parent) return obj; } -EAPI void +EINA_DEPRECATED EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) { _content_set_hook(obj, NULL, content); } -EAPI Evas_Object * +EINA_DEPRECATED EAPI Evas_Object * elm_conformant_content_get(const Evas_Object *obj) { return _content_get_hook(obj, NULL); } -EAPI Evas_Object * +EINA_DEPRECATED EAPI Evas_Object * elm_conformant_content_unset(Evas_Object *obj) { return _content_unset_hook(obj, NULL); diff --git a/src/lib/elm_conform.h b/src/lib/elm_conform.h index 992c59c..2be6cff 100644 --- a/src/lib/elm_conform.h +++ b/src/lib/elm_conform.h @@ -52,6 +52,7 @@ EAPI Evas_Object *elm_conformant_add(Evas_Object *parent); * * @ingroup Conformant */ +// XXX: why is this API needed? use elm_object_content_get() instead?? EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj); /**