Enlightenment CVS committal
Author : nash
Project : e17
Module : libs/emotion
Dir : e17/libs/emotion/src/lib
Modified Files:
emotion_smart.c
Log Message:
Fix two bugs:
- Get pixels from the image object not the smart object
- Fix typo in if statement
===================================================================
RCS file: /cvs/e/e17/libs/emotion/src/lib/emotion_smart.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- emotion_smart.c 5 Oct 2007 05:12:38 -0000 1.31
+++ emotion_smart.c 25 Oct 2007 04:52:39 -0000 1.32
@@ -1060,7 +1060,7 @@
}
else if (format == EMOTION_FORMAT_BGRA)
{
- if (sd->module->bgra_data_get(sd->video, &bgra_data));
+ if (sd->module->bgra_data_get(sd->video, &bgra_data))
{
evas_object_image_data_set(obj, bgra_data);
// printf("pix get set 0 (3)\n");
@@ -1163,7 +1163,7 @@
sd->ratio = 1.0;
sd->spu.button = -1;
evas_object_image_alpha_set(sd->obj, 0);
- pixel = evas_object_image_data_get(obj, 1);
+ pixel = evas_object_image_data_get(sd->obj, 1);
if (pixel)
{
*pixel = 0xff000000;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs