Update scale handling code
authorSung-jae Park <nicesj.park@samsung.com>
Sat, 23 Feb 2013 07:57:50 +0000 (07:57 +0000)
committerSung-jae Park <nicesj.park@samsung.com>
Sat, 23 Feb 2013 07:57:50 +0000 (07:57 +0000)
Change-Id: Iedff283fffb07cd8d5a4877542550a7d1aecab49

packaging/liblivebox-edje.spec
src/script_port.c

index 9fe7faa..0780fd6 100644 (file)
@@ -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
index 0afb6b3..66ad91c 100644 (file)
@@ -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);