Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/xrender_x11
Modified Files:
evas_engine_font.c evas_engine_gradient.c evas_engine_image.c
Log Message:
Clean warnings.
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/xrender_x11/evas_engine_font.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_engine_font.c 6 Oct 2005 10:18:06 -0000 1.2
+++ evas_engine_font.c 26 Oct 2005 20:32:27 -0000 1.3
@@ -12,7 +12,6 @@
XR_Font_Surface *fs;
DATA8 *data;
int w, h, j;
- DATA8 *ndata;
XRenderPictureAttributes att;
Ximage_Image *xim;
Evas_Hash *pool;
@@ -30,7 +29,7 @@
fs = fg->ext_dat;
if ((fs->xinf->disp == xinf->disp) && (fs->xinf->root == xinf->root))
return fs;
- snprintf(buf, sizeof(buf), "@%p@/@%x@", fs->xinf->disp, fs->xinf->root);
+ snprintf(buf, sizeof(buf), "@%p@/@%lx@", fs->xinf->disp,
fs->xinf->root);
pool = evas_hash_find(_xr_fg_pool, buf);
if (pool)
{
@@ -49,7 +48,7 @@
fs->w = w;
fs->h = h;
- snprintf(buf, sizeof(buf), "@%p@/@%x@", fs->xinf->disp, fs->xinf->root);
+ snprintf(buf, sizeof(buf), "@%p@/@%lx@", fs->xinf->disp, fs->xinf->root);
pool = evas_hash_find(_xr_fg_pool, buf);
snprintf(buf2, sizeof(buf2), "%p", fg);
pool = evas_hash_add(pool, buf2, fs);
@@ -129,11 +128,11 @@
{
Evas_Hash *pool;
XR_Font_Surface *fs;
- char buf[256], buf2[256];
+ char buf[256];
fs = fdata;
pool = data;
- snprintf(buf, sizeof(buf), "@%p@/@%x@", fs->xinf->disp, fs->xinf->root);
+ snprintf(buf, sizeof(buf), "@%p@/@%lx@", fs->xinf->disp, fs->xinf->root);
pool = evas_hash_del(pool, buf, fs);
hash = evas_hash_modify(hash, key, pool);
return 1;
@@ -156,7 +155,6 @@
XR_Font_Surface *fs;
Xrender_Surface *target_surface;
XRectangle rect;
- XRenderPictureAttributes att;
int r, g, b, a;
fs = fg->ext_dat;
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/xrender_x11/evas_engine_gradient.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_engine_gradient.c 3 Oct 2005 13:14:07 -0000 1.2
+++ evas_engine_gradient.c 26 Oct 2005 20:32:27 -0000 1.3
@@ -53,13 +53,7 @@
void
_xre_gradient_draw(Xrender_Surface *rs, RGBA_Draw_Context *dc, XR_Gradient
*gr, int x, int y, int w, int h, double angle)
{
- XTransform xf;
- XRectangle rect;
- XRenderPictureAttributes att;
- Picture mask;
- int r, g, b, a, op;
RGBA_Image *im;
- double a2;
if ((w <= 0) || (h <= 0)) return;
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/xrender_x11/evas_engine_image.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_engine_image.c 9 Oct 2005 02:06:52 -0000 1.7
+++ evas_engine_image.c 26 Oct 2005 20:32:27 -0000 1.8
@@ -74,9 +74,9 @@
if (!file) return NULL;
if (key)
- snprintf(buf, sizeof(buf), "/@[EMAIL PROTECTED]@/%s//://%s", xinf->disp,
xinf->root, file, key);
+ snprintf(buf, sizeof(buf), "/@[EMAIL PROTECTED]@/%s//://%s", xinf->disp,
xinf->root, file, key);
else
- snprintf(buf, sizeof(buf), "/@[EMAIL PROTECTED]@/%s", xinf->disp,
xinf->root, file);
+ snprintf(buf, sizeof(buf), "/@[EMAIL PROTECTED]@/%s", xinf->disp,
xinf->root, file);
im = __xre_image_find(buf);
if (im)
{
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs