From 66c537cf04263f33f48e33034acd3f1dc0f500c1 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Sat, 23 Feb 2013 07:57:50 +0000 Subject: [PATCH] Update scale handling code Change-Id: Iedff283fffb07cd8d5a4877542550a7d1aecab49 --- packaging/liblivebox-edje.spec | 2 +- src/script_port.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/packaging/liblivebox-edje.spec b/packaging/liblivebox-edje.spec index 9fe7faa..0780fd6 100644 --- a/packaging/liblivebox-edje.spec +++ b/packaging/liblivebox-edje.spec @@ -1,6 +1,6 @@ Name: liblivebox-edje Summary: EDJE Script loader for the data provider master -Version: 0.2.8 +Version: 0.2.9 Release: 1 Group: framework/livebox License: Flora License diff --git a/src/script_port.c b/src/script_port.c index 0afb6b3..66ad91c 100644 --- a/src/script_port.c +++ b/src/script_port.c @@ -528,11 +528,6 @@ PUBLIC int script_update_image(void *_h, Evas *e, const char *id, const char *pa } DbgPrint("Size: %dx%d\n", w, h); - evas_object_data_set(img, "part_w", (void *)part_w); - evas_object_data_set(img, "part_h", (void *)part_h); - evas_object_data_set(img, "w", (void *)w); - evas_object_data_set(img, "h", (void *)h); - evas_object_image_load_size_set(img, w, h); evas_object_image_load_region_set(img, (w - part_w) / 2, (h - part_h) / 2, part_w, part_h); evas_object_image_fill_set(img, 0, 0, part_w, part_h); -- 2.7.4