From: Sung-jae Park Date: Sat, 19 May 2012 16:49:06 +0000 (+0900) Subject: Update the ABI for resizing buffer. X-Git-Tag: submit/tizen_mobile/20150511.123737~1^2~3^2~3^2~3^2~115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce44c0dc9abbd992964f71ac925bc89a47bc09c5;p=apps%2Fnative%2Fwidget%2Fwidget-edje.git Update the ABI for resizing buffer. Change-Id: I708f46370963acbbdb889bb30fcb21dda5a944c0 --- diff --git a/debian/changelog b/debian/changelog index 68f86fa..236d523 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livebox-edje (0.1.2) unstable; urgency=low + + * Git: 165.213.180.234:/slp/pkgs/l/livebox-edje + * Tag: livebox-edje_0.1.2 + + -- Sung-jae Park Sun, 20 May 2012 01:48:48 +0900 + livebox-edje (0.1.1) unstable; urgency=low * Git: 165.213.180.234:/slp/pkgs/l/livebox-edje diff --git a/include/script_port.h b/include/script_port.h index 13f2893..48b5204 100644 --- a/include/script_port.h +++ b/include/script_port.h @@ -17,10 +17,10 @@ extern int script_update_drag(void *h, Evas *e, const char *id, const char *part extern int script_update_size(void *handle, Evas *e, const char *id, int w, int h); extern int script_update_category(void *h, Evas *e, const char *id, const char *category); -extern void *script_create(const char *file, const char *group, int w, int h); +extern void *script_create(const char *file, const char *group); extern int script_destroy(void *handle); -extern int script_load(void *handle, Evas *e); +extern int script_load(void *handle, Evas *e, int w, int h); extern int script_unload(void *handle, Evas *e); extern int script_init(void); diff --git a/packaging/livebox-edje.spec b/packaging/livebox-edje.spec index 023aea8..3a05e33 100644 --- a/packaging/livebox-edje.spec +++ b/packaging/livebox-edje.spec @@ -1,6 +1,6 @@ Name: livebox-edje Summary: EDJE Script loader for the data provider master -Version: 0.1.1 +Version: 0.1.2 Release: 1 Group: main/app License: Samsung Proprietary License diff --git a/src/script_port.c b/src/script_port.c index 435ed6e..9f281bb 100644 --- a/src/script_port.c +++ b/src/script_port.c @@ -234,7 +234,7 @@ int script_update_category(void *h, Evas *e, const char *id, const char *categor return 0; } -void *script_create(const char *file, const char *group, int w, int h) +void *script_create(const char *file, const char *group) { struct info *handle; @@ -259,8 +259,6 @@ void *script_create(const char *file, const char *group, int w, int h) return NULL; } - handle->w = w; - handle->h = h; return handle; } @@ -315,7 +313,7 @@ static void script_signal_cb(void *data, Evas_Object *obj, const char *emission, script_signal_emit(handle->e, source, emission, sx, sy, ex, ey); } -int script_load(void *_handle, Evas *e) +int script_load(void *_handle, Evas *e, int w, int h) { struct info *handle; Evas_Object *edje; @@ -340,6 +338,8 @@ int script_load(void *_handle, Evas *e) } handle->e = e; + handle->w = w; + handle->h = h; edje_object_signal_callback_add(edje, "*", "*", script_signal_cb, handle); evas_object_event_callback_add(edje, EVAS_CALLBACK_DEL, edje_del_cb, handle);